[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Sell Price



PureBytes Links

Trading Reference Links

In backtest, I am trying to see how many of my trades go up in price after a buy --- using code below:
 
HoldPeriods = 5;
SellPrice  = HHV(High,HoldPeriods);
 
This should sell at the highest price since buy, buy what is happening is that the sell price is at the high of the selling bar.????
 
Any ideas?
 
Thanks
 
ara


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