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
IMI - indicator for MetaTrader 5
- Views:
- 4110
- Rating:
- Published:
- 2018.07.09 13:45
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Oscillator Intraday Momentum Index displays the ratio between the directed change in the price and the total change in the prices over the specified period.
There are three adjustable parameters:
- Period - calculation period;
- Overbought - overbought level;
- Oversold - oversold level.
Calculation:
IMI = 100*U /(U+D)
where:
U = SMA(Up, Period), D = SMA(Down, Period)
If Close > Open:
Up = Close - Open
otherwise:
Up = 0
If Close < Open:
Down = Open - Close
otherwise:
Down = 0
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21106