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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信妖股追击指标公式源码副图继续等


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

VA1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20; VA2:=2*Abs(VA1); VA3:=100-3*SMA((C-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1)+2*SMA(SMA((C-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1),15,1); VA4:=100-3*SMA((OPEN-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1)+2*SMA(SMA((OPEN-LLV(L,72))/(HHV(H,72)-LLV(L,72))*100,20,1),15,1); VA5:=(H+L+C)/3; VA6:=(VA5-MA(VA5,14))/(0.015*AVEDEV(VA5,14)); VA7:=(VA5-MA(VA5,89))/(0.015*AVEDEV(VA5,89)); VA8:=IF(VA6>=150 AND VA6<200 AND VA7>=150 AND VA7<200,10,0); VA9:=IF(VA6<=-150 AND VA6>-200 AND VA7<=-150 AND VA7>-200,-10,VA8); VA10:=(C-MA(C,13))/MA(C,13)*100; VA11:=100-ABS(VA10); VA12:=3*SMA((INDEXC-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,72))*100,20,1)-2*SMA(SMA ((INDEXC-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,75))*100,20,1),15,1); VA13:=3*SMA((INDEXO-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,72))*100,20,1)-2*SMA(SMA ((INDEXO-LLV(INDEXL,72))/(HHV(INDEXH,72)-LLV(INDEXL,75))*100,20,1),15,1); VA14:=REF(L,1)*0.9; VA15:=(L*0.9*V+VA14*(CAPITAL-V))/CAPITAL; VAR1:=EMA(VA15,30); VAR2:=VAR1-C; VAR3:=SMA(MAX(C-REF(C,1),0),7,1)/SMA(ABS(C-REF(C,1)),7,1)*100; VAR4:=SMA(MAX(C-REF(C,1),0),13,1)/SMA(ABS(C-REF(C,1)),13,1)*100; VAR5:=BARSCOUNT(C); VAR6:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100; VAR7:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2; VAR8:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100; VAR9:=(SMA(VAR8,4,1)-50)*2; VAR10:=SMA(VAR9,3,1); VAR11:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100; VAR12:=SMA(VAR11,4,1); VAR13:=SMA(VAR12,3,1); VAR14:=(HHV(H,30)-C)/C*100; VAR15:=IF(VAR6<=25 AND VAR7<-95 AND VAR14>20 AND VAR10<-30 AND VAR13<30 AND VAR2>=-0.25 AND VAR3<22 AND VAR4<28 AND VAR5>50,80,0); 浮筹线:VA3,COLORFF00FF; VAR16:=IF(VA11<90,VA11,100),COLORFFCC66; VAR17:=IF(VA1>0,VA1,0); 活跃线:IF(VA1<0,VA2,0),LINESTICK; VAR18:=VAR15; VAR19:=IF(VA7>=200 AND VA6>=150,15,IF(VA7<=-200 AND VA6<=-150,-15,VA9))+60,COLOR00FF00; VAR20:=100*(C-LLV(L,34))/(HHV(H,34)-LLV(L,34)); VAR21:=MA(VAR20,3); VAR22:=EMA(AMOUNT/V/100,5); VAR23:=EMA(AMOUNT/V/100,13); VAR24:=VAR22-VAR23; VAR25:=IF(1000*VAR24/VAR22>0,1000*VAR24/VAR22,0); STICKLINE(VA3>=REF(VA4,1),VA3,VA4,8,1),COLOR0000FF; STICKLINE(VA3<REF(VA4,1),VA3,VA4,8,1),COLOR00FF00; VAR26:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1); VAR27:=C<MA(C,20) AND MA(C,20)<REF(MA(C,20),1); VAR28:=VAR17>50 AND VAR19>60 AND VAR16=100; VAR29:=VAR17>48 AND VAR19>60 AND VAR16<100; VAR30:=活跃线>38 AND VAR19<55; VAR31:=VAR18>50 AND VAR16<90; VAR32:=VA3<REF(VA4,1) AND V>REF(V,1) AND C>REF(C,1); VAR33:=VA3>=REF(VA4,1) AND C<REF(C,1) AND VAR19=60 AND VAR18=0 AND 活跃线>=REF(活跃线,1) AND VA12<REF(VA13,1); DRAWTEXT(VAR26 AND COUNT(VAR26,30)=1,90,' ←继续等'),COLOR00FFFF; STICKLINE(VAR28 AND COUNT(VAR28,30)=1,0,70,1,0),COLOR00FF00; DRAWTEXT(VAR28 AND COUNT(VAR28,30)=1,65,' ★超涨注意风险'),COLOR0000FF; STICKLINE(REF(VAR19,1)<60 AND VAR19>=60,0,50,2,0),COLOR00FFFF;








回复

举报

QQ|

GMT+8, 2024-11-16 19:43

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