精悍买入提示 三色美化信号【指标公式】(含选股)
第一部分 副图公式 手机/电脑
CAIH1:=MA(CLOSE,5);CAIH2:=MA(CLOSE,10);
CAIH3:=MA(CLOSE,60);CAIH4:=MA(CLOSE,120);
CAIH5:=REF(CLOSE,1)CAIH4;
CAIH6:=REF(CAIH5,1)=0 AND CAIH5;CAIH7:=EMA(HHV(HIGH,1),8);
CAIH8:=EMA(CLOSE,8);CAIH9:=CAIH8
CAIH10:=IF(CAIH7
CAIH11:=(COUNT(CAIH10=1,4)=3 AND CAIH10=0)*89;
CAIH12:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
CAIH13:=IF(CLOSE>OPEN,CAIH12*(HIGH-LOW),IF(CLOSEOPEN,0-CAIH12*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE
CAIH14:=CAIH13/20/1.15;
CAIH15:=CAIH14*0.55+REF(CAIH14,1)*0.33+REF(CAIH14,2)*0.22;
CAIH16:=EMA(CAIH15,3);CAIH17:=CAIH16<100;
CAIH18:=COUNT(CAIH17,9)1.09;
CAIH20:=CLOSE=HIGH;CAIH21:=REF(CAIH19,1) AND REF(CAIH20,1);
CAIH22:=COUNT(CAIH21,11)>0;CAIH23:=MA(CLOSE,3);
CAIH24:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
CAIH25:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
CAIH26:=REF(HHV(VOL,10),1);CAIH27:=MA(CLOSE,20);CAIH28:=(CAIH23+CAIH1)/2;
CAIH29:=COUNT(COUNT(CAIH24>9.9 AND CLOSE=HIGH,1)>=1,30)>0;
CAIH30:=COUNT(COUNT(CAIH24>9.9 AND CLOSE=HIGH,1)>=1,60)>0;
CAIH31:=CAIH27>REF(CAIH27,1) AND VOL3 AND OPENCAIH1 AND (COUNT(CAIH28>REF(CAIH28,1),3)>=3 OR COUNT(CAIH1>REF(CAIH1,1),3)>=3) AND COUNT(CAIH27>REF(CAIH27,1),25)>=16;
CAIH32:=(CLOSE-OPEN)/OPEN*100;
CAIH33:=CAIH30 AND VOL0.5,6)>=5 AND COUNT(CAIH23>CAIH1,5)>=5 AND COUNT(HIGH>REF(HIGH,1),6)>=5 AND CAIH25>4.5 AND OPENCAIH23 AND OPEN>CAIH1;
CAIH34:=CAIH31 OR CAIH33;CAIH35:=CAIH34=1 AND COUNT(CAIH34,15)=1;
CAIH36:=AMOUNT/VOL/7;CAIH37:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
CAIH38:=SUM(AMOUNT,10)/CAIH36/7;CAIH39:=DMA(CAIH37,VOL/CAIH38);
CAIH40:=(CLOSE-CAIH39)/CAIH39*100;CAIH41:=-CAIH40;
CAIH42:=CAIH40>CAIH41;CAIH43:=CROSS(CAIH40,0.6) AND CAIH42;
CAIH44:=EMA(CLOSE/REF(CLOSE,1),5);
CAIH45:=EMA(CLOSE/REF(CLOSE,1),10);
CAIH46:=CROSS(CAIH44,CAIH45);
CAIH47:=CAIH43 AND CAIH46;CAIH48:=CAIH47 AND CAIH35;
CAIH49:=COUNT(CAIH35,10)>0;
CAIH50:=CAIH47 AND CAIH49 AND CAIH22;
CAIH51:=CAIH47 AND CAIH22 AND CAIH11;
CAIH52:=CAIH48 AND CAIH22;CAIH53:=CAIH50 OR CAIH52 OR CAIH51;
CAIH54:=(EMA(CLOSE,12)-EMA(CLOSE,26))/EMA(CLOSE,26)*100;
CAIH55:=EMA(CAIH54,9);CAIH56:=(CAIH54-CAIH55)*100;
CAIH57:=CAIH56-REF(CAIH56,1);CAIH58:=CROSS(CAIH57,50);
CAIH59:=EMA(EMA(EMA(CLOSE,12),12),12);
CAIH60:=(CAIH59-REF(CAIH59,1))/REF(CAIH59,1)*100;
CAIH61:=MA(CAIH60,9);CAIH62:=CAIH60>CAIH61;
CAIH63:=CLOSE/REF(CLOSE,1)>1.09;CAIH64:=CLOSE=HIGH;
CAIH65:=REF(CAIH63,1) AND REF(CAIH64,1);
CAIH66:=COUNT(CAIH65,4)>0;CAIH67:=COUNT(CAIH65,5)>0;
CAIH68:=(3*CLOSE+LOW+OPEN+HIGH)/6;
CAIH69:=(20*CAIH68+19*REF(CAIH68,1)+18*REF(CAIH68,2)+17*REF(CAIH68,3)+16*REF(CAIH68,4)+15*REF(CAIH68,5)+14*REF(CAIH68,6)+13*REF(CAIH68,7)+12*REF(CAIH68,8)+11*REF(CAIH68,9)+10*REF(CAIH68,10)+9*REF(CAIH68,11)+8*REF(CAIH68,12)+7*REF(CAIH68,13)+6*REF(CAIH68,14)+5*REF(CAIH68,15)+4*REF(CAIH68,16)+3*REF(CAIH68,17)+2*REF(CAIH68,18)+REF(CAIH68,20))/210;
CAIH70:=MA(CAIH69,6);CAIH71:=CAIH69>CAIH70;
CAIH72:=CLOSE>1.02*REF(CLOSE,1);
CAIH73:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100(REF(CLOSE,BARSLAST(CAIH72))+REF(CLOSE,BARSLAST(CAIH72)+1))/2 AND CLOSE<(REF(CLOSE,BARSLAST(CAIH72))+REF(CLOSE,BARSLAST(CAIH72)+1))/2;
CAIH75:=REF(CLOSE,1)(REF(CLOSE,BARSLAST(CAIH73))+REF(CLOSE,BARSLAST(CAIH73)+1))/2;
CAIH76:=BARSLAST(CAIH73)0;
CAIH78:=((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004;
CAIH79:=CROSS(CLOSE,CAIH78) AND CAIH78>REF(CAIH78,1);
CAIH80:=((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004;
CAIH81:=CROSS(CLOSE,CAIH80) AND CAIH80>REF(CAIH80,1);
CAIH82:=CAIH79 AND CAIH81 AND CAIH76 AND CAIH71 AND CAIH62;
CAIH83:=CAIH66 AND CAIH76 AND CAIH71 AND CAIH62;
CAIH84:=CAIH82 OR CAIH83;CAIH85:=CAIH18 AND CAIH53;
CAIH86:=CAIH84 OR CAIH85;
STICKLINE(CAIH86,0,20.6,8,0),COLORRED;
STICKLINE(CAIH86,20.6,38.200001,6,0),COLORYELLOW;
STICKLINE(CAIH86,38,55,5,0),COLORLIMAGENTA;
DRAWICON(CAIH86,61,1);
第二部分 选股公式
CAIH1:=MA(CLOSE,5);CAIH2:=MA(CLOSE,10);
CAIH3:=MA(CLOSE,60);CAIH4:=MA(CLOSE,120);
CAIH5:=REF(CLOSE,1)CAIH4;
CAIH6:=REF(CAIH5,1)=0 AND CAIH5;CAIH7:=EMA(HHV(HIGH,1),8);
CAIH8:=EMA(CLOSE,8);CAIH9:=CAIH8
CAIH10:=IF(CAIH7
CAIH11:=(COUNT(CAIH10=1,4)=3 AND CAIH10=0)*89;
CAIH12:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
CAIH13:=IF(CLOSE>OPEN,CAIH12*(HIGH-LOW),IF(CLOSEOPEN,0-CAIH12*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE
CAIH14:=CAIH13/20/1.15;
CAIH15:=CAIH14*0.55+REF(CAIH14,1)*0.33+REF(CAIH14,2)*0.22;
CAIH16:=EMA(CAIH15,3);CAIH17:=CAIH16<100;
CAIH18:=COUNT(CAIH17,9)1.09;
CAIH20:=CLOSE=HIGH;CAIH21:=REF(CAIH19,1) AND REF(CAIH20,1);
CAIH22:=COUNT(CAIH21,11)>0;CAIH23:=MA(CLOSE,3);
CAIH24:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
CAIH25:=(HIGH-REF(CLOSE,1))/REF(CLOSE,1)*100;
CAIH26:=REF(HHV(VOL,10),1);CAIH27:=MA(CLOSE,20);CAIH28:=(CAIH23+CAIH1)/2;
CAIH29:=COUNT(COUNT(CAIH24>9.9 AND CLOSE=HIGH,1)>=1,30)>0;
CAIH30:=COUNT(COUNT(CAIH24>9.9 AND CLOSE=HIGH,1)>=1,60)>0;
CAIH31:=CAIH27>REF(CAIH27,1) AND VOL3 AND OPENCAIH1 AND (COUNT(CAIH28>REF(CAIH28,1),3)>=3 OR COUNT(CAIH1>REF(CAIH1,1),3)>=3) AND COUNT(CAIH27>REF(CAIH27,1),25)>=16;
CAIH32:=(CLOSE-OPEN)/OPEN*100;
CAIH33:=CAIH30 AND VOL0.5,6)>=5 AND COUNT(CAIH23>CAIH1,5)>=5 AND COUNT(HIGH>REF(HIGH,1),6)>=5 AND CAIH25>4.5 AND OPENCAIH23 AND OPEN>CAIH1;
CAIH34:=CAIH31 OR CAIH33;CAIH35:=CAIH34=1 AND COUNT(CAIH34,15)=1;
CAIH36:=AMOUNT/VOL/7;CAIH37:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;
CAIH38:=SUM(AMOUNT,10)/CAIH36/7;CAIH39:=DMA(CAIH37,VOL/CAIH38);
CAIH40:=(CLOSE-CAIH39)/CAIH39*100;CAIH41:=-CAIH40;
CAIH42:=CAIH40>CAIH41;CAIH43:=CROSS(CAIH40,0.6) AND CAIH42;
CAIH44:=EMA(CLOSE/REF(CLOSE,1),5);
CAIH45:=EMA(CLOSE/REF(CLOSE,1),10);
CAIH46:=CROSS(CAIH44,CAIH45);
CAIH47:=CAIH43 AND CAIH46;CAIH48:=CAIH47 AND CAIH35;
CAIH49:=COUNT(CAIH35,10)>0;
CAIH50:=CAIH47 AND CAIH49 AND CAIH22;
CAIH51:=CAIH47 AND CAIH22 AND CAIH11;
CAIH52:=CAIH48 AND CAIH22;CAIH53:=CAIH50 OR CAIH52 OR CAIH51;
CAIH54:=(EMA(CLOSE,12)-EMA(CLOSE,26))/EMA(CLOSE,26)*100;
CAIH55:=EMA(CAIH54,9);CAIH56:=(CAIH54-CAIH55)*100;
CAIH57:=CAIH56-REF(CAIH56,1);CAIH58:=CROSS(CAIH57,50);
CAIH59:=EMA(EMA(EMA(CLOSE,12),12),12);
CAIH60:=(CAIH59-REF(CAIH59,1))/REF(CAIH59,1)*100;
CAIH61:=MA(CAIH60,9);CAIH62:=CAIH60>CAIH61;
CAIH63:=CLOSE/REF(CLOSE,1)>1.09;CAIH64:=CLOSE=HIGH;
CAIH65:=REF(CAIH63,1) AND REF(CAIH64,1);
CAIH66:=COUNT(CAIH65,4)>0;CAIH67:=COUNT(CAIH65,5)>0;
CAIH68:=(3*CLOSE+LOW+OPEN+HIGH)/6;
CAIH69:=(20*CAIH68+19*REF(CAIH68,1)+18*REF(CAIH68,2)+17*REF(CAIH68,3)+16*REF(CAIH68,4)+15*REF(CAIH68,5)+14*REF(CAIH68,6)+13*REF(CAIH68,7)+12*REF(CAIH68,8)+11*REF(CAIH68,9)+10*REF(CAIH68,10)+9*REF(CAIH68,11)+8*REF(CAIH68,12)+7*REF(CAIH68,13)+6*REF(CAIH68,14)+5*REF(CAIH68,15)+4*REF(CAIH68,16)+3*REF(CAIH68,17)+2*REF(CAIH68,18)+REF(CAIH68,20))/210;
CAIH70:=MA(CAIH69,6);CAIH71:=CAIH69>CAIH70;
CAIH72:=CLOSE>1.02*REF(CLOSE,1);
CAIH73:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100(REF(CLOSE,BARSLAST(CAIH72))+REF(CLOSE,BARSLAST(CAIH72)+1))/2 AND CLOSE<(REF(CLOSE,BARSLAST(CAIH72))+REF(CLOSE,BARSLAST(CAIH72)+1))/2;
CAIH75:=REF(CLOSE,1)(REF(CLOSE,BARSLAST(CAIH73))+REF(CLOSE,BARSLAST(CAIH73)+1))/2;
CAIH76:=BARSLAST(CAIH73)0;
CAIH78:=((CLOSE-REF(MA(CLOSE,6),1))/6+MA(CLOSE,6))*1.004;
CAIH79:=CROSS(CLOSE,CAIH78) AND CAIH78>REF(CAIH78,1);
CAIH80:=((CLOSE-REF(MA(CLOSE,18),1))/18+MA(CLOSE,18))*1.004;
CAIH81:=CROSS(CLOSE,CAIH80) AND CAIH80>REF(CAIH80,1);
CAIH82:=CAIH79 AND CAIH81 AND CAIH76 AND CAIH71 AND CAIH62;
CAIH83:=CAIH66 AND CAIH76 AND CAIH71 AND CAIH62;
CAIH84:=CAIH82 OR CAIH83;CAIH85:=CAIH18 AND CAIH53;
CAIH86:=CAIH84 OR CAIH85;
STICKLINE(CAIH86,0,20.6,8,0),COLORRED;
STICKLINE(CAIH86,20.6,38.200001,6,0),COLORYELLOW;
STICKLINE(CAIH86,38,55,5,0),COLORLIMAGENTA;
DRAWICON(CAIH86,61,1);
第二部分 选股公式