股资源-股票学习站-学炒股-股票课程-炒股教程-分析选股指标-入门基础知识

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信大资金加速拉指标公式源码副图


    [-----复制链接-----]
楼主
 通达信源码安装路径:1,工具栏点击公式选项。2,弹出公式窗口点击新建。3,把源码复制到指标编辑器保存。4,回到K线图界面安装建立好的公式 || 2024-9-6 19:15:14

VAR1:=EMA(C,6)-EMA(C,12); VAR2:=EMA(VAR1,5); VAR3:=VAR1-VAR2; VAR4:=Abs(C-O); VAR5:=vol/((H-L)*2-VAR4); VAR6:=IF(C>O,VAR5*(H-L),IF(C<O,VAR5*(H-O+(C-L)),VOL/2))+IF(C>O,0-VAR5*(H-C+(O-L)),IF(C<O,0-VAR5*(H-L),0-VOL/2)); VAR7:=VAR6/20/1.15; VAR8:=EMA(VAR7*0.55+REF(VAR7,1)*0.33+REF(VAR7,2)*0.22,3); VAR9:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1); VAR11:=VAR9<REF(VAR10,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1); VAR12:=(HIGH+LOW+CLOSE)/3; VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14)); VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70)); VAR15:=IF(VAR13>=150 AND VAR13<200 AND VAR14>=150 AND VAR14<200,10,0); VAR16:=IF(VAR13<=-150 AND VAR13>-200 AND VAR14<=-150 AND VAR14>-200,-10,VAR15); VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100; VAR18:=100-ABS(VAR17); VAR19:=IF(VAR18<90,VAR18,100); VAR20:=IF(MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20>0,MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20,0); VAR21:=IF(VAR14>=200 AND VAR13>=150,15,IF(VAR14<=-200 AND VAR13<=-150,-15,VAR16))+60; VAR22:=VAR20>48 AND VAR21>60 AND VAR19<100; STICKLINE(VAR8>0 AND VAR3>0,ABS(VAR3/30),0,1,0),COLORRED; STICKLINE(VAR8>0 AND VAR3<0,0,ABS(VAR3/30),1,0),COLORGREEN; DRAWTEXT(VAR11 AND COUNT(VAR11,30)=1,0.025,' ←大资金建仓'),COLOR80FFFF; STICKLINE(VAR11 AND COUNT(VAR11,30)=1,0,0.03,2,0),COLORFF00FF; DRAWTEXT(VAR22 AND COUNT(VAR22,30)=1,0.025,' ←加速拉升'),LINETHICK1,COLOR0000FF; STICKLINE(VAR22 AND COUNT(VAR22,30)=1,0,0.03,2,0),COLOR0000FF;








回复

举报

QQ|

GMT+8, 2024-11-10 11:24

快速回复 返回顶部 返回列表