Forums ProRealTime English forum ProOrder support Need help to code a more dynamic trailing stop Reply To: Need help to code a more dynamic trailing stop

#61167

I have developed a slightly different approach that works well for me so far.

I attempt to calculate a very accurate ATR right before opening a new position using something like this:

Then using this ATR value I calculate the following levels once at open using WF optimization:

  1. Target i.e. 10*ATR
  2. Trailing Initiate i.e. 6*ATR
  3. Stop i.e. 5*ATR

Only once a close beyond the Trailing Initiate level is registered I start trailing. Here is a example of how I do it:

 

2 users thanked author for this post.