杨柳657 发表于 2023-5-27 00:59:54

2023极底绝境反攻 强势反弹买入《通达信+指标+公式+副图+源码》


副图公式 源码支持手机/电脑



CHP1W:=(HIGH+LOW+OPEN+2*CLOSE)/5;
CHP2W:=REF(CHP1W,1);
CHP3W:=SMA(MAX(CHP1W-CHP2W,0),10,1)/SMA(ABS(CHP1W-CHP2W),10,1)*100;
CHDB:=IF(COUNT(CHP3W<=14,2),30,0);
CHPAD:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
CHPBD:=100-ABS(CHPAD);
CHPED:=REF(LOW,1)*0.9;
CHPFD:=LOW*0.9;
CHP101:=(CHPFD*VOL+CHPED*(CAPITAL-VOL))/CAPITAL;
CHP111:=EMA(CHP101,30);
CHP121:=CHP111-CLOSE;
CHP131:=REF(CLOSE,1);
CHP141:=SMA(MAX(CLOSE-CHP131,0),7,1)/SMA(ABS(CLOSE-CHP131),7,1)*100;
CHP151:=SMA(MAX(CLOSE-CHP131,0),13,1)/SMA(ABS(CLOSE-CHP131),13,1)*100;
CHP161:=BARSCOUNT(CLOSE);
CHP171:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
CHP181:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
CHP191:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
CHP1AD:=(SMA(CHP191,4,1)-50)*2;
CHP1BD:=SMA(CHP1AD,3,1);
CHP1CD:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
CHP1DD:=SMA(CHP1CD,4,1);
CHP1ED:=SMA(CHP1DD,3,1);
CHP1FD:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
CHP201:=IF(CHP171<=25 AND CHP181<-95 AND CHP1FD>20 AND CHP1BD<-30 AND CHP1ED<30 AND CHP121>=-0.25 AND CHP141<25 AND CHP151<30 AND CHP161>50,70,0);
CHTD:=CHP201;
CHTO:=IF(CHPBD<90,CHPBD,100);
T6:=CHTD>50 AND CHTO<90;
CHTI:=T6 AND COUNT(T6,30)=1;
CHFD:=IF(CROSS(CHP3W,CHDB) AND VOL>1.5*MA(VOL,5),1,0);
DRAWTEXT(CHTI OR CHFD,50,'抢反弹');
STICKLINE(CHTI OR CHFD,55,0,0.6,0),COLORYELLOW;
CHP2N:=LLV(LOW,3)<=LLV(LOW,60);
CHP3N:= C>O AND (C/O>1.03 OR C>1.03*REF(C,1));
极底反攻:=IF(CHP2N AND CHP3N,1,0);
DRAWTEXT(极底反攻,50,'极底反攻');
STICKLINE(极底反攻,55,0,0.6,0),COLORRED;

选股公式源码



{选股公式一:抢反弹}
CHP1W:=(HIGH+LOW+OPEN+2*CLOSE)/5;
CHP2W:=REF(CHP1W,1);
CHP3W:=SMA(MAX(CHP1W-CHP2W,0),10,1)/SMA(ABS(CHP1W-CHP2W),10,1)*100;
CHDB:=IF(COUNT(CHP3W<=14,2),30,0);
CHPAD:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
CHPBD:=100-ABS(CHPAD);
CHPED:=REF(LOW,1)*0.9;
CHPFD:=LOW*0.9;
CHP101:=(CHPFD*VOL+CHPED*(CAPITAL-VOL))/CAPITAL;
CHP111:=EMA(CHP101,30);
CHP121:=CHP111-CLOSE;
CHP131:=REF(CLOSE,1);
CHP141:=SMA(MAX(CLOSE-CHP131,0),7,1)/SMA(ABS(CLOSE-CHP131),7,1)*100;
CHP151:=SMA(MAX(CLOSE-CHP131,0),13,1)/SMA(ABS(CLOSE-CHP131),13,1)*100;
CHP161:=BARSCOUNT(CLOSE);
CHP171:=SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
CHP181:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
CHP191:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;
CHP1AD:=(SMA(CHP191,4,1)-50)*2;
CHP1BD:=SMA(CHP1AD,3,1);
CHP1CD:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
CHP1DD:=SMA(CHP1CD,4,1);
CHP1ED:=SMA(CHP1DD,3,1);
CHP1FD:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
CHP201:=IF(CHP171<=25 AND CHP181<-95 AND CHP1FD>20 AND CHP1BD<-30 AND CHP1ED<30 AND CHP121>=-0.25 AND CHP141<25 AND CHP151<30 AND CHP161>50,70,0);
CHTD:=CHP201;
CHTO:=IF(CHPBD<90,CHPBD,100);
T6:=CHTD>50 AND CHTO<90;
CHTI:=T6 AND COUNT(T6,30)=1;
CHFD:=IF(CROSS(CHP3W,CHDB) AND VOL>1.5*MA(VOL,5),1,0);
抢反弹:CHTI OR CHFD;

{选股公式二:极底反攻}
CHP1W:=(HIGH+LOW+OPEN+2*CLOSE)/5;
CHP2W:=REF(CHP1W,1);
CHP3W:=SMA(MAX(CHP1W-CHP2W,0),10,1)/SMA(ABS(CHP1W-CHP2W),10,1)*100;
CHDB:=IF(COUNT(CHP3W<=14,2),30,0);
CHPAD:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
CHPBD:=100-ABS(CHPAD);
CHPED:=REF(LOW,1)*0.9;
CHPFD:=LOW*0.9;
CHP101:=(CHPFD*VOL+CHPED*(CAPITAL-VOL))/CAPITAL;
CHP2N:=LLV(LOW,3)<=LLV(LOW,60);
CHP3N:= C>O AND (C/O>1.03 OR C>1.03*REF(C,1));
极底反攻:CHP2N AND CHP3N;

张玉萍Pilar 发表于 2023-6-3 12:09:02

多多点赞好好学习

両个亻人辶 发表于 2023-7-14 13:17:19

多多点赞好好学习

123457647 发表于 2023-7-18 10:41:05

好好 学习了 确实不错

李冰381 发表于 2023-7-29 06:55:32

学习了,谢谢分享、、、

甜言疯语 发表于 2023-8-22 16:57:05

有道理。。。

搞笑人生一及 发表于 2023-9-14 16:19:30

学习了,谢谢分享、、、

排例统 发表于 2023-12-1 15:38:38

尝试一下

呐年樱花落落t 发表于 2024-4-7 14:30:54

路过,帮顶一下!
页: [1]
查看完整版本: 2023极底绝境反攻 强势反弹买入《通达信+指标+公式+副图+源码》