BuyPrice = Close;
SellPrice = High;

Note that what you are asking for is not realistic. You can never know what the 
High will be until after it has happened. Any backtest results you get will be 
grossly exaggerated.

Mike

--- In amibroker@yahoogroups.com, "prasantaroy36" <prasantaro...@...> wrote:
>
> 
> 
> --- In amibroker@yahoogroups.com, "prasantaroy36" <prasantaroy36@> wrote:
> >
> > Dear friends,
> > 
> > After fullfill certain condion BUY price will be signal generted bar close 
> > price
> > and exit price will be signal generted bar high price.
> > 
> > So, what will be the afl code to meet above criteria ? Want this code for 
> > backtesting purpose. Pl, help.
> > 
> > Thanks
> >
> 
> 
> pl, help
>


Reply via email to