通达信无未来指标公式

MAA5:MA(C,5),COLORFF00FF,LINETHICK2;

MAA10:=MA(C,10);

MAA30:MA(C,30),COLORRED;

KS:IF(MAA10>MAA30,MAA10,MAA30),COLORBLUE;

A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;

A4:=SMA(A3,3,1);

A5:=SMA(A4,3,1);

A6:=3*A4-2*A5;

A7:=C-REF(C,1);

A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);

买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));

DRAWTEXT(FILTER(买=1,5),LOW-0.05,'买进'),COLORYELLOW;

STICKLINE(买,OPEN,CLOSE,2,0),COLORYELLOW;

VAR2:=(100-((90*(HHV(HIGH,14)-CLOSE))/(HHV(HIGH,14)-LLV(LOW,14))));

VAR3:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6))),

34));

STICKLINE(VAR2<MA(VAR3,6),LOW,HIGH,0,1),COLORLIBLUE;

STICKLINE(VAR2>MA(VAR3,6),LOW,HIGH,0,1),COLORRED;

STICKLINE(((OPEN>CLOSE)AND(VAR2<MA(VAR3,6))),(CLOSE-0.03),OPEN,2.

5,0),COLORLIBLUE;

STICKLINE(((OPEN<CLOSE)AND(VAR2<MA(VAR3,6))),CLOSE,OPEN,2.5,1),CO

LORLIBLUE;

STICKLINE(((OPEN>CLOSE)AND(VAR2>MA(VAR3,6))),OPEN,(CLOSE-0.03),2.

5,0),COLORRED;

STICKLINE(((OPEN<CLOSE)AND(VAR2>MA(VAR3,6))),OPEN,CLOSE,2.5,1),CO

LORRED;

DRAWICON(CROSS(VAR2,MA(VAR3,6)),(LOW – (LOW*0.02)),7);

DRAWICON(CROSS(MA(VAR3,6),VAR2),(HIGH+(HIGH*0.02)),8);

DA:=(3*CLOSE+OPEN+LOW+HIGH)/6;

DB:(20*DA+19*REF(DA,1)+18*REF(DA,2)+17*REF(DA,3)+16*REF(DA,4)+15

*REF(DA,5)+14*REF(DA,6)

+13*REF(DA,7)+12*REF(DA,8)+11*REF(DA,9)+10*REF(DA,10)+9*REF(DA,1

1)+8*REF(DA,12)

+7*REF(DA,13)+6*REF(DA,14)+5*REF(DA,15)+4*REF(DA,16)+3*REF(DA,17

)+2*REF(DA,18)+

REF(DA,20))/210,COLORYELLOW;

DC:MA(DB,5),COLORRED;

选股指标如下:

VAR2:=(100-((90*(HHV(HIGH,14)-CLOSE))/(HHV(HIGH,14)-LLV(LOW,14))));

VAR3:=(100-MA(((100*(HHV(HIGH,6)-CLOSE))/(HHV(HIGH,6)-LLV(LOW,6))),

34));

B 点买:CROSS(VAR2,MA(VAR3,6)) AND DYNAINFO(17)>0;

image.png

 通达信无未来函数指标

STICKLINE("MACD.MACD">REF("MACD.MACD",1) AND

"MACD.MACD">0,"MACD.MACD",0,0,-1),COLORLIRED;

STICKLINE("MACD.MACD">REF("MACD.MACD",1) AND

"MACD.MACD"<0,"MACD.MACD",0,0,-1),COLORLIGRAY;

STICKLINE("MACD.MACD"<REF("MACD.MACD",1) AND

"MACD.MACD">0,"MACD.MACD",0,0,-1),COLORLICYAN;

STICKLINE("MACD.MACD"<REF("MACD.MACD",1) AND

"MACD.MACD"<0,"MACD.MACD",0,0,-1),COLORLIGREEN;

抄底:ABS((CROSS("MACD.DIF","MACD.DEA") &&

"MACD.DEA"<=-0.07)*"MACD.DIF")*1.28,COLORLIMAGENTA,LINETHICK2,STICK;

QA:"MACD.DIF",COLORWHITE,LINETHICK2;QB:"MACD.DEA",COLORCYAN;上

涨:IF(QA>QB,QA,DRAWNULL),COLORRED,LINETHICK2;

跌:IF(QA<QB,QA,DRAWNULL),COLORLIGREEN,LINETHICK2;NOTEXTWB:IF(QB<QA,QB,

DRAWNULL),COLORMAGENTA,LINETHICK1;

DRAWTEXT(ABS(抄底)>0,抄底*0.97,' 抄底'),COLORYELLOW;DRAWICON(ABS(抄

底)>0,-0.08,11);

DRAWICON(CROSS(QA,QB) AND QA<0.6,QB*0.98,1);DRAWICON(CROSS(QB,QA) AND

QB>0.5,QB*1.02,2);

NOTEXTAAA:0,DOTLINE,COLORGRAY;

KKK:="MACD.MACD">REF("MACD.MACD",1) AND "MACD.MACD"<0 AND

REF("MACD.MACD",1)<REF("MACD.MACD",2);

激进份子

冲:KKK,COLORMAGENTA,NODRAW;STICKLINE(KKK,0,"MACD.MACD",0.2,0),COLORMAGE

NTA;

image.png

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。