Page 1 of 1

Trailing Stop based on a Moving Average

Posted: 28 Jan 2014 15:04
by WHS Support
Dear traders,

attached you will find an express trailing stop based on the moving average indicator.

The inputs for this stop are as follows:
p = the number of periods over which the MA is smoothed.
InitialStop = this is always the stop level when a position is opened and remains at this level until the distance between the MA and the close is smaller than MA and the InitialStop.
SafetyZone = the minimum distance between the close price and the MA necessary before the stop level will trail by following the MA instead of remaining at the InitialStop level.
DisplaceMA = this allows you to shift the stop by a certain amount of ticks above or below the moving average.


Kind regards,
Bastiaan
WHS