通達信小牛尋底指標公式原始碼

指标公式分享發表於2024-03-10
{ 通達信小牛尋底指標公式原始碼 }

VAR1:=((C-MA(C,6))/(MA(C,6)))*(100);
VAR2:=((C-MA(C,12))/(MA(C,12)))*(100);
VAR3:=((C-MA(C,24))/(MA(C,24)))*(100);
VAR4:=(VAR1+(2)*(VAR2)+(3)*(VAR3))/6;
VAR5:=MA(VAR4,3);
XG:EVERY(VAR5<=(-10),7) AND DYNAINFO(4)>0 AND C>1*REF(C,1),COLORRED,NODRAW;
DRAWTEXT(XG,99,' '),COLORRED;
DRAWTEXT(XG,92,'★'),COLORRED;
STICKLINE(VAR5<=(-8),15,5,2,0),COLORFF0000;
STICKLINE(VAR5<=(-8),25,15,2,0),COLORFFFFFF;
STICKLINE(VAR5<=(-10),15,0,2,0),COLOR00CCFF;
STICKLINE(VAR5<=(-8),50,25,3.5,0),COLOR9933FF;
STICKLINE(VAR5<=(-10),20,10,2,0),COLORFF3399;
STICKLINE(VAR5<=(-10),60,20,2,0),COLOR008000;
STICKLINE(VAR5<=(-10),80,60,2,0),COLOR0000FF;
20,POINTDOT,COLORF00FF0;
50,POINTDOT,COLORGREEN;
80,POINTDOT,COLORWHITE;

相關文章