beyond202104 发表于 2023-8-28 15:29:10

黄牛买入上涨 白马一骑绝尘【指标公式】(含选股)

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


CAIH2:=REF(CLOSE,1);
CAIH3:=((SMA(MAX((CLOSE-CAIH2),0),18,1)/SMA(ABS((CLOSE-CAIH2)),13,1))*100);
CAIH4:=((SMA(MAX((CLOSE-CAIH2),0),24,1)/SMA(ABS((CLOSE-CAIH2)),20,1))*100);
CAIH5:=((BARSLAST((CAIH4<48))<=3) AND CROSS(CAIH3,CAIH4));
CAIH6:=((((CLOSE-MA(CLOSE,48))/MA(CLOSE,20))*100)<-12.5);
CAIH7:=LLV(LOW,5);CAIH8:=HHV(HIGH,10);
CAIH9:=EMA((((CLOSE-CAIH7)/(CAIH8-CAIH7))*100),4);
CAIH10:=EMA(((0.667*REF(CAIH9,1))+(0.333*CAIH9)),2);
CAIH13:=REF(CLOSE,1);
CAIH14:=((SMA(MAX((CLOSE-CAIH13),0),7,1)/SMA(ABS((CLOSE-CAIH13)),7,1))*100);
CAIH15:=((SMA(MAX((CLOSE-CAIH13),0),13,1)/SMA(ABS((CLOSE-CAIH13)),13,1))*100);
CAIH16:=((BARSLAST((CAIH15<43))<=3) AND CROSS(CAIH14,CAIH15));
CAIH17:=((((CLOSE-MA(CLOSE,43))/MA(CLOSE,20))*100)<-12.5);
CAIH18:=LLV(LOW,5);CAIH19:=HHV(HIGH,10);
CAIH20:=EMA((((CLOSE-CAIH18)/(CAIH19-CAIH18))*100),4);
CAIH21:=EMA(((0.667*REF(CAIH20,1))+(0.333*CAIH20)),2);
CAIH24:=((((0-(-1*CAIH16)) AND CAIH17) AND CROSS(CAIH20,CAIH21)) AND (CAIH20<=25));
CAIH25:=REF(CLOSE,1);
CAIH26:=((SMA(MAX((CLOSE-CAIH25),0),7,1)/SMA(ABS((CLOSE-CAIH25)),7,1))*100);
CAIH27:=((SMA(MAX((CLOSE-CAIH25),0),13,1)/SMA(ABS((CLOSE-CAIH25)),13,1))*100);
CAIH28:=((BARSLAST((CAIH27<33))<=3) AND CROSS(CAIH26,CAIH27));
CAIH29:=((((CLOSE-MA(CLOSE,33))/MA(CLOSE,20))*100)<-12.5);
CAIH30:=LLV(LOW,5);CAIH31:=HHV(HIGH,10);
CAIH32:=EMA((((CLOSE-CAIH30)/(CAIH31-CAIH30))*100),4);
CAIH33:=EMA(((0.667*REF(CAIH32,1))+(0.333*CAIH32)),2);
黄牛:((((0-(-1*CAIH28)) AND CAIH29) AND CROSS(CAIH32,CAIH33)) AND (CAIH32<=25)),COLORYELLOW;
STICKLINE(黄牛,0,3,3,0),COLORYELLOW;
STICKLINE(黄牛,0,3,1.5,0),COLORYELLOW;
STICKLINE(黄牛,0,3,0.8,0),COLORYELLOW;
STICKLINE(黄牛,0,3,0.1,0),COLORYELLOW;
CAIH41:=REF(CLOSE,1);
CAIH42:=((SMA(MAX((CLOSE-CAIH41),0),7,1)/SMA(ABS((CLOSE-CAIH41)),7,1))*100);
CAIH43:=((SMA(MAX((CLOSE-CAIH41),0),13,1)/SMA(ABS((CLOSE-CAIH41)),13,1))*100);
CAIH44:=((BARSLAST((CAIH43<23))<=3) AND CROSS(CAIH42,CAIH43));
CAIH45:=((((CLOSE-MA(CLOSE,23))/MA(CLOSE,20))*100)<-12.5);
CAIH46:=LLV(LOW,5);CAIH47:=HHV(HIGH,10);
CAIH48:=EMA((((CLOSE-CAIH46)/(CAIH47-CAIH46))*100),4);
CAIH49:=EMA(((0.667*REF(CAIH48,1))+(0.333*CAIH48)),2);
白马:((((0-(-1*CAIH44)) AND CAIH45) AND CROSS(CAIH48,CAIH49)) AND (CAIH48<=25)),COLORRED;
STICKLINE(白马,0,3,3,0),COLORRED;


第二部分 选股公式


{选股公式一:黄牛}
CAIH2:=REF(CLOSE,1);
CAIH3:=((SMA(MAX((CLOSE-CAIH2),0),18,1)/SMA(ABS((CLOSE-CAIH2)),13,1))*100);
CAIH4:=((SMA(MAX((CLOSE-CAIH2),0),24,1)/SMA(ABS((CLOSE-CAIH2)),20,1))*100);
CAIH5:=((BARSLAST((CAIH4<48))<=3) AND CROSS(CAIH3,CAIH4));
CAIH6:=((((CLOSE-MA(CLOSE,48))/MA(CLOSE,20))*100)<-12.5);
CAIH7:=LLV(LOW,5);CAIH8:=HHV(HIGH,10);
CAIH9:=EMA((((CLOSE-CAIH7)/(CAIH8-CAIH7))*100),4);
CAIH10:=EMA(((0.667*REF(CAIH9,1))+(0.333*CAIH9)),2);
CAIH13:=REF(CLOSE,1);
CAIH14:=((SMA(MAX((CLOSE-CAIH13),0),7,1)/SMA(ABS((CLOSE-CAIH13)),7,1))*100);
CAIH15:=((SMA(MAX((CLOSE-CAIH13),0),13,1)/SMA(ABS((CLOSE-CAIH13)),13,1))*100);
CAIH16:=((BARSLAST((CAIH15<43))<=3) AND CROSS(CAIH14,CAIH15));
CAIH17:=((((CLOSE-MA(CLOSE,43))/MA(CLOSE,20))*100)<-12.5);
CAIH18:=LLV(LOW,5);CAIH19:=HHV(HIGH,10);
CAIH20:=EMA((((CLOSE-CAIH18)/(CAIH19-CAIH18))*100),4);
CAIH21:=EMA(((0.667*REF(CAIH20,1))+(0.333*CAIH20)),2);
CAIH24:=((((0-(-1*CAIH16)) AND CAIH17) AND CROSS(CAIH20,CAIH21)) AND (CAIH20<=25));
CAIH25:=REF(CLOSE,1);
CAIH26:=((SMA(MAX((CLOSE-CAIH25),0),7,1)/SMA(ABS((CLOSE-CAIH25)),7,1))*100);
CAIH27:=((SMA(MAX((CLOSE-CAIH25),0),13,1)/SMA(ABS((CLOSE-CAIH25)),13,1))*100);
CAIH28:=((BARSLAST((CAIH27<33))<=3) AND CROSS(CAIH26,CAIH27));
CAIH29:=((((CLOSE-MA(CLOSE,33))/MA(CLOSE,20))*100)<-12.5);
CAIH30:=LLV(LOW,5);CAIH31:=HHV(HIGH,10);
CAIH32:=EMA((((CLOSE-CAIH30)/(CAIH31-CAIH30))*100),4);
CAIH33:=EMA(((0.667*REF(CAIH32,1))+(0.333*CAIH32)),2);
黄牛:((((0-(-1*CAIH28)) AND CAIH29) AND CROSS(CAIH32,CAIH33)) AND (CAIH32<=25)),COLORYELLOW;
{选股公式二:白马}
CAIH41:=REF(CLOSE,1);
CAIH42:=((SMA(MAX((CLOSE-CAIH41),0),7,1)/SMA(ABS((CLOSE-CAIH41)),7,1))*100);
CAIH43:=((SMA(MAX((CLOSE-CAIH41),0),13,1)/SMA(ABS((CLOSE-CAIH41)),13,1))*100);
CAIH44:=((BARSLAST((CAIH43<23))<=3) AND CROSS(CAIH42,CAIH43));
CAIH45:=((((CLOSE-MA(CLOSE,23))/MA(CLOSE,20))*100)<-12.5);
CAIH46:=LLV(LOW,5);CAIH47:=HHV(HIGH,10);
CAIH48:=EMA((((CLOSE-CAIH46)/(CAIH47-CAIH46))*100),4);
CAIH49:=EMA(((0.667*REF(CAIH48,1))+(0.333*CAIH48)),2);
白马:((((0-(-1*CAIH44)) AND CAIH45) AND CROSS(CAIH48,CAIH49)) AND (CAIH48<=25)),COLORRED;


蓝蓝的彩 发表于 2023-9-14 06:58:18

帮顶!

禾口王君卤 发表于 2024-3-21 05:00:36

感谢感谢
页: [1]
查看完整版本: 黄牛买入上涨 白马一骑绝尘【指标公式】(含选股)