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

三段买入起飞 捕捉上涨龙头【指标公式】(含选股)

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


G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
N1:=80;N2:=1;N3:=1;N4:=1;
CAIH1:=EMA(G1,3);
CAIH2:=EMA(SLOPE(G1,21)*20+G1,55);
CAIH3:=CROSS(CAIH1,CAIH2);
CAIH4:=CROSS(CAIH2,CAIH1);
CAIH5:=COUNT(CAIH4,BARSLAST(CAIH3))=0;
CAIH6:=MA((-100)*(HHV(G4,34)-G1)/(HHV(G4,34)-LLV(G2,34)),19);
CAIH7:=(-100)*(HHV(G4,14)-G1)/(HHV(G4,14)-LLV(G2,14));
CAIH8:=EMA((-100)*(HHV(G4,34)-G1)/(HHV(G4,34)-LLV(G2,34)),4);
CAIH9:=CAIH6+100;CAIH10:=CAIH7+100;
CAIH11:=CAIH8+100;CAIH12:=CAIH10;
CAIH13:=CAIH11;CAIH14:=CAIH9;
CAIH15:=CAIH13>CAIH14 AND CAIH12>CAIH14 OR (CAIH13>CAIH14 AND CAIH12
CAIH16:=100-100*(HHV(G4,5*8)-G1)/(HHV(G4,5*8)-LLV(G2,5*8));
CAIH17:=CAIH16>=N1;CAIH18:=(G1*2+G4+G2)/4;
CAIH19:=EMA(CAIH18,13)-EMA(CAIH18,34);
CAIH20:=EMA(CAIH19,5);CAIH21:=2*(CAIH19-CAIH20)*3.8;
CAIH22:=CAIH21>=0;
CAIH23:=ABS(((3.48*G1+G4+G2)/4-EMA(G1,23))/EMA(G1,23));
CAIH24:=DMA((2.15*G1+G2+G4)/4,CAIH23);CAIH25:=1;
CAIH26:=EMA(CAIH24,200)*1.118;
CAIH27:=(G1-REF(G1,1))/REF(G1,1)*100>8;
CAIH28:=CROSS(G1,CAIH26) AND CAIH27;
CAIH29:=CAIH28*CAIH25;CAIH30:=REF(G1,1);
CAIH31:=EMA(HHV(G4,1),8);CAIH32:=EMA(G1,8);
CAIH33:=CAIH32
CAIH34:=IF(CAIH31
CAIH35:=IF(DATE>=1220928,0,1);
CAIH36:=SMA(MAX(G1-CAIH30,0),2,1)/SMA(ABS(G1-CAIH30),2,1)*100;
CAIH37:=45;CAIH38:=20;
CAIH39:=CAIH36CAIH37;
CAIH40:=CAIH36CAIH38;
CAIH41:=(COUNT(CAIH34=1,4)=3 AND CAIH34=0 AND G30.085)*89>=89 OR ((G1-REF(G1,1))/REF(G1,1)>0.085 AND (REF(CAIH40,1) OR REF(CAIH39,1)))*CAIH35;
CAIH42:=IF(G1>REF(G1,1),88,0);
CAIH43:=IF(G1/REF(G1,1)>1.05 AND G4/G10,91,0);
CAIH44:=FILTER(CAIH43>90,45) OR FILTER(CAIH43>90,35)*CAIH35;
CAIH45:=IF(N4=0,CAIH29 OR CAIH41 OR CAIH44 AND (CAIH17 AND CAIH22),CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17 AND CAIH22));
CAIH46:=IF(N2=0,CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH22),CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17 AND CAIH22));
CAIH47:=IF(N3=0,CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17),CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17 AND CAIH22));
CAIH48:=IF(N3=0 AND N2=0 AND N4=0,CAIH29 OR CAIH41 OR CAIH44,CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17 AND CAIH22));
CAIH49:=IF(N3=0 AND N2=0,CAIH29 OR CAIH41 OR CAIH44 AND CAIH15,CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17 AND CAIH22));
CAIH50:=IF(N3=0 AND N4=0,CAIH29 OR CAIH41 OR CAIH44 AND N2,CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17 AND CAIH22));
CAIH51:=IF(N2=0 AND N4=0,CAIH29 OR CAIH41 OR CAIH44 AND N3,CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17 AND CAIH22));
三段起飞:=(CAIH45 OR CAIH46 OR CAIH47 OR CAIH48 OR CAIH49 OR CAIH50 OR CAIH51)*CAIH35,COLORMAGENTA;
STICKLINE(三段起飞,0,30,2.6,0),COLORYELLOW;
STICKLINE(三段起飞,30,60,2.6,0),COLORRED;
STICKLINE(三段起飞,60,90,2.6,0),COLORMAGENTA;
DRAWICON(三段起飞,33,13);
DRAWICON(三段起飞,66,13);
DRAWICON(三段起飞,99,13);


第二部分 选股公式


{选股公式}
G1:=CLOSE;G2:=LOW;G3:=OPEN;G4:=HIGH;
N1:=80;N2:=1;N3:=1;N4:=1;
CAIH1:=EMA(G1,3);
CAIH2:=EMA(SLOPE(G1,21)*20+G1,55);
CAIH3:=CROSS(CAIH1,CAIH2);
CAIH4:=CROSS(CAIH2,CAIH1);
CAIH5:=COUNT(CAIH4,BARSLAST(CAIH3))=0;
CAIH6:=MA((-100)*(HHV(G4,34)-G1)/(HHV(G4,34)-LLV(G2,34)),19);
CAIH7:=(-100)*(HHV(G4,14)-G1)/(HHV(G4,14)-LLV(G2,14));
CAIH8:=EMA((-100)*(HHV(G4,34)-G1)/(HHV(G4,34)-LLV(G2,34)),4);
CAIH9:=CAIH6+100;CAIH10:=CAIH7+100;
CAIH11:=CAIH8+100;CAIH12:=CAIH10;
CAIH13:=CAIH11;CAIH14:=CAIH9;
CAIH15:=CAIH13>CAIH14 AND CAIH12>CAIH14 OR (CAIH13>CAIH14 AND CAIH12
CAIH16:=100-100*(HHV(G4,5*8)-G1)/(HHV(G4,5*8)-LLV(G2,5*8));
CAIH17:=CAIH16>=N1;CAIH18:=(G1*2+G4+G2)/4;
CAIH19:=EMA(CAIH18,13)-EMA(CAIH18,34);
CAIH20:=EMA(CAIH19,5);CAIH21:=2*(CAIH19-CAIH20)*3.8;
CAIH22:=CAIH21>=0;
CAIH23:=ABS(((3.48*G1+G4+G2)/4-EMA(G1,23))/EMA(G1,23));
CAIH24:=DMA((2.15*G1+G2+G4)/4,CAIH23);CAIH25:=1;
CAIH26:=EMA(CAIH24,200)*1.118;
CAIH27:=(G1-REF(G1,1))/REF(G1,1)*100>8;
CAIH28:=CROSS(G1,CAIH26) AND CAIH27;
CAIH29:=CAIH28*CAIH25;CAIH30:=REF(G1,1);
CAIH31:=EMA(HHV(G4,1),8);CAIH32:=EMA(G1,8);
CAIH33:=CAIH32
CAIH34:=IF(CAIH31
CAIH35:=IF(DATE>=1220928,0,1);
CAIH36:=SMA(MAX(G1-CAIH30,0),2,1)/SMA(ABS(G1-CAIH30),2,1)*100;
CAIH37:=45;CAIH38:=20;
CAIH39:=CAIH36CAIH37;
CAIH40:=CAIH36CAIH38;
CAIH41:=(COUNT(CAIH34=1,4)=3 AND CAIH34=0 AND G30.085)*89>=89 OR ((G1-REF(G1,1))/REF(G1,1)>0.085 AND (REF(CAIH40,1) OR REF(CAIH39,1)))*CAIH35;
CAIH42:=IF(G1>REF(G1,1),88,0);
CAIH43:=IF(G1/REF(G1,1)>1.05 AND G4/G10,91,0);
CAIH44:=FILTER(CAIH43>90,45) OR FILTER(CAIH43>90,35)*CAIH35;
CAIH45:=IF(N4=0,CAIH29 OR CAIH41 OR CAIH44 AND (CAIH17 AND CAIH22),CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17 AND CAIH22));
CAIH46:=IF(N2=0,CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH22),CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17 AND CAIH22));
CAIH47:=IF(N3=0,CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17),CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17 AND CAIH22));
CAIH48:=IF(N3=0 AND N2=0 AND N4=0,CAIH29 OR CAIH41 OR CAIH44,CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17 AND CAIH22));
CAIH49:=IF(N3=0 AND N2=0,CAIH29 OR CAIH41 OR CAIH44 AND CAIH15,CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17 AND CAIH22));
CAIH50:=IF(N3=0 AND N4=0,CAIH29 OR CAIH41 OR CAIH44 AND N2,CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17 AND CAIH22));
CAIH51:=IF(N2=0 AND N4=0,CAIH29 OR CAIH41 OR CAIH44 AND N3,CAIH29 OR CAIH41 OR CAIH44 AND (CAIH15 AND CAIH17 AND CAIH22));
三段起飞:(CAIH45 OR CAIH46 OR CAIH47 OR CAIH48 OR CAIH49 OR CAIH50 OR CAIH51)*CAIH35,COLORMAGENTA;


gnmpmnuy35327 发表于 2023-9-2 12:11:30

牛的一批!

飘渺九月 发表于 2023-9-6 13:47:43

找到好贴不容易,我顶你了,谢了

衣631 发表于 2023-11-27 23:40:38

帮帮顶顶!!

最爱小耽 发表于 2024-1-30 20:38:17

好好 学习了 确实不错

123321106 发表于 2024-3-6 02:50:59

楼主哪儿来的这么多好东西!

干将发硎鞘 发表于 2024-3-24 02:57:02

路过,帮顶一下!
页: [1]
查看完整版本: 三段买入起飞 捕捉上涨龙头【指标公式】(含选股)