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

Re: [amibroker] Sell Price



PureBytes Links

Trading Reference Links

You still need to define Sell to be at the bar of the highest high.
When you get the sell signal AB checks for the range of prices for tha
bar and selects the closest to your defined sellprice, ie in this case
the High price of the bar.
You can turn off price bar range checking by adding this to your code

SetOption( "PriceBoundChecking", 0 ) ;


On 5/16/05, Ara Kaloustian <ara1@xxxxxxxxxx> wrote:
> 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
> 
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/amibroker/
>   
> To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>   
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


-- 
Cheers
Graham
http://e-wire.net.au/~eb_kavan/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/