同花顺波段趋势副图公式
源码
CLOSE10:=(CLOSE+LLV(CLOSE,15));
HIGH10:=(HIGH+LLV(HIGH,15));
LOW10:=(LOW+LLV(LOW,15));
JJ:=(CLOSE10+HIGH10+LOW10)/3;
BB:=(CLOSE10+HIGH10)/2;
TT:=(CLOSE10+LOW10)/2;
SS:=(HIGH10+LOW10)/2;
VAR1:=(JJ+BB)/2;
VAR2:=(TT+SS)/2;
VAR3:=EMA(0.667*REF(VAR2,1)+0.333*VAR1,2);
VAR4:=EMA(0.667*REF(VAR1,1)+0.333*VAR2,2);
STICKLINE(VAR1-VAR2>0,VAR1,VAR2,10.0),colorred;
STICKLINE(VAR2-VAR3<0,VAR2,VAR3,10,0),COLOOFFOF;
STICKLINE(VAR1-VAR4>0,VAR1,VAR4,10,0),colorred;
V1:EMA(SS,1),colorred,Iinethick1;
V2:EMA(VAR2,4),CoIorOOFFFF , Iinethick1;
V3:EMA(VAR3,6),colorwhite, Iinethick1;