首红买入【飘红持股】选股公式
{首红买入【飘红持股】选股公式}
{通用型参数设置: SHORT 2 200 12 LONG 2 200 26 MID 2 200 9}
{布林多空【副图指标】42 布林带 参数: N:2 100 11, M:2 100 6}
AMV0:=VOL*(O+C+H+L)/4;
势:=EMA(AMV0,21)/EMA(VOL,21);
多1:=CROSS(C,势);
AAA:=(MA (CLOSE,13)+MA (CLOSE,17))/2;
CCC:=(STD(CLOSE,13)+STD(CLOSE,17))/2;
BBB:=AAA+2.1*CCC;
DDD:=AAA+0.72*CCC;
ZZZ:=IF(CCC>1.88 ,MA (DDD,3),DDD);
平衡:=ZZZ*0.986;
多2:=CROSS(C,平衡);
CV:=CLOSE;
BBIBOLL:=(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4;
UPR:=BBIBOLL+M*STD(BBIBOLL,N);
DWN:=BBIBOLL-M*STD(BBIBOLL,N);
多3:=CROSS(C,BBIBOLL);
量:=VOL;
洗盘_60:=MA(量,60);
启动_05:=EMA(量,5);
MA5:=MA(C,05);
MA25:=MA(C,25);
DIF:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);
DEA:=EMA(DIF,MID);
MACD:=(DIF-DEA)/0.5;
首红买入持股:DRAWICON((多1 AND 多2 AND 多3 AND REF(MA25,0)>=REF(MA25,1)AND REF(量,0)>REF(洗盘_60,0))OR(多1 AND REF(MA25,0)>=REF(MA25,1)AND C>BBIBOLL AND C>平衡 AND DIF>0 AND REF(量,0)>REF(洗盘_60,0)),L,5);