Steve, thanks very much. That did the trick. I forgot about this logic-check
that Amibroker does.
Best, Chris
- Original Message -
From: Steve Dugas
To: amibroker@yahoogroups.com
Sent: Tuesday, February 19, 2008 2:43 PM
Subject: Re: [amibroker] Buyprice question
Hi
February 19, 2008 4:45 PM
Subject: [amibroker] Buyprice question
>I am trying to have Amibroker backtest "execute" on prices that are
> something other than Open, Low, High, Close or Average (as specified
> in Backtester settings under Trade tab). I expected the code below,
>
I am trying to have Amibroker backtest "execute" on prices that are
something other than Open, Low, High, Close or Average (as specified
in Backtester settings under Trade tab). I expected the code below,
using BuyPrice variable to force backtesting to operate on my fixed
values of x and y bel
what trade delays are you using for your backtesting
If you are entering on the bar of the signal, I suggest 2 things
zero trade entry delay settradedelays(0,0,0,0);
and use high instead of close fpr long trades, as close may be back below
your signal price and you would have entered because the p
I am using 30min charts and would like to backtest a system where I
buy on dips below a given price level and sell at another price level.
It is possible to buy & sell within the same price bar. So I tried
the following:
buy = cross(pricelevel,c);
but buyprice wasn't being set to pricelevel; it