Watch how to download trading robots for free
Find us on Telegram!
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
Indicators

InvestorsVsSpeculators - indicator for MetaTrader 5

Views:
4814
Rating:
(13)
Published:
2018.12.18 19:11
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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


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

Constituents EA Constituents EA

At the specified hour, the Expert Advisor analyzes OHLC of the previous bar and sets pending orders

InvestorsVsSpeculatorsDelta InvestorsVsSpeculatorsDelta

Investors vs Speculators Delta indicator

EWO EWO

EWO indicator

ADX_Trend ADX_Trend

ADX Trend indicator