VAR6:=(2*C+H+L)/4;
VAR8:=LLV(LOW,30);
VARA:=HHV(HIGH,30);
B:=EMA((VAR6-VAR8)/(VARA-VAR8)*100,8);
B1:=EMA(B,5);
STICKLINE(B>0 AND B-B1>=0,79,80,6,0),COLORRED,LINETHICK1;
STICKLINE(B>0 AND B-B1<0,79,80,6,0),COLOR00FF00,LINETHICK1;
STICKLINE(B>0 AND B-B1>=0,49,50,6,0),COLORRED,LINETHICK1;
STICKLINE(B>0 AND B-B1<0,49,50,6,0),COLOR00FFFF,LINETHICK1;
STICKLINE(B>0 AND B-B1>=0,19,20,6,0),COLORRED,LINETHICK1;
STICKLINE(B>0 AND B-B1<0,19,20,6,0),COLOR00FF00,LINETHICK1;
STICKLINE(B-B1>0,B,B1,10,0),COLOR9F009F;
STICKLINE(B-B1>0,B,B1,8,0),COLORBF00BF;
STICKLINE(B-B1>0,B,B1,6,0),COLORDF00DF;
STICKLINE(B-B1>0,B,B1,5,0),COLORFF00FF;
STICKLINE(B-B1>0,B,B1,4,0),COLORFF20FF;
STICKLINE(B-B1>0,B,B1,3,0),COLORFF40FF;
STICKLINE(B-B1>0,B,B1,2,0),COLORFF60FF;
STICKLINE(B-B1>0,B,B1,1,0),COLORFF80FF;
STICKLINE(B-B1<0,B,B1,10,0),COLOR009F00;
STICKLINE(B-B1<0,B,B1,8,0),COLOR00BF00;
STICKLINE(B-B1<0,B,B1,6,0),COLOR00DF00;
STICKLINE(B-B1<0,B,B1,5,0),COLOR00FF00;
STICKLINE(B-B1<0,B,B1,4,0),COLOR20FF20;
STICKLINE(B-B1<0,B,B1,3,0),COLOR40FF40;
STICKLINE(B-B1<0,B,B1,2,0),COLOR60FF60;
STICKLINE(B-B1<0,B,B1,1,0),COLOR80FF80;
聯(lián)系客服