Visual Adjustment to Trailing Stop Loss
Author: akardar1
Creation Date: 8/31/2009 6:59 AM
profile picture

akardar1

#1
Hi,

I have a ATR derived trailing stop. As it stands, a variance of ATR is added or subtracted from an average mid price.
On the chart, I see its moves up or down "smoothly" (i.e for a given unit of price and time on the chart, it will move up diagonally)

Is there a way (via code or a WL setting) to change the way the trailing stop "follows the price", I would want it to moves in "steps".
I would want it to move either horizontally or vertically as per the example below (for a sell trailing stop in an uptrend).

_
_|
_|
_|

instead of:

/
/
/
/

I understand its purely cosmetics and that the data points are the same, but I would prefer this options as the trailing stop I have can at times be quite tight and therefore, visually, I would like to see "where it really is".

Adrien
profile picture

akardar1

#2
It should look like this:



CODE:
Please log in to see this code.


profile picture

Cone

#3
It can look anyway you'd like to program it. If you provide the specifications and your exit code, it would be pretty easy to change it, I'm sure.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).