同花顺红绿波段副图指标
源码
Va1:=(2*CLOSE+HIGH+LOW)/4;
Va2:=LLV(LOW,34);
VarB:=HHV(HIGH,34);
VarC:=EMA((Va1-Va2)/(VarB-Va2)*100,13);
VarD:=EMA(0.667*REF(VarC,1)+0.333*VarC,2);
生命:EMA(VarD,5),colorcyan;
VAR1:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR2:=LLV(LOW,34);
VAR3:=HHV(HIGH,34);
b1:=EMA(((VAR1-VAR2)/(VAR3-VAR2))*(100),8);
b2:=EMA(b1,5);
STICKLINE(b1-b2 0,b1,b2,4,0),colorred;
STICKLINE(b1-b2 0,b1,b2,4,0),colorgreen;