• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 11:25pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 11:25pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

what would be the best option strategy for trend following? 0 replies

Trend following strategy on a 1 min chart? 49 replies

Is Grid Trading (combined trend following and counter trend) Profitable? 3 replies

Looking for a trend following/intraday strategy 4 replies

Trend following or trend fading? 8 replies

  • Trading Systems
  • /
  • Reply to Thread
  • Subscribe
  • 19
Attachments: ADXB - A trend following strategy EA
Exit Attachments
Tags: ADXB - A trend following strategy EA
Cancel

ADXB - A trend following strategy EA

  • Last Post
  •  
  • Page 1 2
  • Page 1 2
  •  
  • Post #1
  • Quote
  • First Post: Edited Jul 28, 2016 8:55am Jun 20, 2016 12:07pm | Edited Jul 28, 2016 8:55am
  •  Edorenta
  • Joined May 2014 | Status: Work in progress | 245 Posts
Hi traders,

First things first: This is a strategy I'm trading manually live on Index CFD and JPY pairs, having quite interesting results, reason why i decided to put some code on

Edit: I do not work on this EA anymore as I am focusing on other projects, however you can find my source code down this post to do further improvements yourself. Do not hesitate to share.

Objective :

Catching noiseless trends and avoiding range/choppy markets

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

Entries :
On ADX / ADXMA upward cross, i.e when a trend appears and accelerates

Direction :
Long if DI+ > DI-, Short if DI- > DI+

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

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

I added an MA to MetaQuotes' ADX in order to come up with the custom indi ADX+ADXMA you'll find down this post, it was quite easy hence I'm sharing the MQL file
I will share the EA's code with those among you who're keen on coding and interested in improving the whole strategy, keeping it simple.

Instruments :
My forward test has shown that The following instruments and TF give the highest profit factors:
GBPJPY | USDJPY | AUDJPY | CADJPY | USDCAD | GBPUSD | UK Oil | Gold | Dax30 | S&P 500

Timeframes :
Commodities >> H4
Fx cross >> M30 to H1
Index >> H1 to H4

Enclosed:
- ScreenShot of the setup using the TPL you'll find below
- The template I use with the EA
- ADX+ADXMA indicator used by the EA
- ADX Bone, the EA (version beta 0.2)
Attached Image (click to enlarge)
Click to Enlarge

Name: ADXBone_tpl.PNG
Size: 56 KB
Attached File(s)
File Type: mq4 ADX+ADXMA.mq4   5 KB | 2,721 downloads
File Type: tpl ADXBone.tpl   1 KB | 1,739 downloads
File Type: ex4 ADX Bone 0.2.ex4   27 KB | 1,916 downloads
File Type: mq4 ADX Bone 0.2.mq4   86 KB | 1,857 downloads | Uploaded Jul 28, 2016 8:55am
You'll always miss 100% of the shots you don't take.
  • Post #2
  • Quote
  • Jun 20, 2016 12:22pm Jun 20, 2016 12:22pm
  •  Edorenta
  • Joined May 2014 | Status: Work in progress | 245 Posts
As I was writing this I entered the USDJPY => short at 6:00pm GMT+1
Attached Image (click to enlarge)
Click to Enlarge

Name: ADXB.PNG
Size: 49 KB
You'll always miss 100% of the shots you don't take.
 
 
  • Post #3
  • Quote
  • Jun 20, 2016 12:52pm Jun 20, 2016 12:52pm
  •  rajkumar3192
  • Joined Feb 2014 | Status: ENGINEER | 394 Posts
subscribed ..........i love adx system,,,.... . how far your live results are.
stay cool when trade begins
 
 
  • Post #4
  • Quote
  • Jun 20, 2016 2:37pm Jun 20, 2016 2:37pm
  •  sexysoros
  • | Joined Jun 2016 | Status: Member | 9 Posts
I tested every angle on the ADX I could think of and I could not find a system that was consistently profitable. In the end I found that the ADX was not very good and finding trends, which is what it was purported to do. I am still curious though if it can work. Waiting to see how this works for you.
 
 
  • Post #5
  • Quote
  • Jun 20, 2016 3:07pm Jun 20, 2016 3:07pm
  •  faisalahmad
  • | Joined May 2013 | Status: Member | 10 Posts
Could you plz guide that which file is the EA ????
 
 
  • Post #6
  • Quote
  • Jun 20, 2016 3:20pm Jun 20, 2016 3:20pm
  •  blamshakk
  • Joined Mar 2010 | Status: Member | 2,162 Posts
read the first post, its the ADX bone 0.2 which is the EA

Quoting faisalahmad
Disliked
Could you plz guide that which file is the EA ????
Ignored
 
 
  • Post #7
  • Quote
  • Jun 20, 2016 3:22pm Jun 20, 2016 3:22pm
  •  blamshakk
  • Joined Mar 2010 | Status: Member | 2,162 Posts
Edorenta many thanks for sharing the system and EA, please can you share any results?
 
 
  • Post #8
  • Quote
  • Jun 20, 2016 4:29pm Jun 20, 2016 4:29pm
  •  kirby
  • | Joined Oct 2012 | Status: Member | 17 Posts
Hey, thanks for sharing this. The base value of adx is 50 and adxma is 25 both at the indicator and EA. Should i change those to 40 as i can see in the first post?
 
 
  • Post #9
  • Quote
  • Jun 20, 2016 4:49pm Jun 20, 2016 4:49pm
  •  Edorenta
  • Joined May 2014 | Status: Work in progress | 245 Posts
Quoting sexysoros
Disliked
I tested every angle on the ADX (...) Waiting to see how this works for you.
Ignored
Hi there fellow! Well I don't think you can tell ADX is a useless indicator as it is used by so many amazing traders around the place.. Tell me more about your approaches? Stay tuned for the early bird results.

Quoting blamshakk
Disliked
Edorenta many thanks for sharing the system and EA, please can you share any results?
Ignored
I couldn't test and optimize enough, I'm actually lacking time! But if you guys have some good dataset or Tickstory feel free to start testing on the timeframes I spoke of

Quoting kirby
Disliked
Hey, thanks for sharing this. The base value of adx is 50 and adxma is 25 both at the indicator and EA. Should i change those to 40 as i can see in the first post?
Ignored
Good point here my lad, as far as I've traded this I can tell you that every pair has its very own sets as patterns are usually different between crosses. I'll give you the sets I'm using tomorrow at the desk, but please do some backtest, tweak the sets yourself and see what suits your style
You'll always miss 100% of the shots you don't take.
 
 
  • Post #10
  • Quote
  • Jun 21, 2016 1:33am Jun 21, 2016 1:33am
  •  sexysoros
  • | Joined Jun 2016 | Status: Member | 9 Posts
Quoting Edorenta
Disliked
{quote} Hi there fellow! Well I don't think you can tell ADX is a useless indicator as it is used by so many amazing traders around the place.. Tell me more about your approaches? Stay tuned for the early bird results.
Ignored
I do not think it is useless, and I didn't test every angle obviously. However I did run more backtests with it than I can remember. If I have time I will go back over my notes, I will also run the same kind of backtest on your EA. Looking forward to see how you do.
 
 
  • Post #11
  • Quote
  • Edited 5:02am Jun 21, 2016 4:21am | Edited 5:02am
  •  Edorenta
  • Joined May 2014 | Status: Work in progress | 245 Posts
Alright I've been running the 0.1 version (same entries) for 3 days on a demo account.
The exposure is quite high, I'm trading 0.1 lot per pos for FX, 1 lot for commodities and index CFDs, here are the results using the enclosed set files, I didn't run any real optimization though
Attached Image (click to enlarge)
Click to Enlarge

Name: Demo1.png
Size: 139 KB
Attached File(s)
File Type: zip ADXB Sets.zip   9 KB | 1,244 downloads
You'll always miss 100% of the shots you don't take.
 
 
  • Post #12
  • Quote
  • Jun 21, 2016 6:05am Jun 21, 2016 6:05am
  •  keziahpie
  • | Commercial Member | Joined Dec 2013 | 218 Posts
which file is the EA actually?
 
 
  • Post #13
  • Quote
  • Jun 21, 2016 6:10am Jun 21, 2016 6:10am
  •  Edorenta
  • Joined May 2014 | Status: Work in progress | 245 Posts
Quoting keziahpie
Disliked
which file is the EA actually?
Ignored

Please read the first post.
ADX Bone 0.2 (.ex4)
You'll always miss 100% of the shots you don't take.
 
 
  • Post #14
  • Quote
  • Jun 21, 2016 6:24am Jun 21, 2016 6:24am
  •  blamshakk
  • Joined Mar 2010 | Status: Member | 2,162 Posts
Edorenta that looks like a great start to say the very least. many thanks for uploading the settings as well. Will load these up on a demo next week after Brexit





Quoting Edorenta
Disliked
Alright I've been running the 0.1 version (same entries) for 3 days on a demo account. The exposure is quite high, I'm trading 0.1 lot per pos for FX, 1 lot for commodities and index CFDs, here are the results using the enclosed set files, I didn't run any real optimization though {file} {image}
Ignored
 
 
  • Post #15
  • Quote
  • Jun 21, 2016 6:46am Jun 21, 2016 6:46am
  •  Edorenta
  • Joined May 2014 | Status: Work in progress | 245 Posts
Quoting blamshakk
Disliked
Will load these up on a demo next week after Brexit {quote}
Ignored
Hopefully Bremain
You'll always miss 100% of the shots you don't take.
 
 
  • Post #16
  • Quote
  • Jun 21, 2016 7:14am Jun 21, 2016 7:14am
  •  radadiya
  • | Joined Sep 2013 | Status: Member | 305 Posts
Quoting Edorenta
Disliked
First things first: This is a strategy I'm trading manually live on Index CFD and JPY pairs, having quite interesting results, reason why i decided to put some code on Objective : Catching noiseless trends and avoiding range/choppy markets Means : Using a mid-term ADX and its moving average (parameters of these two will depend on your own optimization, feel free to share yours) Entries : On ADX / ADXMA upward cross, i.e when a trend appears and accelerates Direction : Long if DI+ > DI-, Short if DI- > DI+ SL/TP/TS : Custom blends of 2 ATR and an...
Ignored
Thanks for sharing your experiences and EA. I will do forward testing on demo. Do suggest to change setting in indicator ADX+ADXMA in line with EA settings on the charts?
 
 
  • Post #17
  • Quote
  • Jun 21, 2016 8:27am Jun 21, 2016 8:27am
  •  Edorenta
  • Joined May 2014 | Status: Work in progress | 245 Posts
Quoting radadiya
Disliked
{quote} Thanks for sharing your experiences and EA. I will do forward testing on demo. Do suggest to change setting in indicator ADX+ADXMA in line with EA settings on the charts?
Ignored
Hey, If you want to visually see what the EA is trading and why, of course you should adjust your indicator to the EA's settings
You'll always miss 100% of the shots you don't take.
 
 
  • Post #18
  • Quote
  • Jun 21, 2016 2:45pm Jun 21, 2016 2:45pm
  •  blamshakk
  • Joined Mar 2010 | Status: Member | 2,162 Posts
well yes maybe hopefully...especially after what george soros said today,,,well i went with an early postal vote here for brexit and when my colleagues found out i got massive stick for it at work

Quoting Edorenta
Disliked
{quote} Hopefully Bremain
Ignored
 
 
  • Post #19
  • Quote
  • Jun 21, 2016 3:04pm Jun 21, 2016 3:04pm
  •  kirby
  • | Joined Oct 2012 | Status: Member | 17 Posts
Quoting Edorenta
Disliked
Alright I've been running the 0.1 version (same entries) for 3 days on a demo account. The exposure is quite high, I'm trading 0.1 lot per pos for FX, 1 lot for commodities and index CFDs, here are the results using the enclosed set files, I didn't run any real optimization though {file} {image}
Ignored
Thank you for the sets, i put them on a demo account and will see.
 
 
  • Post #20
  • Quote
  • Jun 22, 2016 5:11am Jun 22, 2016 5:11am
  •  boxcar
  • | Joined Jul 2015 | Status: Member | 39 Posts
What option i can change to limit my loss in each trade?

For example, in DAX30 with 0.5 Lots (12,5€/pip) i have losses between 1.200 € - 2.000 €

I want to limit this quantity to 500 € for example.

My settings:

ATR/Hilo 15
ATR Weight 1.0
Hilo Weight 0.5
Targeted 3.5
Trailing 0.5
Lots 0.5
Money Management: Classic
Martingale 1.1
Scaler 0.1
false
false
false
true

Thank you!!
 
 
  • Trading Systems
  • /
  • ADXB - A trend following strategy EA
  • Reply to Thread
    • Page 1 2
    • Page 1 2
0 traders viewing now
  • More
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023