Download MetaTrader 5
To add comments, please log in or register
Follow the news. View our company's official channel!
Cuong Truong
3746
Cuong Truong 2016.01.23 11:31 

 The Forbidden Fruit EA

This EA is very profitable when the market is ranging. It can achieve more than 95% to 100% win rate (long & short). This is a semi automatic EA. The user must manually enter in two prices inside a range (highest price range, lowest price range) for EA to trade.

 I just created an EA with a profit factor of 1387. It works in the 1 minute time frame.

Here's the MQL4 code to the EA, I've also included the EURUSD set file as well.

 

Settings:

  • PriceMustBeLower: highest price inside range
  • PriceMustBeHigher:  lowest price inside range

The EA will automatically divide price inside the range by two. 

  • If price is above the 50% price line inside range, EA will only place sell orders
  • If price is below 50% price line inside a range, EA will only place buy orders.

 

Enjoy!


PS. I haven't created a function to prevent the EA from placing trades during the London session. If anyone know how to read my MQL4 codes, they can add that part in the EA for me. I'm trying to add a code to make the EA automatically close all trades if price move outside that PriceMustBeLower range or PriceMustBeHigher range by 15 pips. (Before all trades are closed. Profit must be higher than starting balance that the user entered in the input field). Can someone modify it for Free and reply to this thread with their code modification? 

You will automatically get credit for it, if you reply to this thread with your modification. 

 

Mostafa Anber
887
Mostafa Anber 2016.01.23 11:50  
where is the place should set file put in ?
Cuong Truong
3746
Cuong Truong 2016.01.23 11:51  
Mostafa Anber:
where is the place should set file put in ?
you don't put it anywhere, you just need to load it from the settings menu.
Mostafa Anber
887
Mostafa Anber 2016.01.23 11:58  
Cuong Truong:
you don't put it anywhere, you just need to load it from the settings menu.

ok thanks

Stuart Browne
5600
Stuart Browne 2016.01.23 11:59  
Please upload to codebase, not in a forum post. Thanks
Cuong Truong
3746
Cuong Truong 2016.01.23 12:07  
Stuart Browne:
Please upload to codebase, not in a forum post. Thanks

Just noticed you removed my MQL4 file that I uploaded. I've just added it to codebase 

Luc Levesque
784
Luc Levesque 2016.01.23 12:16  

Hi Cuong,

I would be pleased to help you. Could you send me the code?

Cuong Truong
3746
Cuong Truong 2016.01.23 12:17  
Luc Levesque:

Hi Cuong,

I would be pleased to help you. Could you send me the code?

sent.
Stuart Browne
5600
Stuart Browne 2016.01.23 13:05  
Cuong Truong:

Just noticed you removed my MQL4 file that I uploaded. I've just added it to codebase 

Thanks Cuong
Carl Schreiber
6125
Carl Schreiber 2016.01.23 14:43  
Cuong Truong:

Just noticed you removed my MQL4 file that I uploaded. I've just added it to codebase 

Couldn't find it - may I ask you too to send me your EA?

Thanks in advance and a nice weekend!

Calli

Cuong Truong
3746
Cuong Truong 2016.01.23 15:31  
calli:

Couldn't find it - may I ask you too to send me your EA?

Thanks in advance and a nice weekend!

Calli

sent
/ /1234567
To add comments, please log in or register