N:=21;
JJ:=(H+L+C)/3;
JJJ:=SUM(JJ,5)/5;
VV:=IF(C>JJJ,VOL,0-VOL);
LDJ:=SUM(VV,N);
STICKLINE(LDJ>=0,0,LDJ,8,0),COLOR000011;
STICKLINE(LDJ>=0,0,LDJ,6.5,0),COLOR000033;
STICKLINE(LDJ>=0,0,LDJ,5,0),COLOR000055;
STICKLINE(LDJ>=0,0,LDJ,3.5,0),COLOR000077;
STICKLINE(LDJ>=0,0,LDJ,2,0),COLOR000099;
STICKLINE(LDJ>=0,0,LDJ,0.5,0),COLOR0000BB;
STICKLINE(LDJ<0,0,LDJ,8,0),COLOR222200;
STICKLINE(LDJ<0,0,LDJ,6.5,0),COLOR333300;
STICKLINE(LDJ<0,0,LDJ,5,0),COLOR444400;
STICKLINE(LDJ<0,0,LDJ,3.5,0),COLOR555500;
STICKLINE(LDJ<0,0,LDJ,2,0),COLOR666600;
STICKLINE(LDJ<0,0,LDJ,0.5,0),COLOR777700;
LN1:SMA(LDJ,3,1),COLORWHITE,PRECIS0,LAYER0;
LN2:SMA(LN1,3,1),COLORYELLOW,PRECIS0,LAYER0;
LN3:SMA(LN2,5,1),COLORFF00FF,PRECIS0,LAYER0;
202108211323.png
|