在线检测未来函数

通达信盈利跑道主图指标公式

来源:Internet,编辑:股旁网,2024-06-11

{指标介绍:绿色线段为“跑道”,当股价站上绿色线段,此时就是我们关注时机。}

VAR1:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
VAR2:=REF(VAR1,1);
VAR3:=REF(VAR1,2);
VAR4:=REF(VAR1,3);
VAR5:=REF(VAR1,4);
VAR6:=REF(VAR1,5);
VAR7:=3*80-(POW(2/3,1)*VAR2+POW(2/3,2)*VAR3+POW(2/3,3)*VAR4+POW(2/3,4)*VAR5+3*POW(2/3,5)*VAR6);
VAR8:=SMA((VAR7*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
VAR9:=3*SMA(SMA(VAR1,3,1),3,1)-(POW(2/3,1)*VAR2+POW(2/3,2)*VAR3+POW(2/3,3)*VAR4+POW(2/3,4)*VAR5+3*POW(2/3,5)*VAR6);
VAR10:=3*SMA(VAR1,3,1)-(POW(2/3,1)*VAR2+POW(2/3,2)*VAR3+POW(2/3,3)*VAR4+POW(2/3,4)*VAR5+3*POW(2/3,5)*VAR6);
VAR18:=SMA((VAR10*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
VAR19:=SMA((VAR9*(HHV(H,9)-LLV(L,9))/100)+LLV(L,9),3,1);
DRAWTEXT_FIX(ISLASTBAR,0.1058,0,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.1258,0,0,HYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.1858,0,0,GNBLOCK),COLORYELLOW;
市值:(CAPITAL/100*C)/10000,NODRAW,COLORYELLOW;
MA5:MA(C,5);
MA10:MA(C,10);
MA20:MA(C,20);
MA30:MA(C,30);
跑道:HHV(MA((HIGH),6),10),LINETHICK2,COLORGREEN;
DRAWTEXT(crOSS((MA(CLOSE,5)),(MA(C,10))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,13))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,18))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,20))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,25))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,30))),(MA(CLOSE,5)),'★');
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,13))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,18))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,20))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,25))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,30))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,25))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,30))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
S:DRAWTEXT(VAR18>=VAR8 AND VAR18>=VAR19,VAR19,'◆'),COLORWHITE;

通达信盈利跑道主图指标公式

相关文章