程序化指标公式
问答中心

通达信抄盘线副图指标公式

通达信指标 2019-07-17阅读量:3261

OMA:MA(CLOSE,5),COLORFF2400; IF(OMA>REF(OMA,1),OMA,DRAWNULL),COLORRED; IF(OMA<REF(OMA,1),OMA,DRAWNULL),COLORGREEN; 
STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,0,0),COLORGREEN; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,4,0),COLORGREEN; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.5,0),COLOR009900; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.4,0),COLOR00AA00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.3,0),COLOR00BB00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,3.2,0),COLOR00CC00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2.8,0),COLOR00DD00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,2,0),COLOR00EE00; STICKLINE(OPEN>=CLOSE,CLOSE,OPEN,1,0),COLORGREEN; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0),COLORFFBBFF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,4,0),COLORMAGENTA; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.5,0),COLORFF22FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.4,0),COLORFF44FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.3,0),COLORFF66FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3.2,0),COLORFF88FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2.8,0),COLORFF99FF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0),COLORFFAAFF; STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0),COLORFFBBFF; X_1:=EMA(CLOSE,9)-EMA(CLOSE,56); X_2:=EMA(0.618*REF(X_1,1)+0.382*X_1,3); STICKLINE(X_1>=X_2,HIGH,LOW,0,0),COLOR888888; STICKLINE(X_1>=X_2,OPEN,CLOSE,(-1),0),COLOR999999; STICKLINE(X_1>=X_2,OPEN,CLOSE,2,0),COLORBBBBBB; STICKLINE(X_1>=X_2,OPEN,CLOSE,1.5,0),COLORCCCCCC; STICKLINE(X_1>=X_2,OPEN,CLOSE,1,0),COLORDDDDDD; STICKLINE(X_1>=X_2,OPEN,CLOSE,0.5,0),COLOREEEEEE; STICKLINE(X_1>=X_2,OPEN,CLOSE,0.2,0),COLORFFFFF0; STICKLINE(X_1<X_2,HIGH,LOW,0,0),COLORGREEN; STICKLINE(X_1<X_2,OPEN,CLOSE,(-1),0),COLOR009900; STICKLINE(X_1<X_2,OPEN,CLOSE,2,0),COLOR00AB00; STICKLINE(X_1<X_2,OPEN,CLOSE,1,0),COLOR00DD00; STICKLINE(X_1<X_2,OPEN,CLOSE,0.1,0),COLORGREEN; X_3:=EMA((CLOSE-LLV(LOW,56))/(HHV(HIGH,56)-LLV(LOW,56))*100,5); X_4:=(HHV(HIGH,56)-LLV(LOW,56))/EMA(CLOSE-LLV(LOW,56),5); X_5:=CROSS(X_4,X_3); X_6:=REF(X_4,2)<REF(X_4,1) AND X_4<REF(X_4,1); X_7:=COUNT(X_5,7)>0 AND X_6; X_8:=3*SMA((CLOSE-LLV(LOW,92))/(HHV(HIGH,92)-LLV(LOW,92))*100,5,1)-2*SMA((CLOSE-LLV(LOW,92))/(HHV(HIGH,92)-LLV(LOW,92))*100,5,1); X_9:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; X_10:=EMA(X_8,5); X_11:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100; X_12:=SMA(X_11,3,1); X_13:=SMA(X_12,3,1); X_14:=3*X_12-2*X_13; X_15:=EMA(3*X_12-2*X_13,4); X_16:=SMA(X_15,5,1); X_17:=MA(3*SMA(X_9,6,1)-2*SMA(SMA(X_9,5,1),5,1),2); X_18:=CROSS(X_17,0) AND X_10<56; X_19:=IF(X_7 AND COUNT(X_7,5)=1,1,0); X_20:=X_18 AND X_19 OR (CROSS(IF(X_8<3 AND X_16<5 AND X_17<4,1,0),0.5) AND LLV(LOW,34)/HHV(HIGH,144)<0.78); STICKLINE(X_20,HIGH,LOW,0,0),COLORRED; STICKLINE(X_20,OPEN,CLOSE,(-1),0),COLOR000099; STICKLINE(X_20,OPEN,CLOSE,3,0),COLOR0000AA; STICKLINE(X_20,OPEN,CLOSE,2.5,0),COLOR0000BB; STICKLINE(X_20,OPEN,CLOSE,2,0),COLOR0000CC; STICKLINE(X_20,OPEN,CLOSE,1.5,0),COLOR0000DD; STICKLINE(X_20,OPEN,CLOSE,1,0),COLOR0000EE; STICKLINE(X_20,OPEN,CLOSE,0.2,0),COLORRED; DRAWTEXT(X_20,CLOSE*0.96,113),COLORYELLOW; X_21:=(CLOSE+0.618*REF(CLOSE,1)+0.382*REF(CLOSE,2)+0.236*REF(CLOSE,3)+0.146*REF(CLOSE,4))/2.382; X_22:=HHV(CLOSE,60)-LLV(CLOSE,60); X_23:=SMA(MAX(X_21-REF(X_21,1),0),5,1)/SMA(ABS(X_21-REF(X_21,1)),5,1); 
操盘线:X_21+X_22*(X_23-0.5),COLORMAGENTA; VAR操盘线:操盘线,COLORWHITE,LINETHICK2; SS:IF(VAR操盘线>REF(VAR操盘线,1),VAR操盘线,DRAWNULL),COLOR4D4DFF,LINETHICK2; ZP:IF(VAR操盘线=REF(VAR操盘线,1),VAR操盘线,DRAWNULL),COLORWHITE,LINETHICK2; XJ:IF(VAR操盘线<REF(VAR操盘线,1),VAR操盘线,DRAWNULL),COLORBLUE,LINETHICK2;

版权声明

所有指标均为免费分享。

文章内容来自互联网,本网站无任何收费项目也不推荐股票
广告投放请自行识别风险。

分享:

扫一扫在手机阅读、分享本文

程序化指标公众号

左边广告一

关闭

右边广告二

关闭