• Overview
  • Reviews (1)
  • Comments (5)
  • What's new

OnBalanceVolumeSurrogate

This is a special edition of the On-Balance Volume indicator based on pseudo-real volumes emulated from tick volumes. It calculates a near to real estimation of trade volumes distribution for Forex instruments (where only tick volumes are available) and then applies conventional OBV formula to them.

Volumes are calculated by the same algorithm that's used in the indicator TrueVolumeSurrogate. The indicator itself is not required but can be used for reference.


Parameters

  • MAfast - fast moving average period (EMA), by default - 3; if set to 0, the average is not calculated;
  • Maslow - slow moving average period (EMA), by default - 7; if set to 0, the average is not calculated;
  • AlertOnMAcross - alert switch for moving averages crossing, by default - false (alert is disabled); alert is signalled only once per bar; alert message format: "OBVSurrogate [Symbol] [TimeFrame] UP/DOWN cross @ [Time]";
  • CompletedBars - an option that controls how moving averages crossing is checked: on the last bar or on the previous bar (CompletedBars is true); by default - true, so alerts can be generated on bar opening only; if it's false, alerts may appear at arbitrary time; please note, that a signal about down crossing is not necessarily followed by a signal about up crossing (or vice versa) - in some cases when moving averages fluctuate near each other, you may get several successive signals (on different bars) in the same direction - you should consider this as a signal confirmation.


Visualization

The indicator displays 3 lines:

  • green thick - cumulative volumes according to OBV formula;
  • red thin - fast moving average;
  • yellow thin - slow moving average;

The screenshot demonstrates OnBalanceVolumeSurrogate side by side with TrueVolumeSurrogate.


Trading

The indicator should be used for trading in the similar way as conventional OBV is used:

  • by signals of moving averages crossing;
  • by divergence/convergence between OBV and price; if their directions contradict - a reversal is awaited (current trend is about to change);
  • by consistent movement of OBV and price; this is a confirmation of current trend;
Happy Mans World
1437
Happy Mans World 2017.05.24 16:10 
 

Great Trigger for early signals,,, use it with M15 and above

Version 1.2 2015.07.29
New parameter AccumulationDistribution is added: when it's true, the indicator is calculated by Accumulation/Distribution formula. By default - false, that is the indicator works as before.
Version 1.1 2015.03.23
On every MA-crossing an arrow is shown indicating a signal in the appropriate direction. Note that if CompletedBars is false, the signals detected on new bar while it's been forming, may contradict to the final position of lines, including their possibly eliminated crossing.