优化‘超级主升浪’副图指标,完全公开源码:
K80:=3*(SMA((C-LLV(L,80))/(HHV(H,80)-LLV(L,80))*100,5,1));
D120:=2*(SMA(SMA((C-LLV(L,120))/(HHV(H,120)-LLV(L,120))*100,100,1),25,1));
XX:EMA(K80-D120,5),NODRAW,COLOR0000FF;
ZZ:=IF(XX>=100 AND XX>REF(XX,1),1,0);
STICKLINE(XX>=100,XX,100,1,0),COLORAAAAAA;
STICKLINE(ZZ=1,XX,100,1,0),COLORFF00FF;
DRAWICON(CROSS(XX,100),70,11);