so I can reference a
dynamic stop delta then according to trade long or short? Is it
something like this:
LongFixedStop =
1.75*atr(10);
ShortFixedStop =
1.25*atr(10);
StopDelta = IIF(Buy,
LongFixedStop, ShortFixedStop);
ApplyStop(stopTypeLoss,
stopModePoint, StopDelta, True);
-----Original
Message-----
From:
amibroker@xxxxxxxxxps.com
[mailto:amibroker@yahoogroups.com] On Behalf Of Paul Ho
Sent: Sunday, 15 April 2007 10:00
PM
To:
amibroker@xxxxxxxxxps.com
Subject: RE: [amibroker] Using applystop
for testing long & short system at same
time.
you can only use
one applystop statement for each stoptype (refer to help) but you can have
different values as parameters depending on whether you're long or short
using iif.
From:
amibroker@xxxxxxxxxps.com
[mailto:amibroker@yahoogroups.com] On Behalf Of David
Sent: Sunday, 15 April 2007 9:34
PM
To:
amibroker@xxxxxxxxxps.com
Subject: [amibroker] Using applystop
for testing long & short system at same time.
Can
anyone confirm, can I use a different "applystop" parameter when I
want
a different initial stop setting for each long & short system
which
I test at the same time, or does the applystop apply to each
system?
Cheers,
Dave