当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:压力支撑回马枪(通达信公式 主图 源码 测试图)
软件名称:[B]压力支撑回马枪(通达信公式 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:3.00 KB
官方主页:Home Page
更新时间:2020-02-28 00:47:13
软件简介:
{公式名称: 压力支撑回马枪}
{主图叠加}
X_1:=IF(1,(CLOSE/REF(CLOSE,1)-1)*100>9.5,0);
最后涨停距今数:BARSLAST(X_1),NODRAW,COLOR00CCCC;
X_2:=(REF(CLOSE,BARSLAST(X_1))+REF(OPEN,BARSLAST(X_1)))/2;
STICKLINE(CLOSE,X_2,REF(LOW,BARSLAST(X_1)),4,0),COLOR002828;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(X_1,OPEN,CLOSE,2.6,0),COLOR0000E5;
STICKLINE(X_1,OPEN,CLOSE,2.4,0),COLOR335555;
STICKLINE(X_1,OPEN,CLOSE,1.8,0),COLOR338888;
STICKLINE(X_1,OPEN,CLOSE,1.2,0),COLOR33AAAA;
STICKLINE(X_1,OPEN,CLOSE,0.6,0),COLOR33CCCC;
STICKLINE(X_1,OPEN,CLOSE,0.1,0),COLOR33EEEE;
X_3:=REF(CLOSE,1);
X_4:=IF((X_3-CLOSE)*100/X_3>=10-0.01*100/X_3,1,0);
STICKLINE(X_4,OPEN,CLOSE,2.6,0),COLORE50000;
MA13:MA(CLOSE,13),COLORCYAN;
IF(MA13>REF(MA13,1),MA13,DRAWNULL),COLORRED;
MA21:MA(CLOSE,21),COLOR00CCCC,LINETHICK2;
X_5:=CLOSE>MA21 AND MA13>REF(MA13,1) AND X_4!=1;
X_6:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
X_7:=REF(CLOSE,1);
X_8:=SMA(MAX(CLOSE-X_7,0),2,1)/SMA(ABS(CLOSE-X_7),2,1)*100;
X_9:=SMA(MAX(CLOSE-X_7,0),14,1)/SMA(ABS(CLOSE-X_7),14,1)*100;
X_10:=45;
X_11:=80;
X_12:=20;
X_13:=5;
X_14:=X_8<X_10 AND REF(X_8,1)>X_10;
X_15:=X_8<X_12 AND REF(X_8,1)>X_12;
X_16:=COUNT(X_1,13)>=1;
X_17:=SMA(LOW,4,3);
X_18:=X_14 OR X_15 AND X_16;
X_19:=REF(X_14,1) OR REF(X_15,1) AND LOW<MA(CLOSE,5) AND X_16 AND X_5 AND CLOSE>REF(LOW,BARSLAST(X_1));
STICKLINE(X_18 AND NOT(X_1),OPEN,CLOSE,2.4,0),COLOR550055;
STICKLINE(X_18 AND NOT(X_1),OPEN,CLOSE,1.8,0),COLOR880088;
STICKLINE(X_18 AND NOT(X_1),OPEN,CLOSE,1.2,0),COLORAA00AA;
STICKLINE(X_18 AND NOT(X_1),OPEN,CLOSE,0.6,0),COLORCC00CC;
STICKLINE(X_18,OPEN,CLOSE,0.1,0),COLOREE00EE;
STICKLINE(X_19 AND NOT(X_1),OPEN,CLOSE,1.2,0),COLOR000088;
STICKLINE(X_19 AND NOT(X_1),OPEN,CLOSE,0.6,0),COLOR0000AA;
STICKLINE(X_19 AND NOT(X_1),OPEN,CLOSE,0.3,0),COLOR0000CC;
STICKLINE(X_19,OPEN,CLOSE,0.1,0),COLOR0000EE;
STICKLINE(X_19,X_17*0.995,X_17,5,0),COLORGREEN;
DRAWICON(X_19,LOW*0.98,1);
X_20:=AMOUNT/VOL/100;
X_21:=REF(CLOSE,1);
{WWW.70822.com}
STICKLINE(CURRBARSCOUNT<21 AND X_1=1,X_20,X_20,2.5,0),COLORYELLOW;
STICKLINE(CLOSE,X_2,X_2,2,0),COLORRED;
STICKLINE(CLOSE,REF(LOW,BARSLAST(X_1)),REF(LOW,BARSLAST(X_1)),2,0),COLORCCCC00;
[url=http://www.70822.com/soft/sort013/sort05/down-145196.html]压力支撑回马枪(通达信公式 主图 源码 测试图)[/url]