通达信买卖决策主图源码
STICKLINE(C>=O,H,L,0,0),COLOR9F9F5F;
STICKLINE(C>=O,C,O,3,1),COLOR9F9F5F;
STICKLINE(C<O,H,L,0,0),COLORB6B600;
STICKLINE(C<O,C,O,3,1),COLORB6B600;
天际: (MA(CLOSE,40)) + 2*STD(CLOSE,40),LINETHICK1,DOTLINE,COLORFF00FF;
海底: (MA(CLOSE,40)) - 2*STD(CLOSE,40),LINETHICK1,DOTLINE,COLOREEE000;
买卖决策①:EXPMA(CLOSE,12),COLORWHITE;
红持绿抛②:MA(CLOSE,25),COLORRED;
红持绿抛③:MA(CLOSE,30),COLORGREEN;
DRAWBAND(红持绿抛②,RGB(255,0,0),红持绿抛③,RGB(0,255,0));
NOTEXT1:IF(CLOSE>买卖决策① AND CLOSE!=买卖决策①,买卖决策①,DRAWNULL),DOTLINE,COLORRED;
NOTEXT2:IF(CLOSE<买卖决策① AND CLOSE!=买卖决策①,买卖决策①,DRAWNULL),DOTLINE,COLORGREEN;
现价:=C,DOTLINE;
M3:MA(C,3);
持股13线:=EMA(CLOSE,13);
突破77线:=EMA(CLOSE,77);
翻锅99线:=EMA(CLOSE,99);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA:=EMA(DIF,9);
AA:=EMA(CLOSE,10);
多头:=STICKLINE(DIF>DEA,CLOSE,OPEN,2,0),COLOR9F9F5F;
STICKLINE(DIF>DEA,HIGH,LOW,1,0),COLOR9F9F5F;
空头:=STICKLINE(DIF<=DEA,CLOSE,OPEN,2,0),COLORFF0400;
STICKLINE(DIF<=DEA,HIGH,LOW,1,0),COLORFF0400;
STICKLINE(DIF<=DEA AND AA>MA(CLOSE,50),CLOSE,OPEN,2,0),COLORFF0400;
STICKLINE(DIF<=DEA AND AA>MA(CLOSE,50),HIGH,LOW,0,0),COLORFF0400;
DRAWTEXT(CROSS(DIF,DEA),LOW*0.995, 'B'),COLORYELLOW,LINETHICK3,;
DRAWTEXT(CROSS(DEA,DIF),HIGH*1.02, 'S'),COLORGREEN,LINETHICK3,;
- 上一篇公式:通达信牛比买点副图指标 无未来
- 下一篇公式:新鲜指标驾到实用cci日周月源码