短线趋势抓底 超短快速买卖【指标公式】(含选股)
第一部分 副图公式 手机/电脑
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;
DRAWICON(CROSS(趋势线,0),0,1);
DRAWICON(CROSS(100,超短线),100,2);
DRAWTEXT(趋势线>REF(趋势线,1)AND REF(趋势线,1)
第二部分 选股公式