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

Re: [amibroker] AddToComposit-Volume



PureBytes Links

Trading Reference Links

You are placing everything into the same array in your composite
Use different arrays instead of all "V"


On Fri, 25 Feb 2005 17:58:40 -0000, joeemmett2000
<joeemmett@xxxxxxxxxxxxx> wrote:
> 
> 
> I am trying to get total volume, volume for advancing issues and
> volume for declining issues. Here is what I have so far. It gives me
> the total volume but it gives me the number of advancing and
> declining issues rather than the volume.
> Thanks for your help, Joe
> 
> Buy=0;
> AddToComposite(V,"~NdxTotV","V");
> AddToComposite(IIf(C - Ref(C, -1) > 0, 1, 0), "~NDXAdvV", "V" );
> AddToComposite(IIf(Ref(C, -1) - C > 0, 1, 0), "~NDXDecV", "V" );
> 
> 
> Check AmiBroker web page at:
> http://www.amibroker.com/
> 
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> Yahoo! Groups Links
> 
> 
> 
> 
> 


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


------------------------ Yahoo! Groups Sponsor --------------------~--> 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/