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

RE: [amibroker] Using applystop for testing long & short system at same time.



PureBytes Links

Trading Reference Links

Title: Message
Thanks Paul,
 
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);
 
Dave 
 
 -----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Paul Ho
Sent: Sunday, 15 April 2007 10:00 PM
To: amibroker@xxxxxxxxxxxxxxx
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

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___