通达信智策卖顶信号主图指标源码
简单说明:
上升通道买入,下降通道卖出
源码奉上
智策卖顶信号
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=SMA(RSV,6,1);
D:=SMA(K,6,1);
STICKLINE(CLOSE>=OPEN AND CROSS(D,K),CLOSE,OPEN,3,1),COLOR009900;
STICKLINE(CLOSE>=OPEN AND CROSS(D,K),HIGH,CLOSE,0,0),COLOR009900;
STICKLINE(CLOSE>=OPEN AND CROSS(D,K),OPEN,LOW,0,0),COLOR009900;
STICKLINE(CLOSE<OPEN AND CROSS(D,K),CLOSE,OPEN,3,0),COLOR009900;
STICKLINE(CLOSE<OPEN AND CROSS(D,K),HIGH,OPEN,0,0),COLOR009900;
STICKLINE(CLOSE<OPEN AND CROSS(D,K),LOW,CLOSE,0,0),COLOR009900;