预览加载中,请您耐心等待几秒...
1/4
2/4
3/4
4/4

在线预览结束,喜欢就下载吧,查找使用更方便

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

【通达信】操盘神仙(买线、卖线)-指标公式源码 A:EMA(C,21)COLORBLUE,LINETHICK3; B:=A<REF(A,1); IF(B-1,A,DRAWNULL)COLORRED,LINETHICK3; AA:=EMA(C,3)>EMA(C,21); BB:=EMA(C,3)<EMA(C,21); CC:=EMA(C,3)>EMA(C,8); CC1:=EMA(C,3)<EMA(C,8); DD:=CLOSE<OPEN; STICKLINE(AA,H,L,0,0),COLOR007FFF; STICKLINE(AA,O,C,3,1),COLOR007FFF; STICKLINE(AAANDDD,O,C,3,0),COLOR007FFF; STICKLINE(BB,H,L,0,0),COLORGREEN; STICKLINE(BB,O,C,3,1),COLORGREEN; STICKLINE(BBANDDD,O,C,3,0),COLORGREEN; STICKLINE(BBANDCC,H,L,0,1),COLORF00FF0; STICKLINE(BBANDCC,O,C,3,1),COLORF00FF0; STICKLINE(BBANDCCANDDD,O,C,3,0),COLORF00FF0; STICKLINE(AAANDCC1,H,L,0,0),COLORBLUE; STICKLINE(AAANDCC1,O,C,3,1),COLORBLUE; STICKLINE(AAANDCC1ANDDD,O,C,3,0),COLORBLUE; 买线:=MA(CLOSE,9),LINETHICK2; 卖线:=MA(CLOSE,20); BU:=CROSS(买线,卖线); SEL:=CROSS(卖线,买线); DRAWTEXT(BU,L-0.1,'建仓')COLORYELLOW; DRAWTEXT(SEL,H+0.1,'空仓'); A2:=(C-REF(C,1))/REF(C,1)*100<1.02; A3:=H>MA(C,5)*1.12; AAA:=A2ANDA3; DRAWTEXT(AAA,H*1.05,'卖点'),COLORWHITE; EMA13:=EMA(C,13),COLOR0000FF,LINETHICK2; EMA34:=EMA(C,34),COLORYELLOW; EMA55:=EMA(C,55),COLORFF00FF; EMA120:=EMA(C,120),COLORFFCC66; AR1:=EMA55>EMA34ANDEMA34>EMA13; AR2:=BARSLAST((C-EMA13)/EMA13*100<-6); AR3:=EMA13>=REF(EMA13,2); AR4:=COUNT(CROSS(C,EMA13),AR2)=1; AR5:=AR1ANDAR2ANDAR3ANDAR4; AR6:=AR5ANDFILTER(AR5,10); DRAWTEXT(AR6,L-0.09,'启动'),COLORYELLOW; STICKLINE(AR6,H,L,3,0),LINETHICK2,COLORYELLOW; BR1:=COUNT(BETWEEN((C-REF(C,1))/REF(C,1)*100,0,5),5)=5; BR2:=ABS((EMA13-EMA34)+(EMA34-EMA55))/C<0.2; BR3:=C>EMA55AND(REF(C,1)<REF(EMA55,1)ORREF(C,2)<REF(EMA55,2)ORREF(C,3)<REF(EMA55,3)ORREF(C,4)<REF(EMA55,4)ORREF(C,5)<REF(EMA55,5)); BR4:=BR1ANDBR2ANDBR3; DRAWTEXT(BR4ANDFILTER(BR4,10),L-0.09,'上升'),COLOR00C5FF; STICKLINE(BR4ANDFILTER(BR4,10),O,C,3,1),LINETHICK2,COLOR00C5FF; CR1:=(C-REF(C,1))/REF(C,1)*100>0.5; CR2:=V>MA(V,5)*0.6; CR3:=COUNT(CROSS(EMA13,EMA55),3)=1; CR4:=ABS(EMA34-EMA55)/EMA55<0.03; CR5:=EMA55<=EMA120ANDEMA55>=REF(EMA55,1); CR6:=FILTER(CR1ANDCR2ANDCR3ANDCR4ANDCR5,2); STICKLINE(CR6,O,C,3,1),LINETHICK2,COLORF00FF0; DRAWTEXT(CR6,L-0.09,