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

[amibroker] AddToComposit-Volume



PureBytes Links

Trading Reference Links


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" );






------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/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/