How do I create an automated expert advisor for an R Multiple trailing stop in MT4?

Back to topics list To post a new topic, please log in or register
avatar
8
JJay 2015.04.25 12: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. 

 

 

avatar
13009
WHRoeder 2015.04.25 13: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.
avatar
8
JJay 2015.04.25 14:47 #
 

avatar
8
JJay 2015.04.25 14:48 #
 
Ok here it is. I've never attempted to code or use expert adviser before.
Back to topics list  

To add comments, please log in or register