通达信见底是底副图公式源码

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,80,'★'),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;

(0)

相关推荐