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 | InvestorsVsSpeculators

Investors vs Speculators displays the ratio of major players' actions (Investors) to the actions of market traders (Speculators).

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 - SMA(VOL, Period)

VOL - tick volume

MetaTrader Experts, Indicators, Scripts and Libraries

22594