beyond202104 发表于 2023-8-28 15:22:21

中短线抄底买入信号【指标公式】(含选股)

第一部分 副图公式 手机/电脑


N1:=21;N2:=8;
CAIH1:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
CAIH2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
CAIH3:=SMA(SMA(CAIH2,3,1),3,1);
CAIH4:=EMA(CAIH3,5);
CAIH5:=(2*C+H+L)/4;
CAIH6:=LLV(LOW,N1);
CAIH7:=HHV(HIGH,N2);
CAIH8:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
CAIH9:= EMA(CAIH8,3);
CAIH10:=EMA(CAIH8,7);
CAIH11:=EMA(CAIH10,5);
CAIH12:=CROSS(CAIH9,CAIH11) AND CAIH1180,80,0);
CAIH14:=EMA((CAIH5-CAIH6)/(CAIH7-CAIH6)*100,9);
CAIH15:=EMA(0.667*REF(CAIH14,1)+0.333*CAIH14,2),COLORWHITE;
逃顶:IF((BARSLAST(CAIH13>0)0,CAIH14,CAIH15,3,0);
STICKLINE((CAIH14-CAIH15)<0,CAIH14,CAIH15,3,0),COLORYELLOW;
DRAWTEXT(CROSS(CAIH14,20),18,'买入'),COLORRED;
DRAWTEXT(CROSS(80,CAIH14),82,'卖出'),COLORGREEN;


第二部分 选股公式


{选股公式一:抄底信号}
N1:=21;N2:=8;
CAIH1:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
CAIH2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
CAIH3:=SMA(SMA(CAIH2,3,1),3,1);
CAIH4:=EMA(CAIH3,5);
CAIH5:=(2*C+H+L)/4;
CAIH6:=LLV(LOW,N1);
CAIH7:=HHV(HIGH,N2);
CAIH8:=100-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
CAIH9:= EMA(CAIH8,3);
CAIH10:=EMA(CAIH8,7);
CAIH11:=EMA(CAIH10,5);
CAIH12:=CROSS(CAIH9,CAIH11) AND CAIH11<20,COLORBLUE;
抄底信号:CAIH12;
{选股公式二:买入}
N1:=21;N2:=8;
CAIH1:=3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)-2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
CAIH2:=(CLOSE-LLV(LOW,26))/(HHV(HIGH,26)-LLV(LOW,26))*100;
CAIH3:=SMA(SMA(CAIH2,3,1),3,1);
CAIH4:=EMA(CAIH3,5);
CAIH5:=(2*C+H+L)/4;
CAIH6:=LLV(LOW,N1);
CAIH7:=HHV(HIGH,N2);
CAIH14:=EMA((CAIH5-CAIH6)/(CAIH7-CAIH6)*100,9);
买入:CROSS(CAIH14,20);


俞王啸坤范 发表于 2023-9-6 13:43:51

thanks for the sharing!

诗住花若响 发表于 2023-9-12 21:54:10

看帖回帖是美德!:lol

苏晋喔晋v 发表于 2023-9-18 20:03:21

很好的内容,感谢分享!

1912167030 发表于 2023-9-19 15:50:50

爱你,么么哒,哈哈……

兰905 发表于 2024-1-22 09:09:54

学习了,谢谢分享、、、
页: [1]
查看完整版本: 中短线抄底买入信号【指标公式】(含选股)