Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

ADXB - A trend following strategy EA (ADXB - A trend following strategy EA)

author EAcpu | 3 reads | 0 comments |
Hi traders,

First things first: This is my strategy for manual live trading on Index CFDs and Japanese Yen pairs, with very interesting results, that's why I decided to add some code



Target:

Capture noise-free trends and avoid range/volatile markets

means:
Use mid-term ADX and its moving average (these two parameters will depend on your own optimization, feel free to share yours)

Entries:
ADX/ADXMA crosses upward, which is when a trend emerges and accelerates

direction:
Long if DI+ > DI-, short if DI- > DI+

SL/TP/TS:
2 Custom blends of ATR and average HiLo

Alternative export:
When the entry condition flips (DI+ > DI- >> exit short line; DI- > DI+ >> exit long line)

I added a MA to the ADX of MetaQuotes in order to derive a custom indi ADX+ADXMA, which you will find in this post, it is very simple, so I share the MQL file. I will share the code of the EA with people who are passionate about coding and interested in improving the whole strategy and keeping it simple.

instrument:
My forward testing shows that the following instruments and TFs provide the highest profit factors:
GBPJPY | USDJPY | AUDJPY | CADJPY | USDJPY | GBPJPY | BP | Gold | DAX 30 | S&P 500

schedule:
Product >> H4
Fx Cross >> M30 to H1
Home >> H1 to H4

Attached:
- Below is a screenshot of the setup using TPL
- Templates I use in EA
- ADX+ADXMA indicator used by EA
- ADX Bone, EA (version beta 0.2)
ADXBone_tpl.PNGADXB.PNGDemo1.pngTest1.jpg
ADXBone_tpl.PNGADXB.PNGDemo1.pngTest1.jpg
ADXBone_tpl.PNGADXB.PNGDemo1.pngTest1.jpg
ADXBone_tpl.PNGADXB.PNGDemo1.pngTest1.jpg
ADXBone_tpl.PNGADXB.PNGDemo1.pngTest1.jpg
ADXBone_tpl.PNGADXB.PNGDemo1.pngTest1.jpg

Attachment to original post (4)

📦 Summary of post attachments (2)

Below are all the files (2) shared in the reply.

Verification code Refresh