beyond202104 发表于 2023-8-28 15:24:42

底部低位吸筹 顶部高抛卖出【指标公式】(含选股)

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


CAIH1:=(C*2+H+L)/4*10;
CAIH2:=EMA(CAIH1,13)-EMA(CAIH1,34);
CAIH3:=EMA(CAIH2,5); CAIH4:=2*(CAIH2-CAIH3)*5.5;
CAIH5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
CAIH6:=EMA(3*CAIH5-2*SMA(CAIH5,18,1),5);
CAIH7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
CAIH8:=(INDEXC*2+INDEXH+INDEXL)/4;
CAIH9:=EMA(CAIH8,13)-EMA(CAIH8,34);
CAIHA:=EMA(CAIH9,3);
CAIHB:=(CAIH9-CAIHA)/2;
CAIH11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
CAIH12:=(EMA(CAIH11,3)-REF(EMA(CAIH11,3),1))/REF(EMA(CAIH11,3),1)*100;
CHB:=(EMA(CAIH11,3)13) AND FILTER((EMA(CAIH11,3)13),10) ;
DRAWTEXT(CHB,45,'低吸'),COLORLIMAGENTA;
卖:STICKLINE(EMA(CAIH11,3)>60 AND EMA(CAIH11,3)>REF(EMA(CAIH11,3),1),100,95,15,1),COLORGREEN;
CHC:=(EMA(CAIH11,3)>=90 AND CAIH12) AND FILTER((EMA(CAIH11,3)>=90 AND CAIH12),10);
STICKLINE(IF(CAIHB>=0,CAIHB,0) AND EMA(CAIH11,3)<13,0,20,10,0),COLORLIMAGENTA;
STICKLINE(IF(CAIHB90,0,20,10,0),COLORGREEN;
STICKLINE( IF(CAIH4>=0,CAIH4,1) AND EMA(CAIH11,3)<13,0,20,10,0),COLORFF00FF;
STICKLINE(IF(CAIH490,0,20,10,0),COLORLIBLUE;
DRAWTEXT(CHC,43,'高抛'),COLORLIBLUE;


第二部分 选股公式


{选股公式:低吸}
CAIH1:=(C*2+H+L)/4*10;
CAIH2:=EMA(CAIH1,13)-EMA(CAIH1,34);
CAIH3:=EMA(CAIH2,5); CAIH4:=2*(CAIH2-CAIH3)*5.5;
CAIH5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
CAIH6:=EMA(3*CAIH5-2*SMA(CAIH5,18,1),5);
CAIH7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
CAIH8:=(INDEXC*2+INDEXH+INDEXL)/4;
CAIH9:=EMA(CAIH8,13)-EMA(CAIH8,34);
CAIHA:=EMA(CAIH9,3);
CAIHB:=(CAIH9-CAIHA)/2;
CAIH11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
CAIH12:=(EMA(CAIH11,3)-REF(EMA(CAIH11,3),1))/REF(EMA(CAIH11,3),1)*100;
CHB:=(EMA(CAIH11,3)13) AND FILTER((EMA(CAIH11,3)13),10) ;
低吸:CHB;
{卖出公式:高抛}
CAIH1:=(C*2+H+L)/4*10;
CAIH2:=EMA(CAIH1,13)-EMA(CAIH1,34);
CAIH3:=EMA(CAIH2,5); CAIH4:=2*(CAIH2-CAIH3)*5.5;
CAIH5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
CAIH6:=EMA(3*CAIH5-2*SMA(CAIH5,18,1),5);
CAIH7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
CAIH8:=(INDEXC*2+INDEXH+INDEXL)/4;
CAIH9:=EMA(CAIH8,13)-EMA(CAIH8,34);
CAIHA:=EMA(CAIH9,3);
CAIHB:=(CAIH9-CAIHA)/2;
CAIH11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
CAIH12:=(EMA(CAIH11,3)-REF(EMA(CAIH11,3),1))/REF(EMA(CAIH11,3),1)*100;
CHC:=(EMA(CAIH11,3)>=90 AND CAIH12) AND FILTER((EMA(CAIH11,3)>=90 AND CAIH12),10);
高抛:CHC;


孤星荣僖 发表于 2023-9-21 21:20:14

谢谢了呀,辛苦了呀,支持呀!

袖矜 发表于 2024-1-18 08:36:13

路过,支持一下啦

丹尼斯尼士邦帐 发表于 2024-4-3 16:28:32

好人一生平安!
页: [1]
查看完整版本: 底部低位吸筹 顶部高抛卖出【指标公式】(含选股)