PureBytes Links
Trading Reference Links
|
can someone help translate this from tradestation code? TIA:
TradeStation code for the Volume Price Confirmation indicator
(VPCI), p. 38:
{*******************************************************************
Description : This Indicator plots VPCI, Volume Price Confirmation
indicator
Developed by: Buff Dormeier, CMT
Marketguru@xxxxxxxxx or (800) 552-0774
********************************************************************}
Inputs:len2(10),VolToday(true), BBLength(3), StandardDev(2),
UpColor(DarkGreen), DnColor(Red);
;
variables:
VPCI(0),len(0),volumevolitility(0),vadjuster(0),vspread(0),smoothVPCI
(0);
len=len2*4;
VPCI= (bd.vwma(l,len,voltoday) -
average(l,len))*(((bd.vwma(l,len,voltoday))/average(l,len))) *
((bd.vwma(l,len2,voltoday))/average(l,len2))
* ((AVERAGE(V,len2)/ AVERAGE(V,len)));
smoothVPCI= bd.vwma(VPCI,len,voltoday);
volumevolitility= (average (volume,5)/average(volume,15))
*standardDev;
vspread= average(l,len)-(bd.vwma(l,len,voltoday));
vadjuster= vspread + average(l,len);
Plot1 (VPCI, "T");
Plot2 (smoothVPCI,"ST");
------------------------ 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/
|