Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
3716
Rating:
(7)
Published:
2018.07.13 15:35
MV_OBV.mq5 (7.86 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Unlike standard On Balance Volume calculated on Close prices only, and indicator MultiVote OBV is calculated on HLC prices, which resulted in its higher sensitivity.

The indicator has no configurable parameters. Negative values are drawn in red, positive ones in green.

Calculations:

MVOBV = PrevMVOBV + TotalVote * Volume

where:

TotalVote = HighVote + LowVote + CloseVote
  • If High > PrevHigh:

    HighVote = 1
  • If High < PrevHigh:

    HighVote = -1
  • If Low > PrevLow:

    LowVote = 1
  • If Low < PrevLow:

    LowVote = -1
  • If Close > PrevClose:

    CloseVote = 1
  • If Close < PrevClose:

    CloseVote = -1

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21241

MM MM

Oscillator MM (Market Mode) allows assessing the market state: In trend state or in cyclic state.

FIR FIR

Indicator FIR is a symmetrically weighted filter (Finite Impulse Response Filter).

Rj_SlidingRange_HTF Rj_SlidingRange_HTF

Indicator Rj_SlidingRange with the possibility to change the indicator timeframe in its input parameters.

Rj_RMA_HTF Rj_RMA_HTF

Indicator Rj_RMA with the possibility to change the indicator timeframe in its input parameters.