Hi - You can turn off that range
checking by adding this to your code -
SetOption( "PriceBoundChacking", False"
);
Steve
----- Original Message -----
Sent: Saturday, December 26, 2009 2:50
AM
Subject: Re: [amibroker] Does anyone do
FX backtesting?
I tried using BuyPrice/SellPrice/ShortPrice/CoverPrice but the problem is
it won't take values that fall outside the range of the Low and High for a
bar. I can't think of any other way to trick it, any ideas?
From: Potato Soup <potatosoupz@xxxxxxxxx> To: amibroker@xxxxxxxxxxxxxxx Sent: Sat, December 26, 2009 1:27:54
AM Subject: [amibroker] Does
anyone do FX backtesting?
How do
you handle pairs quoted against the dollar, such as USDCAD? To the backtester
it will look like the symbol costs 1.0579, when in fact it costs .94520. Is
there a way to fix this automatically, or do you test for this in the script
by looking at the pair? And if the latter, how do you retrieve the price so
that you can invert it?
__._,_.___
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
__,_._,___
|