通达信软件主图精准买卖点,大家可以把指标或思路都加到主图上,让主图显示买卖点
MA10:MA(CLOSE,M10);
MA20:MA(CLOSE,M20);
MA30:MA(CLOSE,M30);
MA60:MA(CLOSE,M60);
X5:=MA5-REF(MA5,1);
X10:=(MA10-REF(MA10,1))*100,NODRAW,COLORWHITE;
X20:=(MA20-REF(MA20,1))*100,NODRAW,COLORWHITE;
X30:=(MA30-REF(MA30,1))*100,NODRAW,COLORWHITE;
X60:=(MA60-REF(MA60,1))*100,NODRAW,COLORWHITE;
MTR:=EMA(EMA(EMA(CLOSE,12),12),9);
DIF:=(MTR-REF(MTR,1))/REF(MTR,1)*20000;
DEA:=MA(DIF,9),COLOR0066FF ;
MACD:=(DIF-DEA)*2,COLORSTICK;
X:=(DIF-DEA)*2,;{www.9m8.cn 九毛八公式指标网}
KM:=IF(DIF-REF(DIF,1) 0,1,0),NODRAW;
JD10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416,NODRAW,COLORWHITE;
JD20:=ATAN((MA20/REF(MA20,1)-1)*100)*180/3.1416,NODRAW,COLORWHITE;
JD30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416,NODRAW,COLORWHITE;
JD60:=ATAN((MA60/REF(MA60,1)-1)*100)*180/3.1416,NODRAW,COLORWHITE;
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=EMA(EMA(EMA(VAR1,4),4),4);
J:=(VAR2-REF(VAR2,1))/REF(VAR2,1)*100, COLORSTICK;
D:=MA(J,3);
K:=MA(J,1);
FD20:=(H-MA20)/MA20,NODRAW;
BPK:=(K 0) MA20 && X10 0 & 0 && JD20 -20 && JD30 -25 && JD60 -25 && JD20 JD30;
SPK:=C MA20;
BUY(BPK,LOW);
SELL(SPK,HIGH);
AUTOFILTER;