[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[system-traders] Re: Trailing Stop (with ATR as an example)?



The algorithm is something like this:

The ATR trailing line never decreases, only increases in value, so for example:

temp_atr_trailing = I:Prices - {I:ATR}*2;

if (atr_trailing > maxtrailing)
maxtrailing = temp_atr_trailing;

if (I:Prices <= maxtrailing)
sell!;

something like this. And the KeepRunUp indicator I think it's very ineffective because it's using Max in period for every tick.

So any Ideas how to develop General Trailing Stop indicator? or just for the ATR?

Aurimas


On Mon, Apr 27, 2009 at 1:05 PM, Aurimas <4urimas AT gmail.com> wrote:
Hello Genius Traders!

Could anyone write a system on GT with trailing stop exit signal? I'd really appreciate since I have hard time making one.

Aurimas