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

Re: [amibroker] How can you sum events when using Explore or Scan and get a progressive count?



PureBytes Links

Trading Reference Links

Hi Graham,

Is there a way to do this so that maximum buys (on any given day over
the period) can be rendered?

Yuki

Thursday, December 29, 2005, 8:22:27 AM, you wrote:

G> I assume you mean the number for each symbol individually
G> Cum(buy) will add the signals and give the progressive answer in an exploration

G> filter = buy or sell;
G> addcolumn(cum(buy),"buys",1);
G> addcolumn(cum(sell),"sells",1);

G> If you explore over all quotations you will see the numbers

G> If you were wanting to count them for all of a group of stocks
G> combined then you need to use addtocomposite

G> AddToComposite( Buy, "~Signals", "O");
G> AddToComposite( Sell>0, "~Signals", "C");

G> I use the sell>0 in case you have applystop exits, also you will need
G> to add equity(1) before the lines to give the stops a sell number






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/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/