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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信黑马因子指标公式源码副图


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

VAR1:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100; VAR2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; VAR3:=(SMA(VAR2,3,1)-18)*1.55; VAR4:=SMA(VAR3,3,1); VAR5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100; VAR6:=SMA(VAR5,10,1); VAR7:=(EMA(SMA(VAR6,8,1),34)-25)*2.6; VAR8:=POW(MA(CLOSE,5),2)+MA(CLOSE,5); VAR9:=POW(MA(LOW,5),2)+MA(LOW,5); VAR10:=POW(MA(HIGH,5),2)+MA(HIGH,5); VAR11:=((VAR8-LLV(VAR9,64))/(HHV(VAR10,64)-LLV(VAR9,64))*150+65-10)/2; VAR12:=SMA(VAR11,3,1)*1.5-46; VAR13:=SMA(VAR12,3,1); VAR14:=3*VAR12-2*VAR13; VAR15:=(VAR1+VAR2+VAR5)/3; VAR16:=((VAR3+VAR3+VAR6+VAR12)/4-15)*1.67; VAR17:=((VAR4+VAR4+VAR7+VAR13)/4-15)*1.67; VAR18:=((VAR1+VAR5*2+VAR15+VAR16+VAR17+VAR11+VAR12+VAR13+VAR14)/10-15)*1.67; VAR19:=(HHV(HIGH,5)-CLOSE)/(HHV(HIGH,5)-LLV(LOW,5))*(-1)+0.9; VAR20:=(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10))*(-1)+0.92; VAR21:=(HHV(HIGH,15)-CLOSE)/(HHV(HIGH,15)-LLV(LOW,15))*(-1)+0.93; VAR22:=(HHV(HIGH,55)-CLOSE)/(HHV(HIGH,55)-LLV(LOW,55))*(-1)+0.94; VAR23:=(HHV(HIGH,89)-CLOSE)/(HHV(HIGH,89)-LLV(LOW,89))*(-1)+0.95; VAR24:=(HHV(HIGH,120)-CLOSE)/(HHV(HIGH,120)-LLV(LOW,120))*(-1)+0.91; VAR25:=(HHV(HIGH,180)-CLOSE)/(HHV(HIGH,180)-LLV(LOW,180))*(-1)+0.96; VAR26:=((VAR19*8+VAR20*8+VAR21*8+VAR22+VAR23+VAR24+VAR25)/28-0.1)*185; VAR27:=SMA(VAR26,3,1); VAR28:=(SMA(VAR27,8,1)-8)*1.18; 彩线1:(VAR16+VAR17+VAR18+VAR12+VAR13+VAR14+VAR28+VAR7)/13,COLOR004080; 彩线2:(VAR16+VAR17+VAR18+VAR12+VAR13+VAR14+VAR28+VAR7)/21,COLOR808000; 彩线3:(VAR16+VAR17+VAR18+VAR12+VAR13+VAR14+VAR28+VAR7)/34,COLORFF8080; 彩线4:(VAR3+VAR6+VAR27*2)/4,COLOR0000FF; 100,COLORLIGRAY; VAR32:=crOSS(彩线4,彩线3); VAR35:=VAR32 AND REF(彩线4,1)<0; DRAWICON(VAR35,VAR35+5,38); 黑马:CROSS(彩线1,彩线3),COLORBLUE; DRAWICON(黑马,黑马+5,25);








回复

举报

QQ|

GMT+8, 2024-11-27 15:20

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