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

短线趋势买底 波段精简顶底【指标公式】(含选股)

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


CAIH1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
CAIH2:=SMA(CAIH1,3,1);
CAIH3:=SMA(CAIH2,3,1);
CAIH4:=3*CAIH2-2*CAIH3;
CAIH5:=LLV(LOW,5);
CAIH6:=HHV(HIGH,5);
CAIH7:=EMA((CLOSE-CAIH5)/(CAIH6-CAIH5)*100,4)*2;
CAIH8:=EMA(0.667*REF(CAIH7,1)+0.333*CAIH7,2);
CAIH9:=3*CAIH7-2*CAIH8;
CAIHA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
CAIHB:=POW(MA(LOW,5),2)+MA(LOW,5);
CAIHC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
CAIHD:=(CAIHA-LLV(CAIHB,64))/(HHV(CAIHC,64)-LLV(CAIHB,64))*150+65-10;
CAIHE:=SMA(CAIHD,3,1)*1.5-100;
CAIHF:=SMA(CAIHE,3,1);
CAIH10:=3*CAIHE-2*CAIHF;
CAIH11:=(HIGH+LOW+CLOSE*2)/4;
CAIH12:=EMA(CAIH11,13);
CAIH13:=STD(CAIH11,13);
CAIH14:=(CAIH11-CAIH12)*100/CAIH13;
CAIH15:=EMA(CAIH14,5);
CAIH17:=EMA(CAIH15,13)+200-100;
CAIH18:=EMA(CAIH17,10);
CAIH19:=3*CAIH17-2*CAIH18;
CAIH1A:=CAIH2+CAIH7+CAIHE+CAIH17;
CAIH1B:=CAIH3+CAIH8+CAIHF+CAIH18;
CAIH1C:=CAIH4+CAIH9+CAIH10+CAIH19;
CAIH1D:=(HIGH+LOW+CLOSE)/3;
CAIH20:=(CAIH1D-MA(CAIH1D,34))/(0.015*AVEDEV(CAIH1D,34));
CAIH22:=(HIGH+LOW+CLOSE+CAIH1D)/4;
CAIH23:=EMA(CAIH22,24);
CAIH24:=STD(CAIH22,24);
CAIH25:=(CAIH22-CAIH23)/CAIH24*100;
CAIH26:=(CAIH1D-MA(CAIH1D,24))/(0.015*AVEDEV(CAIH1D,24));
CAIH27:=EMA(CAIH25,5);
CAIH2A:=((CAIH27+CAIH26+CAIH20)/3+165)/4;
CAIH2B:=(EMA(EMA(EMA(CAIH2A,15),10),5)-25)*2;
CAIH2C:=(CAIH1A+CAIH1B+CAIH1C*30)/32/5-15;
CAIH2D:=EMA(CAIH2C,7);
CAIH2E:=(CAIH2A+CAIH2C)/2/1.1;
超短线:EMA(CAIH2E,3),COLORRED;
短线:EMA(超短线,5),COLORWHITE;
趋势线:EMA((CAIH2B+CAIH2D)/2,2),COLORYELLOW;
DRAWICON(CROSS(趋势线,0),0,1);
DRAWICON(CROSS(100,超短线),100,2);
DRAWTEXT(趋势线>REF(趋势线,1)AND REF(趋势线,1)


第二部分 选股公式


{选股公式一:买底}
CAIH1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
CAIH2:=SMA(CAIH1,3,1);
CAIH3:=SMA(CAIH2,3,1);
CAIH4:=3*CAIH2-2*CAIH3;
CAIH5:=LLV(LOW,5);
CAIH6:=HHV(HIGH,5);
CAIH7:=EMA((CLOSE-CAIH5)/(CAIH6-CAIH5)*100,4)*2;
CAIH8:=EMA(0.667*REF(CAIH7,1)+0.333*CAIH7,2);
CAIH9:=3*CAIH7-2*CAIH8;
CAIHA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
CAIHB:=POW(MA(LOW,5),2)+MA(LOW,5);
CAIHC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
CAIHD:=(CAIHA-LLV(CAIHB,64))/(HHV(CAIHC,64)-LLV(CAIHB,64))*150+65-10;
CAIHE:=SMA(CAIHD,3,1)*1.5-100;
CAIHF:=SMA(CAIHE,3,1);
CAIH10:=3*CAIHE-2*CAIHF;
CAIH11:=(HIGH+LOW+CLOSE*2)/4;
CAIH12:=EMA(CAIH11,13);
CAIH13:=STD(CAIH11,13);
CAIH14:=(CAIH11-CAIH12)*100/CAIH13;
CAIH15:=EMA(CAIH14,5);
CAIH17:=EMA(CAIH15,13)+200-100;
CAIH18:=EMA(CAIH17,10);
CAIH19:=3*CAIH17-2*CAIH18;
CAIH1A:=CAIH2+CAIH7+CAIHE+CAIH17;
CAIH1B:=CAIH3+CAIH8+CAIHF+CAIH18;
CAIH1C:=CAIH4+CAIH9+CAIH10+CAIH19;
CAIH1D:=(HIGH+LOW+CLOSE)/3;
CAIH20:=(CAIH1D-MA(CAIH1D,34))/(0.015*AVEDEV(CAIH1D,34));
CAIH22:=(HIGH+LOW+CLOSE+CAIH1D)/4;
CAIH23:=EMA(CAIH22,24);
CAIH24:=STD(CAIH22,24);
CAIH25:=(CAIH22-CAIH23)/CAIH24*100;
CAIH26:=(CAIH1D-MA(CAIH1D,24))/(0.015*AVEDEV(CAIH1D,24));
CAIH27:=EMA(CAIH25,5);
CAIH2A:=((CAIH27+CAIH26+CAIH20)/3+165)/4;
CAIH2B:=(EMA(EMA(EMA(CAIH2A,15),10),5)-25)*2;
CAIH2C:=(CAIH1A+CAIH1B+CAIH1C*30)/32/5-15;
CAIH2D:=EMA(CAIH2C,7);
CAIH2E:=(CAIH2A+CAIH2C)/2/1.1;
超短线:=EMA(CAIH2E,3),COLORRED;
短线:=EMA(超短线,5),COLORWHITE;
趋势线:=EMA((CAIH2B+CAIH2D)/2,2),COLORYELLOW;
买底:趋势线>REF(趋势线,1)AND REF(趋势线,1)
{选股公式二:红箭头图标}
CAIH1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;
CAIH2:=SMA(CAIH1,3,1);
CAIH3:=SMA(CAIH2,3,1);
CAIH4:=3*CAIH2-2*CAIH3;
CAIH5:=LLV(LOW,5);
CAIH6:=HHV(HIGH,5);
CAIH7:=EMA((CLOSE-CAIH5)/(CAIH6-CAIH5)*100,4)*2;
CAIH8:=EMA(0.667*REF(CAIH7,1)+0.333*CAIH7,2);
CAIH9:=3*CAIH7-2*CAIH8;
CAIHA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
CAIHB:=POW(MA(LOW,5),2)+MA(LOW,5);
CAIHC:=POW(MA(HIGH,5),2)+MA(HIGH,5);
CAIHD:=(CAIHA-LLV(CAIHB,64))/(HHV(CAIHC,64)-LLV(CAIHB,64))*150+65-10;
CAIHE:=SMA(CAIHD,3,1)*1.5-100;
CAIHF:=SMA(CAIHE,3,1);
CAIH10:=3*CAIHE-2*CAIHF;
CAIH11:=(HIGH+LOW+CLOSE*2)/4;
CAIH12:=EMA(CAIH11,13);
CAIH13:=STD(CAIH11,13);
CAIH14:=(CAIH11-CAIH12)*100/CAIH13;
CAIH15:=EMA(CAIH14,5);
CAIH17:=EMA(CAIH15,13)+200-100;
CAIH18:=EMA(CAIH17,10);
CAIH19:=3*CAIH17-2*CAIH18;
CAIH1A:=CAIH2+CAIH7+CAIHE+CAIH17;
CAIH1B:=CAIH3+CAIH8+CAIHF+CAIH18;
CAIH1C:=CAIH4+CAIH9+CAIH10+CAIH19;
CAIH1D:=(HIGH+LOW+CLOSE)/3;
CAIH20:=(CAIH1D-MA(CAIH1D,34))/(0.015*AVEDEV(CAIH1D,34));
CAIH22:=(HIGH+LOW+CLOSE+CAIH1D)/4;
CAIH23:=EMA(CAIH22,24);
CAIH24:=STD(CAIH22,24);
CAIH25:=(CAIH22-CAIH23)/CAIH24*100;
CAIH26:=(CAIH1D-MA(CAIH1D,24))/(0.015*AVEDEV(CAIH1D,24));
CAIH27:=EMA(CAIH25,5);
CAIH2A:=((CAIH27+CAIH26+CAIH20)/3+165)/4;
CAIH2B:=(EMA(EMA(EMA(CAIH2A,15),10),5)-25)*2;
CAIH2C:=(CAIH1A+CAIH1B+CAIH1C*30)/32/5-15;
CAIH2D:=EMA(CAIH2C,7);
CAIH2E:=(CAIH2A+CAIH2C)/2/1.1;
超短线:=EMA(CAIH2E,3),COLORRED;
短线:=EMA(超短线,5),COLORWHITE;
趋势线:=EMA((CAIH2B+CAIH2D)/2,2),COLORYELLOW;
红箭头图标:CROSS(趋势线,0);


天道一定酬勤鸦 发表于 2023-11-17 19:30:10

无量天尊!

1262259 发表于 2024-1-21 06:16:36

功德无量!

把心掏給珎丶 发表于 2024-3-12 05:54:02

学习了,谢谢分享、、、
页: [1]
查看完整版本: 短线趋势买底 波段精简顶底【指标公式】(含选股)