通达信大行情主图指标(源码)
均线1:=EMA(C,3);
均线2:=EMA(C,5);
均线3:=EMA(C,7);
均线4:=EMA(C,12);
均线5:=EMA(C,20);
均线6:EMA(C,50),COLORBLUE;
年线:=EMA(C,250);
追涨:EMA(C,3);
大行情:(年线-(追涨-年线)),NODRAW;
压力:MA(LLV(C,9)*1.1,14),COLORBROWN;
支撑:MA(HHV(C,26)*0.9,14);
多空:=(压力+支撑)/2;
神马:(压力+支撑)/2,COLORRED;
神牛:MA(LLV(C,9)*1.1,14),COLOR0099FF;
VAR1:=EMA(EMA(CLOSE,13),13);
控盘:= (VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
有庄控盘:=控盘>REF(控盘,1) AND 控盘>0;
SS:=有庄控盘 AND CROSS(均线1,均线2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(均线1,均线4) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(均线2,均线3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(均线1,均线3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(均线1,均线4);
DRAWICON(SS,L-0.04,26);
DRAWTEXT(CROSS(追涨,神马),L*0.99,'↖买进'),COLORRED;
DRAWTEXT(CROSS(神牛,大行情),L*0.98,'↖加仓'),COLORF00FF0;
- 上一篇公式:通达信借东风选股指标(源码)
- 下一篇公式:通达信大盘个股强弱比指标(源码)