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
- Views:
- 3466
- Rating:
- Published:
- 2018.01.22 09:36
- Updated:
- 2023.03.29 13:48
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The XMA_Divergence indicator with the possibility to change the indicator timeframe from input parameters:
input ENUM_TIMEFRAMES TimeFrame=PERIOD_H4; // Indicator chart period (timeframe)
The indicator requires the XMA_Divergence.mq5 indicator file for operation. Add it to <terminal_data_folder>\MQL5\Indicators.
Fig.1. The XMA_Divergence_HTF indicator.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/19363
![CCIValues](https://c.mql5.com/i/code/indicator.png)
The indicator shows a text block with the values of the user defined CCI oscillator period for each timeframe
![XMA_Divergence](https://c.mql5.com/i/code/indicator.png)
A trend indicator displaying divergence areas on the price chart.
![Jims Close Positions](https://c.mql5.com/i/code/expert.png)
Closing positions: all, only profitable or only losing positions.
![KI_signals_v2](https://c.mql5.com/i/code/indicator.png)
A trend indicator, which receives trade signals from the XMACD histogram.