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

InvestorsVsSpeculatorsDelta - indicator for MetaTrader 5

Views:
4054
Rating:
(12)
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 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

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

MaDev MaDev

Deviation from MA indicator

MaDevOsc MaDevOsc

Deviation from MA oscillator indicator

Constituents EA Constituents EA

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

InvestorsVsSpeculators InvestorsVsSpeculators

InvestorsVsSpeculators indicator