大智慧雷公主图指标公式

obv:=SUM(IF(CLOSE>REF(CLOSE,1),vol,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0),;

ma1:ema(obv,1),LINETHICK2;

ma5:ema(obv,5);

ma10:ema(obv,10);

ma20:ema(obv,20);

ma30:ema(obv,30);

ma60:ema(obv,60);

DRAWICON(crOSS(MA1,MA5) AND CROSS(MA1,MA10) AND CROSS(MA1,MA20) and ma20>ref(ma20,1) and ma30>ref(ma30,1) and ma60>ref(ma60,1),ma1*1,1);

DRAWTEXT(cross(ma1,ma60) and ma10>ref(ma10,1) and ma20>ref(ma20,1) and ma30>ref(ma30,1) and ma60>ref(ma60,1),ma60,'关注\n \n黑马'),COLORRED;