趋势跟踪主图(通达信)
2019/12/22 18:48:24
七天线:EMA(C,7),COLORWHITE;
黄金线:(EMA(C,18)),POINTDOT,LINETHICK4,COLORYELLOW;
生命线:(MA(C,28)),COLORMAGENTA;
姊妹线:(EMA(C,56)),COLORCYAN;
多空线:(MA(C,120)),COLOR0099FF;
压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;
支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;
中线:(压力+支撑)/2,COLORGRAY;
用法:DRAWBAND(压力,RGB(255,96,96),REF(压力,1),RGB(0,224,224));
买头:=(REF(CROSS((EMA(CLOSE,12) - EMA(CLOSE,26)-EMA(EMA(CLOSE,12) - EMA(CLOSE,26),9)),0),1) AND (EMA(CLOSE,12) - EMA(CLOSE,26)-EMA(EMA(CLOSE,12) - EMA(CLOSE,26),9))>0 AND MA(REF(LLV(C,30),1),2)>=REF(MA(REF(LLV(C,30),1),2),1) AND (ZIG(3,12)>MA(ZIG(3,12),2)));
DRAWICON(买头>0,LOW,'BUY');
月量价:=SUM((CLOSE-OPEN)/(HIGH-LOW)*VOL,20)/10000;
周均量:=EMA(月量价,5);
∠45:=((FILTER(ATAN(EMA((C+L+H)/3,13)-REF(EMA((C+L+H)/3,13),1))>1 AND EMA((C+L+H)/3,13)>REF(EMA((C+L+H)/3,8),1),10)) AND 月量价>周均量 AND (ZIG(3,12)>MA(ZIG(3,12),2))),STICK,COLORRED;
DRAWICON(∠45>0,LOW,'BUY');
追:=CROSS(CLOSE, MA(REF(HHV(C,30),1),2)) AND (MA(REF(HHV(C,30),1),2)<REF(MA(REF(HHV(C,30),1),2),2)),STICK,COLORRED;
DRAWICON(追>0,LOW,'BUY');
STICKLINE(L>REF(H,1),L,REF(H,1),15,0),COLOR00FFFF;
STICKLINE(H<REF(L,1),REF(L,1),H,15,0),COLORGREEN;
B:=ZIG(3,12);
G:=MA(B,2);
D1:=CROSS(B,G);
DRAWTEXT(D1,LOW*0.96,'抢'),COLORRED;
W:=(CROSS(G,B));
DRAWTEXT(W,HIGH*1.01,'逃'),COLORFFFF00;
投股票 网 ww w.tou18.cn
股市公式下载推荐