»查看更多分类

通达信趋势动能加速副图指标 源码 贴图

发布时间:2024-09-23 11:00:00  点击:

通达信趋势动能加速副图指标 源码 贴图

通达信趋势动能加速副图指标 源码 贴图

通达信趋势动能加速副图指标 源码 贴图

B:=SUM(AMOUNT*CLOSE,1)/SUM(AMOUNT,1);
B1:=EMA(B,5);
VAR5:=(B-B1)*100/B,NODRAW,COLORRED;
VAR6:=VAR5!=DRAWNULL;
VAR7:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
VAR8:=SMA(VAR7,4,1);
VAR9:=SMA(VAR8,3,1);
VAR10:=(CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100;
VAR11:=SMA(VAR10,6,1);
VAR12:=SMA(VAR11,3,1);
VAR13:=EMA(CLOSE,17);
VAR14:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR15:=SMA(VAR14,3,1);
VAR16:=SMA(VAR15,3,1);
VAR17:=3*VAR15-2*VAR16;
VAR18:=VAR17>=95;
VAR19:=REF(CLOSE,1);
VAR20:=SMA(MAX(CLOSE-VAR19,0),9,1)/SMA(ABS(CLOSE-VAR19),9,1)*100;
VAR21:=VAR20>=75;
VAR22:=FORCAST(EMA(CLOSE,5),6);
VAR23:=FORCAST(EMA(CLOSE,8),6);
VAR24:=FORCAST(EMA(CLOSE,11),6);
VAR25:=FORCAST(EMA(CLOSE,14),6);
VAR26:=FORCAST(EMA(CLOSE,17),6);
VAR27:=VAR22+VAR23+VAR24+VAR25-4*VAR26;
VAR28:=EMA(VAR27,2);{公式网WWW.GPXIAZAI.COM}
趋势:VAR11>VAR12 AND VAR12>REF(VAR12,1) AND VAR6,NODRAW,COLORYELLOW;
动能:VAR28>REF(VAR28,1),NODRAW,COLORRED;
加速:VAR18 OR VAR21,NODRAW,COLORLIMAGENTA;
资金:VAR5>0 AND CLOSE>VAR13 AND VAR13>REF(VAR13,1),NODRAW,COLOR0080FF;
异动:CLOSE>=OPEN AND CROSS(VAR8,VAR9) AND VAR9<=50 AND VAR6,NODRAW,COLORFF0080;
STICKLINE(趋势>0,4.8,5.8,1.5,0),COLORYELLOW;
STICKLINE(趋势=0,4.8,5.8,1.5,1),COLORGRAY;
STICKLINE(动能>0,3.6,4.6,1.5,0),COLORRED;
STICKLINE(动能=0,3.6,4.6,1.5,1),COLORGRAY;
STICKLINE(加速>0,2.4,3.4,1.5,0),COLORLIMAGENTA;
STICKLINE(加速=0,2.4,3.4,1.5,1),COLORGRAY;
STICKLINE(资金>0,1.2,2.2,1.5,0),COLOR0080FF;
STICKLINE(资金=0,1.2,2.2,1.5,1),COLORGRAY;
STICKLINE(异动>0,0,1,1.5,0),COLORFF0080;
STICKLINE(异动=0,0,1,1.5,1),COLORGRAY;
DRAWRECTREL(60,1000,0,0,RGB(10,0,0)),COLORBLACK;{UNDEFINED活动框};
DRAWTEXT_FIX(1,0.00,0.02,0,'趋势'),COLORYELLOW;
DRAWTEXT_FIX(1,0.00,0.25,0,'动能'),COLORRED;
DRAWTEXT_FIX(1,0.00,0.45,0,'加速'),COLORLIMAGENTA;
DRAWTEXT_FIX(1,0.00,0.65,0,'资金'),COLOR0080FF;
DRAWTEXT_FIX(1,0.00,0.85,0,'异动'),COLORFF0080;


 

 
0

友情提示: 股市有风险,投资需谨慎,资料由公式网整理收集

使用必看(为了保障您的权益,请在研究学习资料前了解相关说明)

  • ›› 指标不属于投资资讯产品和推股软件,指标旨在辅助大家提高投资胜率参考而研发,仅供参考学习研究之用,不构成投资建议或未来保证,依此操作买卖,盈亏自负。
  • ›› 该资料仅供学习和研究使用,不得用于商业或者非法用途。本站对于提供的指标公式不拥有任何权利,其版权归该资源的合法拥有者所有,如有侵犯您的版权,请查看《公式网的侵权处理流程》,本站将于五个工作日内移除相关内容。
  • ›› 如果您发现下载链接错误,请点击报告错误谢谢!

找不到你要的公式?给我们建议