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

 找回密码
 注册昵称

QQ登录

只需一步,快速开始

搜索
上一主题 下一主题

[通达信] 通达信量价寻黑马主图指标公式源码主图


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

VAR3:=LLV(HIGH,240); VAR4:=100*(CLOSE-VAR3)/VAR3; VAR5:=REF(LLV(CLOSE,480),1); VAR6:=REF(HHV(CLOSE,480),1); VAR7:=100*(CLOSE-VAR5)/(VAR6-VAR5); VAR8:=(CLOSE-LLV(CLOSE,981))/(HHV(CLOSE,981)-LLV(CLOSE,981))*100; VAR9:=(CLOSE-LLV(CLOSE,393))/(HHV(CLOSE,393)-LLV(CLOSE,393))*100; VARA:=(CLOSE-LLV(LOW,981))/(HHV(HIGH,981)-LLV(LOW,981))*100; VARB:=(CLOSE-LLV(LOW,393))/(HHV(HIGH,393)-LLV(LOW,393))*100; VARC1:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5); VARC:=VARC1/4; VARD:=IF(VARC>23.6,VARC,0); VARE:=VARC< 1; VARF:=VARD; VAR10:=VAR4< VAR7 AND VAR4< 0; VAR11:=1; VAR12:=(HIGH+LOW+CLOSE*2)/4*VAR11; VAR13:=EMA(VAR12,21); VAR14:=STD(VAR12,21); VAR15:=((VAR12-VAR13)/VAR14*100+200)/4*VAR11; VAR161:=EMA(VAR15,89); VAR16:=(VAR161-25)*1.56*VAR11; VAR171:=EMA(VAR16,5); VAR17:=VAR171*1.22*VAR11; VAR181:=EMA(VAR17,3); VAR18:=VAR181*VAR11; VAR19:=3*VAR17-2*VAR18*VAR11; VAR1A:=IF(crOSS(VAR19,VAR17)AND CROSS(VAR19,VAR18)AND CROSS(VAR17,VAR18),1,0); VAR1B:=IF(CROSS(VAR17,VAR19)AND CROSS(VAR18,VAR19)AND CROSS(VAR18,VAR17),1,0); VAR1C:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),13)/4; VAR1D1:=EMA(CLOSE,2); VAR1D2:=EMA(CLOSE,89); VAR1D:=VAR1D1-VAR1D2; VAR1E:=EMA(VAR1D,30); VAR1F:=(VAR1D-VAR1E)*20; VAR20:=POW(VAR1F,3)*0.1+POW(VAR1F,2); VAR21:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE)); VAR22:=EMA(VAR21*0.97,3); VAR23:=(HIGH+LOW+CLOSE)/3; VAR24:=(VAR23-MA(VAR23,14))/(0.015*AVEDEV(VAR23,14)); VAR25:=IF(VAR1F>0.015,VAR20,0)/45; 主升线:=VAR25; VAR261:=EMA(CLOSE,2); VAR262:=EMA(CLOSE,150); VAR26:=VAR261-VAR262; VAR27:=EMA(VAR26,100); VAR28:=2*(VAR26-VAR27); VAR29:=POW(VAR28,3)*0.1+POW(VAR28,1); VAR2A:=SQRT(SQRT(LOW*HIGH*OPEN*CLOSE)); VAR2B:=EMA(VAR2A*0.97,3); VAR2C:=(HIGH+LOW+CLOSE)/3; VAR2D:=(VAR2C-MA(VAR2C,14))/(0.015*AVEDEV(VAR2C,14)); 黑马线:=IF(VAR28>0.1,VAR29,0)*5,LINETHICK2; 量价线:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100,LINETHICK2; 常数线:=0; 偏移:=(H,10); 观察:=MA(H,10); DRAWICON(LONGCROSS(偏移,观察,1),L*0.9975,1); DRAWICON(LONGCROSS(观察,偏移,1),H*1.0025,2); MA5:MA(CLOSE,5) COLORMAGENTA; DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); macd:=(DIF-DEA)*2; XG:=MACD>0; DRAWICON(CROSS(量价线,黑马线)AND XG,L,26); STICKLINE(CROSS(量价线,黑马线)AND XG,O,C,2.2,0),COLORRED; 量价排列:=主升线>黑马线 AND 量价线; 黑马:=BARSLASTCOUNT(量价排列)=1; STICKLINE(黑马,O,C,2.2,0),COLORYELLOW; DRAWICON(黑马,L*0.98,9);








回复

举报

QQ|

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

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