Forex Zone - Forex Forum

Re. Expert Advisors - ADX - MT4 programming

Discussion started on New EA Coding

  • Starter
  • Posts: 5
  • Points: 0
  • Likes Received: 0
  • Reputation: +1/-0
Hi;

I need an EA for the MT4 platform, that opens a trade when the ADX 14 crosses the 15 or 20 median line- with stop loss, take profit and break even parameters.   Please confirm price and timeline, and if anything further is needed.  


Thanks,
forexblue1

Linkback: https://www.forex.zone/new-ea-coding/26/re-expert-advisors-adx-mt4-programming/597/
#1 - December 14, 2018, 04:30:06 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
I'll get something basic to you soon.
#2 - December 14, 2018, 08:35:52 PM

  • Starter
  • Posts: 5
  • Points: 0
  • Likes Received: 0
  • Reputation: +1/-0
Thank you Francoisvs.



forexblue1
#3 - December 14, 2018, 10:46:47 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
The basics of the EA is done.
I just need more specifics about your entry and exits.

The ADX alone crossing the median line, is really not helping much.
Cross up buy?
Cross down sell?
Or is DI+ cross above DI- a buy?
I guess you see where I am going with this....
#4 - December 15, 2018, 10:01:37 PM

  • Starter
  • Posts: 5
  • Points: 0
  • Likes Received: 0
  • Reputation: +1/-0

Attached is an example of the ADX 14 with level 20 drawn.

1--Buy when the green line crosses above  level 20 and close trade when the green line crosses below level 20.

2--Sell when the green line crosses above level 20 and close trade when the green line crosses below level 20.

Also, when  profit reaches the pip value of the stop loss (i.e 50 pips) , is it possible to have the ea  move the stop loss to 4 pips above or below the opening price?


Please confirm the price of this project.



Thanks,
forexblue1
#5 - December 16, 2018, 08:15:28 PM
Attachments:

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
I'll get this done soon.
I've already included trailing stop and move to breakeven functions.
#6 - December 16, 2018, 09:33:47 PM

  • Sr. Member
  • Posts: 352
  • Points: 71
  • Likes Received: 150
  • Reputation: +11/-0
Here it is.
I assumed the sells will be when the red line crosses up and close sell when red line crosses down. 
The inputs should be self explanatory.
Please test it and let me know
#7 - December 16, 2018, 10:49:52 PM
Attachments:

Members:

0 Members and 1 Guest are viewing this topic.