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
Difference2 - indicator for MetaTrader 5
- Views:
- 3131
- Rating:
- Published:
- 2018.06.18 13:55
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Indicator Difference2 shows the difference between the current price and the price as of N periods ago, as a histogram.
Unlike the first version of Difference, where the difference is shown between the values of bar prices (High - Low or Close - Open) now and as of N periods ago, this version shows the difference between the Applied prices as of now and as of N periods ago.
It has three input parameters:
- Period - period;
- Calculation type - type of calculations:
- Absolute - calculations in absolute values;
- Relative - calculations in relative values.
- Applied price - price used for calculations.
Calculations:
Calculation type = Absolute:
Difference[i] = Price[i] - Price[i-Period]
Calculation type = Relative:
Difference[i] = 100*(Price[i] - Price[i-Period])/Price[i-Period]
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20854
DI
Oscillator DI (Damping Index) is designed for identifying the damping of the directed market movement.
Modified Moving AveragesA slightly modified EA from the standard delivery: MQL5\Experts\Examples\Moving Average\Moving Average
Divergence_Candles
Indicator of candlestick divergences.
HWMAIndicator HWMA (Holt-Winter Moving Average) is a three-parameter moving average by the Holt-Winter method.