I am developing an EA and have already programmed a number of tests for entry.
When these tests give a Buy or Sell signal, I want to filter the signal through ADX.
Here is the code I propose...
"type" is 1 if a Buy signal has been generated or -1 if a Sell signal.
Externally, ADX is set to 25 and ADXfactor is subject to optimization, starting with 1 and growing to 1.4.
The filter has improved the performance of the EA on EURUSD M15 but back testing took a long time.
I wonder if anyone might be able to use the filter in their EA and let me know the results?
Thank you, fantastic forum, Helmut
Helmut
Have you looked at the Vortex indicator? I have found that although ADX DI+ and DI- gives good buy-sell signals, Vortex is approx 25% more accurate.
Barry
Helmut
Have you looked at the Vortex indicator? I have found that although ADX DI+ and DI- gives good buy-sell signals, Vortex is approx 25% more accurate.
Barry
Thank you, Barry
Yes, I looked at it and it seems superior to the +DI and -DI.
I still have to use ADX because VortexIndicator appears to have no equivalent.
Can I use VortexIndicator in my EA without infringing the copyright of anybody?
Regards, Helmut
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I am developing an EA and have already programmed a number of tests for entry.
When these tests give a Buy or Sell signal, I want to filter the signal through ADX.
Here is the code I propose...
"type" is 1 if a Buy signal has been generated or -1 if a Sell signal.
Externally, ADX is set to 25 and ADXfactor is subject to optimization, starting with 1 and growing to 1.4.
The filter has improved the performance of the EA on EURUSD M15 but back testing took a long time.
I wonder if anyone might be able to use the filter in their EA and let me know the results?
Thank you, fantastic forum, Helmut