网站首页 > 通达信公式 > 通达信主副图指标 正文
QQ交流群586838595 |
N1:=5;N2:=10;
LC:=REF(CLOSE,1);
A0:=(2*C+H+L)/4;
均线:=MA(A0,3)>REF(MA(A0,3),1);
安全线:2,COLORLIGRAY,POINTDOT,LINETHICK4;
A1:=(CLOSE-LLV(LOW,7))/(HHV(HIGH,7)-LLV(LOW,7))*10;
K:MA(3*SMA(A1,6,1)-2*SMA(SMA(A1,5,1),5,1),3),LINETHICK1,COLORF00FF0;
D:MA(K,3),COLORFF0000,LINETHICK1;
J:3*K-2*D,LINETHICK1,COLORF00FF0;
DRAWBAND(K,RGB(155,50,50),D,RGB(0,100,50));
VAR1:=C-REF(C,1);
VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(Abs(VAR1),6),6);
MA5:=EMA(C,5);
MA13:=EMA(C,13);
UP:=DRAWLINE(L=LLV(L,BARSLAST(crOSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
(MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
(MA5,MA13))+1),0),COLOR0000FF;
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS
(MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS
(MA13,MA5))+1),0),COLOR00FF00;
BT:=(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND
REF(DOWN,1)REF(DOWN,1);
底线:0,COLORFF00FF;
顶线:10,COLORFF0000;
STICKLINE(UP,0,0.2,3,0),COLOR0000FF;
STICKLINE(DOWN,0,0.2,3,0),COLOR00FF00;
STICKLINE(BT,0,3,2,0),COLOR000088;
STICKLINE(BT,0,3,1,0),COLOR0000CC;
STICKLINE(BT,0,3,0.22,0),COLOR0000FF;
DRAWTEXT(BT,3,短牛),COLOR0000FF;
TJ1:=REF(DOWN,1)REF(DOWN,1) AND C
STICKLINE(TJ1,0,2,3,0),COLOR880088;
STICKLINE(TJ1,0,2,1.5,0),COLORAA00AA;
STICKLINE(TJ1,0,2,0.8,0),COLORCC00CC;
STICKLINE(TJ1,0,2,0.2,0),COLORFF00FF;
DRAWTEXT(TJ1,2,中牛),COLORFF00FF;
HR:=HHV(HIGH,55);
HRY:=LLV(LOW,55);
HRY11:=HR*HRY;
HRY33:=SQRT(HRY11);
TJ2:=REF(DOWN,1)REF(DOWN,1) AND C
STICKLINE(TJ2,0,1,5,0),COLOR008888;
STICKLINE(TJ2,0,1,2,0),COLOR00AAAA;
STICKLINE(TJ2,0,1,1,0),COLOR00CCCC;
STICKLINE(TJ2,0,1,0.2,0),COLOR00FFFF;
DRAWTEXT(TJ2,1,大牛),COLOR00FFFF;
ST:=REF(UP,1)>REF(UP,2) AND DOWN
STICKLINE(ST,10,9,5,0),COLOR008800;
STICKLINE(ST,10,9,2,0),COLOR00AA00;
STICKLINE(ST,10,9,1,0),COLOR00CC00;
STICKLINE(ST,10,9,0.2,0),COLOR00FF00;
DRAWTEXT(ST,9,卖),COLOR00FF00;
DIFF:EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:EMA(DIFF,9),COLORFFFF00;
A11:=BARSLAST(REF(CROSS(DIFF,DEA),1));
底背离:=REF(CLOSE,A11+1)>CLOSE AND DIFF>REF(DIFF,A11+1) AND CROSS(DIFF,DEA);
DRAWTEXT(底背离,-0.6,底背离),COLORWHITE;
A22:=BARSLAST(REF(CROSS(DEA,DIFF),1));
顶背离:=REF(CLOSE,A22+1)DIFF AND CROSS(DEA,DIFF);
DRAWTEXT(顶背离,9,顶背离),COLORWHITE;
RSV2:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*10;
K周:=SMA(RSV2,15,1),COLORWHITE;
D周:=SMA(K周,3,1),COLORYELLOW;
J周:=3*K周-2*D周,COLORRED;
DRAWBAND(J周,RGB(200,0,0),D周,RGB(0,150,150));
DRAWICON(CROSS(K周, D周), D周-1,13);
DRAWICON(CROSS(D周, K周), K周+1,14);QQ交流群586838595 |
- 上一篇: 通达信巡航定速主图指标[万物公式]
- 下一篇: 通达信主力趋势预测主图指标公式[万物公式]
猜你喜欢
- 2025-03-30 通达信《山峰心理线》副图指标 PSY+RSI+BIAS三剑客 deepspeek优化 精准捕捉顶底信号 股市实战操盘指南
- 2025-03-30 通达信【龙二波】副图/选股指标 捕捉龙头回调二次启动信号 无未来函数 不飘逸
- 2025-03-30 通达信《波段趋势赢》副图/选股 RSI、DMI、KDJ组合指标 无未来函数
- 2025-03-30 通达信《死叉13天》副图 / 选股指标,巧妙融合斐波那契数列、MACD 指标与 RSI 指标,每次波段都能精准捕捉(限时送)
- 2025-03-30 通达信《阴线尾盘擒阳》主副图/选股 阴线选股尾盘买入 今买明卖速战速决 高胜率 源码无未来
- 2025-03-30 通达信《涨停回调密码》副图与选股指标的完美结合,采用回调踩均线模式,且源码无未来函数
- 2025-03-29 通达信《巨阳过左峰》主副图/选股 双趋势线精准定位 红钻突破信号 高效交易系统
- 2025-03-28 【通达信指标】波段精英指标公式,跟随机构建仓加仓波段操作(副图+选股)
- 2025-03-27 【通达信指标】二波浪指标公式,行情回归二波拉升信号(副图+选股)
- 2025-03-26 通达信《乾坤量柱》副图/选股指标 自用精品 专为量能分析设计 源码