以下是通达信套盘副图指标
通达信套盘副图指标
源码
短套:EMA(100*(1-WINNER(1.1*C)),1),COLORFFDDFF,LINETHICK1;
中套:EMA(100*(1-WINNER(1.2*C)),1),COLORFF00FF ,LINETHICK1;
长套:EMA(100*(1-WINNER(1.5*C)),1),COLOR0000FF,LINETHICK2;
WLT1:=短套>95;
WLT2:=中套>80;
WLT3:=长套>60;
WLT4:=长套>70;
WLT5:=中套>85;
TJ1:=WLT1>REF(WLT1,1) AND WLT2>REF(WLT2,1) AND WLT3>REF(WLT3,1);
STICKLINE(WLT1 AND WLT2 AND WLT3 AND WLT3>REF(WLT3,1) ,0,50,3,0),COLOR000099;
STICKLINE(WLT1 AND WLT2 AND WLT3 AND WLT3>REF(WLT3,1),0,50,2,0),COLOR0000BB;
STICKLINE(WLT1 AND WLT2 AND WLT3 AND WLT3>REF(WLT3,1),0,50,1,0),COLOR0000DD;
STICKLINE(WLT1 AND WLT2 AND WLT3 AND WLT3>REF(WLT3,1),0,50,0.5,0),COLOR0000FF;
STICKLINE(WLT1 AND WLT2>REF(WLT2,1),0,30,3,0),COLORFF00FF;
STICKLINE(WLT1 AND WLT4 AND WLT5 ,0,10,5,0),COLOR00FFFF;
STICKLINE(WLT1 AND WLT4 AND WLT5 ,10,20,3.5,0),COLOR00FFFF;
STICKLINE(WLT1 AND WLT4 AND WLT5 AND TJ1 ,20,30,2,0),COLOR00FFFF;
STICKLINE(WLT1 AND WLT4 AND WLT5 AND TJ1 ,30,40,1,0),COLOR00FFFF;