万物公式网是一个专注于股票软件、股票公式资源分享的平台
微信公众号:万物狙击

网站首页 > 大智慧公式 正文

介绍一个波段操作指标源码(大智慧)

admin 2023-10-18 14:02:07 大智慧公式 504 ℃

介绍一个波段操作指标源码(大智慧)

此指标是从书上摘录的副图指标,两条线不断分合,当合拢时可考虑买入,希望大家参考。以下是源码和附图。

VAR2:=(HIGH+LOW+(CLOSE)*(2))/(4);

BH:=((EMA((VAR2-LLV(VAR2,15))/(HHV(LOW,15)-LLV(VAR2,15)),2))*(38));

BL:=((((-1))*(EMA((VAR2-LLV(VAR2,15))/(HHV(LOW,15)-LLV(VAR2,15)),2))+0.01)*(38));

VAR22:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);

VAR33:=EMA(VAR22,10);

VAR44:=EMA(VAR33,10);

VAR55:=(3)*(VAR33)-(2)*(VAR44);

VAR66:=EMA(VAR55,5);

桥:(EMA(VAR66,1)),COLOR007700,LINETHICK1;

跨:(REVERSE(桥)),COLOR0033FF,LINETHICK1;

趋势:=(5)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))* (100),5,1))-(3)*(SMA(SMA(((CLOSE-LLV(LOW,27))

/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1))-SMA(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1),2,1);

底部:=5;

DRAWTEXT(CROSS((趋势),底部),15,◢◣),COLOR003333;

VARA1:=((CLOSE>=REF(CLOSE,1)) AND (REF(CLOSE,1)>=REF(CLOSE,2)) AND (REF(CLOSE,1)<=REF(CLOSE,3))

AND (REF(CLOSE,2)<=REF(CLOSE,3)) AND ((REF(CLOSE,4)>REF(CLOSE,2)) OR (REF(CLOSE,4)<=REF(CLOSE,2))

AND (REF(CLOSE,5)>=REF(CLOSE,3))) OR (CLOSE>=REF(CLOSE,1)) AND (REF(CLOSE,1)<=REF(CLOSE,2))

AND (CLOSE>=REF(CLOSE,2)) AND ((REF(CLOSE,3)>REF(CLOSE,1)) OR(REF(CLOSE,3)<=REF(CLOSE,1)) AND (REF(CLOSE,4)>=REF(CLOSE,2))));

VARA2:=LLV(LOW,5);

VARA3:=HHV(HIGH,5);

VARA4:=EMA(((CLOSE-VARA2)/(VARA3-VARA2))*(100),1);

VARA5:=EMA((0.66699999)*(REF(VARA4,1))+(0.333)*(VARA4),2);

VARA6:=(VARA5<24) AND (OPEN

VARA1 AND (VARA6),COLORFF0000;

STICKLINE(VARA1 AND (VARA6),-40,40,10,0),COLORblue;

VARB2:=((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10)))*(100);

VARB3:=EMA(VARB2,7);

VARB4:=EMA(VARB3,10);

VARB5:=(3)*(VARB3)-(2)*(VARB4);

VARB6:=EMA(VARB5,5);

趋势1:=(3)*(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))* (100),5,1))-(2)

*(SMA(SMA(((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100),5,1),3,1));

探底:IF((趋势<=5),58,0),COLORFF00FF;

桥1:=EMA(VARB6,1);

美化:=IF(REF((COUNT((桥1<=REF(桥1,1)),5)=5),1) AND (桥1>REF(桥1,1)),10,0);

STICKLINE((美化),-20,20,15,0),Colormagenta;

MTM1:=MA((CLOSE-REF(CLOSE,13))*31,5);

VARF1:=MA(HHV(HIGH,485),17);

VARF2:=MA(HHV(HIGH,222),17);

VARF3:=MA(HHV(HIGH,96),17);

VARF4:=MA(LLV(LOW,485),17);

VARF5:=MA(LLV(LOW,222),17);

VARF6:=MA(LLV(LOW,96),17);

VARF7:=MA((VARF4*0.96+VARF5*0.96+VARF6*0.96+VARF1*0.558+VARF2*0.558+VARF3*0.558)/6,17);

VARF8:=MA((VARF4*1.25+VARF5*1.23+VARF6*1.2+VARF1*0.55+VARF2*0.55+VARF3*0.65)/6,17);

VARF9:=MA((VARF4*1.3+VARF5*1.3+VARF6*1.3+VARF1*0.68+VARF2*0.68+VARF3*0.68)/6,17);

VARFA:=MA((VARF7*3+VARF8*2+VARF9)/6*1.738,17);

VARFB:=IF(C=C,VARFA,VARFA*DAY);

VARFC:=LOW;

VARFD:=REF(LOW,1);

VARFE:=SMA(ABS(VARFC-VARFD),3,1)/SMA(MAX(VARFC-VARFD,0),3,1)*100;

VARFF:=MA(IF(CLOSE*1.35<=VARFB,VARFE*10,VARFE/10),3);

VARF10:=LLV(LOW,30);

VARF11:=HHV(VARFF,30);

绝佳买点:IF(C=C,MA(IF(LOW<=VARF10,(VARFF+VARF11*2)/2,0),3),100000000) /(200),COLORRED,LINETHICK2;

DRAWTEXT(CROSS(绝佳买点,4.50000) ,63,必买),COLORred,LINETHICK2;

介绍一个波段操作指标源码(大智慧)的选股公式如下:

>股票指标网

更多精彩内容,请关注公众号:实盘操手

其他说明

1、在下载过程遇到问题,请您 联系客服:QQ:2180737354  或  微信:xxs008000(常用)     备用微信:bsqj88886(常用号不能用的情况再加),我们会在第一时间修复和反馈。


2、本站所提供的股票指标等资源请细看说明,适合自己再购买下载,指标不包安装,不懂的人切勿购买,新手勿扰。所有指标仅供参考学习交流,没稳赚的指标,赢亏自负,如果觉着指标好用请支持正版,否则产生的一切后果将由下载用户自行承担,有部分股票指标资源为网上收集或仿制而来,若模板侵犯了您的合法权益,请来联系我们,我们会及时删除,给您带来的不便,我们深表歉意!


⇒⇒⇒点击加入通达信指标公式交流群QQ群