beyond202104 发表于 2023-8-28 15:27:06

短线进攻买入 出击适时加仓【指标公式】(含选股)

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


N:=26;
CAIH1:=EMA(HHV(H,500),21);
CAIH2:=EMA(HHV(H,250),21);
CAIH3:=EMA(HHV(H,90),21);
CAIH4:=EMA(LLV(L,500),21);
CAIH5:=EMA(LLV(L,250),21);
CAIH6:=EMA(LLV(L,90),21);
CAIH7:=EMA((CAIH1*0.558+CAIH2*0.558+CAIH3*0.558+CAIH4*0.96+CAIH5*0.96+CAIH6*0.96)/6,21);
CAIH8:=EMA((CAIH1*0.55 +CAIH2*0.55+ CAIH3*0.65+ CAIH4*1.25+CAIH5*1.23+CAIH6*1.2 )/6,21);
CAIH9:=EMA((CAIH1*0.68+ CAIH2*0.68+ CAIH3*0.68+ CAIH4*1.3 +CAIH5*1.3+ CAIH6*1.3 )/6,21);
CHAA:=EMA((CAIH7*3+CAIH8*2+CAIH9)/6*1.738,21);
CHAB:=REF(LOW,1);
CHAC:=SMA(ABS(LOW-CHAB),3,1)/SMA(MAX(LOW-CHAB,0),3,1)*100;
CHAD:=EMA(IF(C*1.35<=CHAA,CHAC*10,CHAC/10),3);
CHAE:=LLV(L,30);
CHAF:=HHV(CHAD,30);
CHA10:=IF(MA(C,58),1,0);
CHA11:=EMA(IF(LOW<=CHAE,(CHAD+CHAF*2)/2,0),3)/618*CHA10;
MID:=REF(H+L,1)/2;
CR:=SUM(MAX(0,H-MID),N)/SUM(MAX(0,MID-L),N)*100;
进攻:IF(CR10,35,0),COLORYELLOW;
出击:IF (CHA11>20,30,0),COLORRED;
CAIHC1:=(MA(C,80)-MA(C,13)/3);
CAIHC2:= MA((C-CAIHC1)/CAIHC1,1);
CAIHC3:=EMA(CAIHC2,12)*0.7;
CAIHC4:=EMA(CAIHC2,3);
CAIHC5:=IF(LLV(CAIHC4-CAIHC3,12)>0,0,-10);
CAIHC6:=EMA(C,12)-EMA(C,26);
CAIHC7:=EMA(CAIHC6,9);
CAIHC8:=2*(CAIHC6-CAIHC7);
加仓:IF(CAIHC5<0 AND CROSS(CAIHC8,0),50,0),LINETHICK1,COLORLIRED;
DRAWTEXT(加仓,35,'←加仓'),COLORLIRED;


第二部分 选股公式


{选股公式一:进攻}
N:=26;
CAIH1:=EMA(HHV(H,500),21);
CAIH2:=EMA(HHV(H,250),21);
CAIH3:=EMA(HHV(H,90),21);
CAIH4:=EMA(LLV(L,500),21);
CAIH5:=EMA(LLV(L,250),21);
CAIH6:=EMA(LLV(L,90),21);
CAIH7:=EMA((CAIH1*0.558+CAIH2*0.558+CAIH3*0.558+CAIH4*0.96+CAIH5*0.96+CAIH6*0.96)/6,21);
CAIH8:=EMA((CAIH1*0.55 +CAIH2*0.55+ CAIH3*0.65+ CAIH4*1.25+CAIH5*1.23+CAIH6*1.2 )/6,21);
CAIH9:=EMA((CAIH1*0.68+ CAIH2*0.68+ CAIH3*0.68+ CAIH4*1.3 +CAIH5*1.3+ CAIH6*1.3 )/6,21);
CHAA:=EMA((CAIH7*3+CAIH8*2+CAIH9)/6*1.738,21);
CHAB:=REF(LOW,1);
CHAC:=SMA(ABS(LOW-CHAB),3,1)/SMA(MAX(LOW-CHAB,0),3,1)*100;
CHAD:=EMA(IF(C*1.35<=CHAA,CHAC*10,CHAC/10),3);
CHAE:=LLV(L,30);
CHAF:=HHV(CHAD,30);
CHA10:=IF(MA(C,58),1,0);
CHA11:=EMA(IF(LOW<=CHAE,(CHAD+CHAF*2)/2,0),3)/618*CHA10;
MID:=REF(H+L,1)/2;
CR:=SUM(MAX(0,H-MID),N)/SUM(MAX(0,MID-L),N)*100;
进攻:CR10,COLORYELLOW;

{选股公式二:加仓}
CAIHC1:=(MA(C,80)-MA(C,13)/3);
CAIHC2:= MA((C-CAIHC1)/CAIHC1,1);
CAIHC3:=EMA(CAIHC2,12)*0.7;
CAIHC4:=EMA(CAIHC2,3);
CAIHC5:=IF(LLV(CAIHC4-CAIHC3,12)>0,0,-10);
CAIHC6:=EMA(C,12)-EMA(C,26);
CAIHC7:=EMA(CAIHC6,9);
CAIHC8:=2*(CAIHC6-CAIHC7);
加仓:CAIHC5<0 AND CROSS(CAIHC8,0),COLORLIRED;
{选股公式三:出击}
N:=26;
CAIH1:=EMA(HHV(H,500),21);
CAIH2:=EMA(HHV(H,250),21);
CAIH3:=EMA(HHV(H,90),21);
CAIH4:=EMA(LLV(L,500),21);
CAIH5:=EMA(LLV(L,250),21);
CAIH6:=EMA(LLV(L,90),21);
CAIH7:=EMA((CAIH1*0.558+CAIH2*0.558+CAIH3*0.558+CAIH4*0.96+CAIH5*0.96+CAIH6*0.96)/6,21);
CAIH8:=EMA((CAIH1*0.55 +CAIH2*0.55+ CAIH3*0.65+ CAIH4*1.25+CAIH5*1.23+CAIH6*1.2 )/6,21);
CAIH9:=EMA((CAIH1*0.68+ CAIH2*0.68+ CAIH3*0.68+ CAIH4*1.3 +CAIH5*1.3+ CAIH6*1.3 )/6,21);
CHAA:=EMA((CAIH7*3+CAIH8*2+CAIH9)/6*1.738,21);
CHAB:=REF(LOW,1);
CHAC:=SMA(ABS(LOW-CHAB),3,1)/SMA(MAX(LOW-CHAB,0),3,1)*100;
CHAD:=EMA(IF(C*1.35<=CHAA,CHAC*10,CHAC/10),3);
CHAE:=LLV(L,30);
CHAF:=HHV(CHAD,30);
CHA10:=IF(MA(C,58),1,0);
CHA11:=EMA(IF(LOW20,COLORRED;


再见拉登揪 发表于 2023-8-30 21:12:35

帮帮顶顶!!

依转岛与 发表于 2024-2-18 11:13:59

真是 收益 匪浅
页: [1]
查看完整版本: 短线进攻买入 出击适时加仓【指标公式】(含选股)