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

Re: [amibroker] Buy stop and sell stop instead of backtester setting options.



PureBytes Links

Trading Reference Links

Buy = Condi1 AND Condi2 AND Condi3 AND Condi4 AND Condi5 AND Condi6 AND Condi7 ; // kaufbedingungen

Buystop = Ref (H,-1);

BuyPrice = Max (Buystop,Low); // kaufpreis

----- Original Message -----
From: alta hob
Sent: Sunday, April 20, 2008 11:55 AM
Subject: [amibroker] Buy stop and sell stop instead of backtester setting options.

Hi


I am using the backtester in AB and when a trade is triggered the "backtester setting" option is being used which is currently set at "open".  So my backtesting results show the opening price as the open of the next bar which is wrong for my testing.


The price I actually want to enter at is High > Ref( High, -1 ); and I want to have a buystop at this price and not use the open price of a bar.


Anyone know how to do this please?

thanks
AH

__._,_.___

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




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

__,_._,___