Download MetaTrader 5
To add comments, please log in or register
Enable MQL5 Storage to store your source codes. It is free!
John
23
John 2015.04.25 10:14 

Hi 

I am looking to create an automated expert adviser that will automatically trail my stops (if possible).

I want my trailing stops to be consistent with the amount I'm risking (1 R Multiple).

 

For example, if I'm risking 50 pips I want my trailing stop to start locking in profits once I hit 2 R's (100 pips) and then start the trailing stops at Entry + 50 pips, and then 1 R from then on.

 

An Example (long trade):

Buy:                    0.70000

Stop Loss:            0.69500

1 st Target (2 R): 0.71000, Trailing Stop activated at 0.70500 (1 R)

2nd Target (3 R): 0.71500, Trailing Stop activated at 0.71000 (2 R)

 .....and so on.......

 

I've attached a screenshot so you can see. 

whroeder1
13597
whroeder1 2015.04.25 11:07  

JJay:

I am looking to create

I've attached a screenshot so you can see.

  1. Don't attach a file, insert the image
  2. learn to code it, or pay someone. We're not going to code it FOR you. We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
John
23
John 2015.04.25 12:47  
John
23
John 2015.04.25 12:48  
Ok here it is. I've never attempted to code or use expert adviser before.
/
To add comments, please log in or register