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

Re: [amibroker] Counting bars



PureBytes Links

Trading Reference Links

Hi Thomas,

I did think of that and tried BarsSince(Sell)>3  but with the SELL being 
initialised after the BUY, it gives an error.

Does it actually matter whether BUY or SELL are initialised first or in 
what order?? This is probably a silly question, but I always just 
assumed the BUY came first.

Andrew.

ThomasZ wrote:

> hi,
>
> try out the barssince function.
> probably   buy = mycondition and barssince (sell>3);
>
> Regards
>
> Thomas
> http://www.tradingbasis.com




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Help tsunami villages rebuild at GlobalGiving. The real work starts now.
http://us.click.yahoo.com/njNroD/KbOLAA/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/