2023多种指标结合 共振买入卖出《通达信+指标+公式+副图+源码》

[复制链接]
查看19482 | 回复0 | 2023-6-16 10:04 | 显示全部楼层 |阅读模式
叶梵宸指标论坛免责声明
叶梵宸指标公式网(www.yefanchen.com)提醒您:本版块指标由市场整理提供 本指标不提供安装指导与使用方法 源码指标自行复制下载后 自行研究 股市是具有不确定性和不可预测性的,请正常对待和使用指标公式!如存在原创侵权问题 联系本平台客服 谢谢配合
648bc307d1073.png
副图公式源码支持 手机/电脑



WR:=100-100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42));
WR零:=IF(WR=0,-100,0);
RSV:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
J小于零:=IF(J<0,-50,0);
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
RSI1小于二十:=IF(RSI1<20,-150,0);
GUP1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),26);
GUP2:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),26);
GUP3:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),26);
VR:=100*(GUP1*2+GUP3)/(GUP2*2+GUP3);
VR小于五十:=IF(VR<50,-200,0);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))*1000/(15*AVEDEV(TYP,14));
MTR:=EMA(EMA(EMA(CLOSE,5),5),5);
TRIX:=(MTR-REF(MTR,1))/REF(MTR,1)*100;
DIF:=MA(CLOSE,10)-MA(CLOSE,50);
DPO:=CLOSE-REF(MA(CLOSE,20),20/2+1);
相加:=WR+J+RSI1+VR+CCI+DIF*100+DPO*100+TRIX*100;
相加前:=REF(相加,1);
加减仓:=(相加前-相加);
买点A:IF(WR零 OR J小于零 OR RSI1小于二十 OR VR小于五十,100,0);
买点B:IF(买点A AND 加减仓>0 AND J<0,300,0);
卖出A:IF(WR=100 OR J>100 OR RSI1>80 OR VR>260,-100,0);
卖出B:IF(卖出A AND 加减仓<0 AND J>100,-300,0);

选股公式源码



{选股公式一:买点A}
WR:=100-100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42));
WR零:=IF(WR=0,-100,0);
RSV:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
J小于零:=IF(J<0,-50,0);
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
RSI1小于二十:=IF(RSI1<20,-150,0);
GUP1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),26);
GUP2:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),26);
GUP3:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),26);
VR:=100*(GUP1*2+GUP3)/(GUP2*2+GUP3);
VR小于五十:=IF(VR<50,-200,0);
买点A:WR零 OR J小于零 OR RSI1小于二十 OR VR小于五十;
{选股公式二:买点B}
WR:=100-100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42));
WR零:=IF(WR=0,-100,0);
RSV:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
J小于零:=IF(J<0,-50,0);
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100;
RSI1小于二十:=IF(RSI1<20,-150,0);
GUP1:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),26);
GUP2:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),26);
GUP3:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),26);
VR:=100*(GUP1*2+GUP3)/(GUP2*2+GUP3);
VR小于五十:=IF(VR<50,-200,0);
TYP:=(HIGH+LOW+CLOSE)/3;
CCI:=(TYP-MA(TYP,14))*1000/(15*AVEDEV(TYP,14));
MTR:=EMA(EMA(EMA(CLOSE,5),5),5);
TRIX:=(MTR-REF(MTR,1))/REF(MTR,1)*100;
DIF:=MA(CLOSE,10)-MA(CLOSE,50);
DPO:=CLOSE-REF(MA(CLOSE,20),20/2+1);
相加:=WR+J+RSI1+VR+CCI+DIF*100+DPO*100+TRIX*100;
相加前:=REF(相加,1);
加减仓:=(相加前-相加);
买点A:=IF(WR零 OR J小于零 OR RSI1小于二十 OR VR小于五十,100,0);
买点B:买点A AND 加减仓>0 AND J<0;
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则