Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | InvestorsVsSpeculatorsDelta

Investors vs Speculators Delta - yet another version of Investors vs Speculators - displays the ratio of major players' actions (Investors) to the actions of market traders (Speculators) as a colored histogram.

It has two configurable parameters:

  • Period - calculation period
  • AD method - accumulation/distribution calculation method
    • Classical MT - standard as in MetaTrader
    • Trade Station - as in Trade Station

Calculation:

Delta = Investors - Speculators

where:

  • If VOL > AVG
    Speculators = PrevSpeculators
    Investors = PrevInvestors + AD
  • otherwise
    Investors = PrevInvestors
    Speculators = PrevSpeculators + AD
  • If AD method = Classical MT
    AD = ((Close - Low) - (High - Close)) / (High - Low) * VOL
  • If AD method = Trade Station
    AD = (Close - Open) / (High - Low) * VOL

AVG - SUM/Period

VOL - tick volume

SUM - VOL sum with the exception of the current one (starting from PrevVOL) in the Period range

MetaTrader Experts, Indicators, Scripts and Libraries

22599