I figured it out myself by using

SetOption("PriceBoundChecking", False);

Charles

--- In amibroker@yahoogroups.com, "chuck_win" <ch...@...> wrote:
>
> Hi, 
> 
> For analysis purpose, I want to check rule at a specific time, and buy at 
> previous bar's close. However, 
> 
> buyprice = ref(close, -1); doesn't work.
> 
> it always use current close price as buyprice. 
> 
> Thanks much for any assistance.
> 
> Charles
>


Reply via email to