Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
InvestorsVsSpeculators - indicator for MetaTrader 5
- Views:
- 4923
- 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 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
At the specified hour, the Expert Advisor analyzes OHLC of the previous bar and sets pending orders
InvestorsVsSpeculatorsDeltaInvestors vs Speculators Delta indicator