底部买入黑马 三线顶底游走【指标公式】(含选股)
第一部分 副图公式 手机/电脑
CAIHA:=(O+H+L+C)/4;
CAIHB:=MA(CAIHA,3);
CAIHC:=SUM(IF(CAIHA>REF(CAIHA,1),CAIHA*VOL,0),4)/SUM(IF(CAIHA
CAIHD:=REF(100-(100/(1+CAIHC)),1);
CAIHA1:=HHV(CAIHA,15);
CAIHA2:=LLV(CAIHA,15);
CAIHA3:=CAIHA1-CAIHA2;
CAIHA4:=EMA((CAIHA-CAIHA2)/CAIHA3,2)*100;
CAIHB1:=HHV(CAIHA,60);
CAIHB2:=LLV(CAIHA,60);
CAIHB3:=CAIHB1-CAIHB2;
CAIHB4:=EMA((CAIHA-CAIHB2)/CAIHB3,2)*100;
CAIHC1:=HHV(CAIHA,240);
CAIHC2:=LLV(CAIHA,240);
CAIHC3:=CAIHC1-CAIHC2;
CAIHC4:=EMA((CAIHA-CAIHC2)/CAIHC3,2)*100;
短期:CAIHA4,COLORGREEN;
中期:CAIHB4,COLORYELLOW;
长期:CAIHC4,COLORFF00FF;
卖:IF(FILTER(中期90 AND CAIHB
买:IF(FILTER(中期>REF(中期,1) AND 中期REF(C,1),5),20,0),COLORRED,LINETHICK2;
STICKLINE(短期>90 AND 中期>70,95,100,1,0),COLORFF00FF;
STICKLINE(短期<5 AND 中期REF(中期,1) AND 短期>REF(短期,1) AND 长期>REF(长期,1) AND 长期<8 AND 中期<10 AND 短期<15;
CAIHD2:=CROSS(短期,中期) AND 中期<8;
CAIHD3:=CROSS(短期,长期) AND 长期<8 AND 中期<20;
DRAWICON(FILTER((CAIHD1 OR CAIHD2 OR CAIHD3) AND CAIHDREF(C,1),5),5,1);
DRAWICON(FILTER((中期95 AND 短期>85) OR (长期>100 AND 中期>100 AND 短期>100),5),95,2);
顶部:90,LINETHICK1,COLORWHITE;
中间:50,LINETHICK1,COLORYELLOW;
底部:20,COLORFFFF00;
第二部分 选股公式
CAIHA:=(O+H+L+C)/4;
CAIHB:=MA(CAIHA,3);
CAIHC:=SUM(IF(CAIHA>REF(CAIHA,1),CAIHA*VOL,0),4)/SUM(IF(CAIHA
CAIHD:=REF(100-(100/(1+CAIHC)),1);
CAIHA1:=HHV(CAIHA,15);
CAIHA2:=LLV(CAIHA,15);
CAIHA3:=CAIHA1-CAIHA2;
CAIHA4:=EMA((CAIHA-CAIHA2)/CAIHA3,2)*100;
CAIHB1:=HHV(CAIHA,60);
CAIHB2:=LLV(CAIHA,60);
CAIHB3:=CAIHB1-CAIHB2;
CAIHB4:=EMA((CAIHA-CAIHB2)/CAIHB3,2)*100;
CAIHC1:=HHV(CAIHA,240);
CAIHC2:=LLV(CAIHA,240);
CAIHC3:=CAIHC1-CAIHC2;
CAIHC4:=EMA((CAIHA-CAIHC2)/CAIHC3,2)*100;
短期:CAIHA4,COLORGREEN;
中期:CAIHB4,COLORYELLOW;
长期:CAIHC4,COLORFF00FF;
卖:IF(FILTER(中期90 AND CAIHB
买:IF(FILTER(中期>REF(中期,1) AND 中期REF(C,1),5),20,0),COLORRED,LINETHICK2;
STICKLINE(短期>90 AND 中期>70,95,100,1,0),COLORFF00FF;
STICKLINE(短期<5 AND 中期REF(中期,1) AND 短期>REF(短期,1) AND 长期>REF(长期,1) AND 长期<8 AND 中期<10 AND 短期<15;
CAIHD2:=CROSS(短期,中期) AND 中期<8;
CAIHD3:=CROSS(短期,长期) AND 长期<8 AND 中期<20;
DRAWICON(FILTER((CAIHD1 OR CAIHD2 OR CAIHD3) AND CAIHDREF(C,1),5),5,1);
DRAWICON(FILTER((中期95 AND 短期>85) OR (长期>100 AND 中期>100 AND 短期>100),5),95,2);
顶部:90,LINETHICK1,COLORWHITE;
中间:50,LINETHICK1,COLORYELLOW;
底部:20,COLORFFFF00;
第二部分 选股公式