通达信SAR躺赢副图指标 源码 贴图 BA:=2; CA:=22; DRAWKLINE(HIGH,OPEN,LOW,CLOSE); {涨跌停板} ZTB:=IF(CODELIKE('688') OR (CODELIKE('300') AND DATE>=1200824),(C>=ZTPRICE(REF(CLOSE,1),0.1995) AND C=H) ,(C>=ZTPRICE(REF(CLOSE,1),0.0995) AND C=H)); DTB:=IF(CODELIKE('688') OR (CODELIKE('300') AND DATE>=1200824),(C<=ZTPRICE(REF(CLOSE,1),-0.1995) AND C=L) ,(C<=ZTPRICE(REF(CLOSE,1),-0.0995) AND C=L)); STICKLINE(ZTB=1,O,C,2.5,1)COLORMAGENTA; STICKLINE(DTB=1,O,C,2.5,0)COLOR1D7300; 红灯:IF(CLOSE>=SAR(AA,BA,CA),SAR(AA,BA,CA),DRAWNULL),CIRCLEDOT,COLORFF00FF;
|