beyond202104 发表于 2023-8-28 15:25:55

新年好事登门 强牛起势长红【指标公式】(含选股)

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


DIF月:=(EMA(CLOSE,12*4*4)-EMA(CLOSE,26*4*4));
DEA月:=EMA(DIF月,9*4*4);
MACD月:=2*(DIF月-DEA月);
DIF周:=(EMA(CLOSE,12*4)-EMA(CLOSE,26*4));
DEA周:=EMA(DIF周,9*4),COLORWHITE,DOTLINE;
MACD周:=2*(DIF周-DEA周);
DIF日:=(EMA(CLOSE,12)-EMA(CLOSE,26));
DEA日:=EMA(DIF日,9);
MACD日:=2*(DIF日-DEA日),COLORWHITE;
STICKLINE(MACD月>REF(MACD月,1),REF(MACD/2,BARSLAST(MACD=HHV(MACD,250))),0,5,0),COLOR660088;
STICKLINE(MACD月
DRAWBAND(EMA(MACD周,10),RGB(0,0,180),MACD周,RGB(255,255,0));
STICKLINE(MACD>0 AND MACD>REF(MACD,1),0,MACD,1,0),COLORYELLOW;
STICKLINE(MACD>0 AND MACD
STICKLINE(MACD=REF(MACD/2,BARSLAST(MACD=HHV(MACD,250))),REF(MACD/2,BARSLAST(MACD=HHV(MACD,250))),MACD,2,0),COLORAA00CC;
趋势:MACD,COLORAACCEE,LINETHICK2;
行情:REF(MACD/2,BARSLAST(MACD=HHV(MACD,250))),COLOR0000EE,LINETHICK2;
CAIH1:=EMA(CLOSE,12)-EMA(CLOSE,26);
CAIH2:=EMA(CAIH1,9);
ZTB:=C>INTPART(REF(C,1)*(1+10/100)/0.01+0.5)*0.01-0.006 AND C=H;
买入:=CAIH1>-0.2 AND CAIH1<0.35 AND ZTB AND REF(ZTB,1)=-0.01,5)=5;
DRAWTEXT(买入,REF(MACD/2,BARSLAST(MACD=HHV(MACD,250)))*1.185,'--牛来了'),COLORRED;
DRAWTEXT(买入,REF(MACD/2,BARSLAST(MACD=HHV(MACD,250)))*1.185,'↙'),COLORRED;


第二部分 选股公式


{选股公式:牛来了}
CAIH1:=EMA(CLOSE,12)-EMA(CLOSE,26);
CAIH2:=EMA(CAIH1,9);
ZTB:=C>INTPART(REF(C,1)*(1+10/100)/0.01+0.5)*0.01-0.006 AND C=H;
买入:=CAIH1>-0.2 AND CAIH1<0.35 AND ZTB AND REF(ZTB,1)=-0.01,5)=5;
{DRAWTEXT(买入,REF(MACD/2,BARSLAST(MACD=HHV(MACD,250)))*1.185,'--牛来了'),COLORRED;
DRAWTEXT(买入,REF(MACD/2,BARSLAST(MACD=HHV(MACD,250)))*1.185,'↙'),COLORRED}
牛来了:买入;


页: [1]
查看完整版本: 新年好事登门 强牛起势长红【指标公式】(含选股)