当前位置:首页 > 通达信公式 > 内容

通达信正阳风暴主图 指标源码

作者:公式网   更新时间:2024-05-24   点击:
多空:EMA(C,20),CROSSDOT,COLORGREEN,LINETHICK5;
IF(多空>REF(多空,1),多空,DRAWNULL),CROSSDOT,COLORRED,LINETHICK7;
高1:=REF(HHV(H,120),3);
低1:=REF(LLV(L,120),3);
H1:=高1-(高1-低1)*0.2;
H2:=高1-(高1-低1)*0.4;
H3:=高1-(高1-低1)*0.5;
H4:=高1-(高1-低1)*0.6;
H5:=高1-(高1-低1)*0.9;
突破:=REF(EMA(C,14),1);
A1X:=(EMA(C,10)-突破)/突破*100;
基准:=IF(A1X>=0,REF(EMA(C,10),BARSLAST(CROSS(A1X,0))+1),REF(EMA(C,10),BARSLAST(CROSS(0,A1X))+1));
AA:=CROSS(A1X,0),LINETHICK3;
STICKLINE(A1X>=0,C,O,2.7,0),COLOR0011FF;
STICKLINE(A1X>=0,C,O,1.8,0),COLOR0044FF;
STICKLINE(A1X>=0,C,O,0.9,0),COLOR0077FF;
STICKLINE(A1X>=0,C,O,0.1,0),COLOR0099FF;
STICKLINE(A1X>=0,H,L,0,0),COLOR0099FF;
STICKLINE(AA,C,O,2.7,0),COLOR330033;
STICKLINE(AA,C,O,1.8,0),COLOR770077;
STICKLINE(AA,C,O,0.9,0),COLORBB00BB;
STICKLINE(AA,C,O,0.1,0),COLORFF00FF;
STICKLINE(AA,H,L,0,0),COLORFF00FF;
DRAWICON(AA,L*1,9);
DRAWTEXT(AA,L*1,'主力买入'),COLORYELLOW;
BB:=CROSS(0,A1X),LINETHICK5;
STICKLINE(A1X<0,C,O,2.7,0),COLORAAAAAA;
STICKLINE(A1X<0,C,O,1.8,0),COLORCCCCCC;
STICKLINE(A1X<0,C,O,0.9,0),COLORDDDDDD;
STICKLINE(A1X<0,C,O,0.1,0),COLORFFFFFF;
STICKLINE(A1X<0,H,L,0,0),COLORFFFFFF;
STICKLINE(BB,C,O,2.7,0),COLOR333300;
STICKLINE(BB,C,O,1.8,0),COLOR555500;
STICKLINE(BB,C,O,0.9,0),COLOR777700;
STICKLINE(BB,C,O,0.1,0),COLOR999900;
STICKLINE(BB,H,L,0,0),COLOR999900;
DRAWICON(BB,H*1,43);
DRAWTEXT(BB,H*1,'主力卖出'),COLORYELLOW;
AA1:=AMOUNT/V;
BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;
DD1:=L<MA(C,5)*0.921;
EE1:=V<MA(V,5)*1.5;
VAR3AA:=IF((CLOSE>REF(CLOSE,1)),88,0);
VAR4AA:=IF(((CLOSE)/(REF(CLOSE,1))>1.03) AND ((HIGH)/(CLOSE)<1.03) AND (VAR3AA>0),92,0);
DRAWTEXT(FILTER((VAR4AA>90),30),(LOW)*(1),'★加仓'),COLOR00FFFF;
DRAWTEXT(FILTER((VAR4AA>90),10),(LOW)*(1),'★加仓'),COLOR00FFFF;
A1AA:=9;
A2AA:=(REF(CLOSE,A1AA+1)<CLOSE);
VAR6:=REF(C,1);
VAR7:=SMA(MAX(C-VAR6,0),6,1)/SMA(ABS(C-VAR6),6,1)*100;
DRAWTEXT(CROSS(90,VAR7),H*0.99,'★减仓'),COLORYELLOW;
DRAWTEXT_FIX(1,0,0,0,'【行业】:'),COLORWHITE;
DRAWTEXT_FIX(1,0.06,0,0,HYBLOCK),COLORWHITE;{www.gszx.com.cn行业}
DRAWTEXT_FIX(1,0,0.05,0,'【概念】:'),COLORYELLOW;
DRAWTEXT_FIX(1,0.06,0.05,0,GNBLOCK),COLORYELLOW;{www.gszx.com.cn概念};
假阴真阳:= C>REF(C,1) AND C<O AND PERIOD=5;
STICKLINE(假阴真阳,C,O,-1,0),COLORYELLOW;

通达信正阳风暴主图 指标源码

通达信正阳风暴主图 指标源码

资源下载

相关文章

热门推荐

移动端首页 | PC端

© by gszx.com.cn Mobile Web