通达信实战操盘公式
M:=88;
N1:=6;
VAR0A:=EMA(EMA(EMA(CLOSE,2),2),2);
短线:(MA(VAR0A,13)*0.99),COLORFF9300;
短线副:(MA(VAR0A,13)*0.999),COLORFF9300;
TLAMSENR:=MAX(MAX((HIGH-LOW),ABS((REF(CLOSE,1)-HIGH))),ABS((REF(CLOSE,1)-LOW)));
ATR:=MA(TLAMSENR,13);VAR1A:=(REF(CLOSE,1)-REF(ATR,1));
黄金线:(HHV(VAR1A,12)),LINETHICK2,COLORYELLOW;
VAR1:=EMA(AMOUNT/VOL/100,3);
控盘成本:EMA(VAR1,M),LINETHICK2,COLORRED;
低吸伏击:EMA(VAR1,M)*0.85,COLORCYAN ,LINETHICK2;
走势铁底:低吸伏击*0.87,LINETHICK3,COLORLIMAGENTA;
VAR2:=LOW =走势铁底 AND CLOSE REF(CLOSE,1)*1.02;
获利观望为主:IF(控盘成本 REF(控盘成本,1),控盘成本,DRAWNULL),LINETHICK2,COLORGREEN;
DRAWICON(FILTER(VAR2,N1),L-0.55,1);
C2:=REF(C,1);
涨停:=IF((C-C2)*100/C2 =(10-0.01*100/C2),1,0);
STICKLINE(涨停,OPEN,CLOSE,2,0),COLOR9900CC;
STICKLINE(涨停,H,L,0,0),COLOR9900CC;
跌停:=IF((C2-C)*100/C2 =(10-0.01*100/C2),1,0);
STICKLINE(跌停,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(跌停,H,L,0,1),COLORGREEN;