通达信筹码解套指标副图源码


全套牢1:=COST(0.01);
STICKLINE(全套牢底1,0,38,2,0),COLOR8977FF;
STICKLINE(全套牢买点1,0,50,2,0),COLORRED;
全套牢底2:L<全套牢2 AND RSI1<25,COLOR00FFFF,NODRAW;
全套牢买点2:REF(全套牢底2,1)=1 AND 全套牢底2=0,COLORFF00FF,NODRAW;
全解套2:=COST(0.7);
STICKLINE(全解套顶2,0,38,2,0),COLORFFFFFF;
STICKLINE(全解套点2,0,50,2,0),COLORFFFF00;
全解套1:=COST(0.5);
STICKLINE(全解套顶1,0,20,2,0),COLOR00FF00;
STICKLINE(全解套点1,0,30,2,0),COLORFF0000;
DRAWTEXT(全解套顶2,35,'警觉'),COLOR00FFFF;
DRAWTEXT(全套牢买点2,25,'准备'),COLOR00FFFF;