PureBytes Links
Trading Reference Links
|
Below is sample code for using the ExitAtStop argument (4th argument) in the
Applystop statement and the explanation from the help file.
I must be thick - can someone who's done a lot of backtesting explain to me
that this means?
What is "trade price" and "regular trade price"?
Sounds like option 2 exits on the next bar, so what is the real difference
between option 0 and 1?
Any help appreciated.
Thanks,
Brooks
ExitAtStop = 0; /* means check stops using only trade price AND exit at
regular trade price */
//ExitAtStop = 1; /* check High-Low prices AND exit intraday on price equal
to stop level on the same bar when stop was triggered */
//ExitAtStop = 2; /* check High-Low prices but exit NEXT BAR on regular
trade price. */
ApplyStop( stopTypeTrailing, stopModePercent, StopPercent, ExitAtStop);
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/DldnlA/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
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 other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|