PureBytes Links
Trading Reference Links
|
Add this to your script:
SETOPTION("PriceBoundChecking", FALSE);
dale b
--- In amibroker@xxxxxxxxxxxxxxx, "Dickie Paria" <babui@xxxx> wrote:
>
> Terry & Graham - thankyou very much. The "Plot" command worked
just
> fine. While backtesting the simple formula below (and using
> the "Plot" command to figure out ATR), I realised that if
> the 'BuyPrice' was outside the High-Low range of the bar, then the
> backtest took the H or L as the 'BuyPrice'.
>
> How do I get the 'BuyPrice' to only function, during backtesting,
> when it falls whithin the H-L of a bar and skip all other bars ?
>
> While searching the 'help' index, I came across this -
>
> "During back-testing AmiBroker will check if the values you
assigned
> to buyprice, sellprice, shortprice, coverprice fit into high-low
> range of given bar. If not, AmiBroker will adjust it to high price
> (if price array value is higher than high) or to the low price (if
> price array value is lower than low)".
>
> Again - the qts is - how do I disable the above, so it only
backtests
> a trade that falls in the H-L range of the bar?
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/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/
|