İş tamamlandı
İş Gereklilikleri
1. ADX divergence points. [uses the Sub components of the standard MT4 ADX indicator, which are ADX+ and ADX-]
At the moment this just operates to filter trades that do not have a minimum distance between ADX+ and ADX-. i.e. the result is always a positive number and does not indicate the direction of the trend. The EA can therefore take a long trade based on the last candle when the actual trend is down! The requirement is to change the existing calculation. The value of the ADX- should be converted to a negative.
Say ADX+ is 20 and ADX- is 25.
At the moment the difference between the two would be the absolute value, 5, with the new calculation it would be -5.
If “Use ADX divergence, points” is True, say the value in the field is 1.0. For a buy, the result of the calculation would need to be +1. For a sell, the result of the calculation would need to be -1.
So for this example above, where the outcome was -5, a buy would not be allowed.
2. Add a second ATR and create a new ATR ratio.
The existing EA can use a minimum ATR as one of the entry criteria.
The requirement is to add a second ATR in order to create a new entry filter, an ATR ratio. Simply Divide the Original ATR by the new second ATR.
This may be in addition to the existing minimum ATR requirement or it could be used in isolation with the existing minimum ATR requirement switched off, but providing an input to the ratio.
ATR Ratio |
|
Use ATR Ratio |
True/False |
ATR2 |
|
Time Frame |
Current etc. |
Period |
e.g 14 |
Min ATR Ratio |
2.0 |
Say the value of the original ATR is 13 and the second ATR is 7. The new ratio would be 1.857, it would fail the requirement for a minimum ratio of 2.0. No entry would be allowed.