大智慧稳定获利副图指标
源码
OBV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE
DIFF : EMA(obv,12) - EMA(obv,26);
bbDIFF:=DIFF-ref(DIFF,1);
DEA : EMA(DIFF,9);
bbDEA:=DEA-ref(DEA,1);
MACD : 2*(DIFF-DEA), COLORSTICK;
柱: 2*(DIFF-DEA);
bb柱:=柱-ref(柱,1);
PARTLINE(bbDIFF>0,DIFF),colorcc00ff,LINETHICK2;
PARTLINE(bbDIFF<=0,DIFF),colorff9999,LINETHICK2;
PARTLINE(bbDEA>0,DEA),color0066ff,LINETHICK2;
PARTLINE(bbDEA<=0,DEA),color00ff33,LINETHICK2;
PARTLINE(bb柱>0,柱),colorcc00ff,LINETHICK1;
PARTLINE(bb柱<=0,柱),colorff9999,LINETHICK1;
DIFF速率:bbDIFF*100,LINETHICK0;
DEA速率:bbDEA*100,LINETHICK0;
柱速率:bb柱*100,LINETHICK0;