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

[amibroker] Tracking The Cash - ATC help reqd pse



PureBytes Links

Trading Reference Links

I'm trying to create ATC tickers (~cash+ & ~cash-) 
that calculate the dollar value of the volume of 
advancing & declining stocks. 
Volume * Close I guess.
The following AFL gives me the volume but 
how do I convert it to the dollar value? 

Acash=IIf(C>Ref(C,-1),(V*O),0) ;
Dcash=IIf(C<Ref(C,-1),(V*O),0) ;

AddToComposite(Acash,"~cash+","x");
AddToComposite(Dcash,"~cash-","x");

TIA
Regds Gerard





-- 
http://www.fastmail.fm - Access all of your messages and folders
                          wherever you are

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Control Hunger EZ with fast acting oral EZ Appetite Suppressant Spray
from VitaminBoost.com. 1 Month Supply - 2oz., 80 sprays: $19.97.
http://www.challengerone.com/t/l.asp?cid=2866&lp=ezappetite3.html
http://us.click.yahoo.com/aSJFwB/XWXGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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