Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
InvestorsVsSpeculatorsDelta - indicator for MetaTrader 5
- Views:
- 4222
- Rating:
- 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
Constituents EA
At the specified hour, the Expert Advisor analyzes OHLC of the previous bar and sets pending orders
InvestorsVsSpeculatorsInvestorsVsSpeculators indicator