看图很明白,波段非常清晰
源码
CC:=IF("KDJ.J"<0,10,0);
EE:=CROSS(9.9,CC);
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,5);
VAR3:=HHV(HIGH,5);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
MA1:=MA(VAR4,2);
AA:STICKLINE(VAR4>MA1,VAR4,MA1,6,0),COLORRED;
BBB:STICKLINE(VAR4>MA1 AND REF(VAR4,1)<30,VAR4,MA1,6,0),COLORRED;
STICKLINE(VAR4<=MA1,VAR4,MA1,6,0),COLORFFCC66;
DRAWICON(CROSS(9.9,CC),VAR4-14,5);
STICKLINE(CROSS(9.9,CC),VAR4+5,MA1-4,6,0),COLORYELLOW;
XXX1:STICKLINE(VAR4>MA1 AND REF(VAR4,1)<30,VAR4+5,MA1-4,6,0),COLORYELLOW;