通达信建仓爆发刀副图指标

[复制链接]
查看55 | 回复0 | 2022-7-24 05:09:30 | 显示全部楼层 |阅读模式

通达信建仓爆发刀副图指标

源码

MA1:=MA(COST(15),1);
TJ:=BARSLAST(MA1<C);
TJJ:=BARSLAST(MA1>C);
建仓:SUM(V,TJ)/TJ/100,COLORFFFFFF;
启动:SUM(V,TJJ)/TJJ/100,COLORFF00FF;
DIFF := EMA(CLOSE,12) - EMA(CLOSE,26);
DEA  := EMA(DIFF,9);
MCD := 2*(DIFF-DEA), COLORSTICK;
AG:=CROSS(DIFF,DEA);
MACD1:=SUM(V,BARSLAST(AG)+1)/CAPITAL*200,COLORRED;
操作:IF(DEA>REF(DEA,1) AND DIFF>DEA,MACD1,0),COLORYELLOW;
DRAWTEXT(CROSS(建仓,启动) ,建仓,'▲注'),COLORGREEN;
DRAWTEXT(CROSS(启动,建仓) ,建仓,'▲关'),COLORRED;
MM:=DOWNNDAY(启动,21);
DRAWTEXT(MM ,启动,'▲动'),COLORBROWN;
庄250:EMA(WINNER(C)*70,250)*2000,COLORCYAN;
YY:=CROSS(EMA(WINNER(C)*70,1),EMA(WINNER(C)*70,181));
庄1:EMA(WINNER(C)*70,1)*10,COLORLIRED;
DRAWTEXT(YY,庄250*0.98,'▲冲击'),COLORWHITE;
关注:= (CROSS(EMA(C,13),EMA(C,55))) ;
DRAWTEXT(关注 ,建仓,'▲顾'),COLORLIBLUE;
底7:EMA(C,7)*(EMA(C,7))*5,COLORBLUE;
顶55: HHV(HIGH,60)*0.98*(EMA(C,55))*5,COLORFFFFCC;
关:= (CROSS(底7,顶55)) ;
DRAWTEXT(关 ,建仓,'▲顶'),COLORYELLOW;
KK:=CROSS(EMA(WINNER(C)*70,2),EMA(WINNER(C)*70,181));
FF:=CROSS(EMA(WINNER(C)*70,3),EMA(WINNER(C)*70,181));
RR:=CROSS(EMA(WINNER(C)*70,7),EMA(WINNER(C)*70,181));
TT:=CROSS(EMA(WINNER(C)*70,13),EMA(WINNER(C)*70,181));
RU:=YY AND KK AND FF AND RR AND TT;
DRAWTEXT(RU,建仓,'▲射'),COLORRED;
 

710366129.jpg

710366129.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则