Join our fan page
- Views:
- 7692
- Rating:
- Published:
- 2011.06.08 10:50
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The Buy/Sell signals of the indicator are based on crossover of two Moving Averages with different periods.
The indicator has the following features:
- Filter, based on RSI (Relative Strength Index) indicator.
- Movement confirmation filter.
- Flat movement filter.
The checks are based on the 1st bar (completed).
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/357
![Exposure](https://c.mql5.com/i/code/script.png)
This script reads all opened position and calculates their exposure for each currency.
![sTimeToVariables](https://c.mql5.com/i/code/script.png)
The script converts the time, represented as datetime variable into the year, month, day, hour, minutes and seconds.
![The class of a module of trade signals, on "inner bar breakthrough" in trend direction](https://c.mql5.com/i/code/library.png)
The strategy is following: when outer (outside) bar appears, it checks the fact of the inner bar breakthrough in trend direction and generates a signal to open position. A module of trade signals is compatible with the new version of MQL5 Wizard.
![EA_OBJPROP_CHART_ID](https://c.mql5.com/i/code/expert.png)
This Expert Advisor is a demo of working with OBJ_CHART objects as conventional charts. You can set custom color settings, attach indicators etc.