Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

VPCI for Amibroker (AFL)

Rating:
3 / 5 (Votes 3)
Tags:
oscillator, amibroker

I have formulated the Volume Price Control Indicator.

THe buy and the sell signals are congested.

If anyone can throw light to improve this further.

rEGARDS,

Prasad Rao.

Screenshots

Similar Indicators / Formulas

3 Days Track
Submitted by janet0211 over 14 years ago
Trading Volume Statistic
Submitted by tuanstock1 over 10 years ago
Ergodic Oscillator
Submitted by dljtrader about 14 years ago
BoH Risk Aversion Indicator
Submitted by genkumag almost 13 years ago
Chande Momentum Oscillator
Submitted by klimpek almost 14 years ago
%R ++
Submitted by reb over 14 years ago

Indicator / Formula

Copy & Paste Friendly
 /*Volume-weighted average = Sum {closing price (I) * [Volume (I)/(total range)]} where I = given Day’s action.*/




Days = Days1 =LINE_ZERO =0;
vpci_zero= 0;
S_PERIOD = Param("vm sHORT",5,1,50,1);
L_PERIOD = Param("vm LONG",20,1,100,1);


/////////****************VWMA********************/

S_VWMA = Sum(C*V,S_PERIOD)/Sum(V,S_PERIOD);
L_VWMA = Sum(C*V,L_PERIOD)/Sum(V,L_PERIOD);
VWMA = S_VWMA + L_VWMA;


printf("Close Short %g \n",Ref(C,S_PERIOD-1));
printf("VOLCUM %g \n",(Ref(V,S_PERIOD)+Ref(V,L_PERIOD)));
printf("LPERIODA %g \n",L_PERIOD);
printf("LVWMA %g \n",L_VWMA);
printf("SPERIODA %g \n",S_PERIOD);
printf("SVWMA %g \n",S_VWMA);
printf("VWMA %g \n\n",VWMA);

/////////****************VPC********************/

VPC = L_VWMA - MA(C,L_PERIOD);
printf("MA long %g \n",MA( C,L_PERIOD));


VPR = S_VWMA / MA(C,S_PERIOD);
printf("VPR %g \n",VPR);


Vol_multi = MA(V,S_PERIOD)/MA(V,L_PERIOD);
printf("VPC %g \n",VPC);

printf("vOL_MULTI %g \n",Vol_multi);

VPCI = VPR * Vol_multi * VPC;
printf("VPCI = %g \n",VPCI);



Plot(vpci_zero,"",colorWhite);
Plot(VPCI,"",colorRed);


// and VPCI smoothed
aperiod = Param("Smoothing period", 20, 1, 30, 1 );
VPCI_SMOOTH = MA( VPCI, aperiod);
Plot( VPCI_SMOOTH, "MA("+aperiod+")", colorBlue );




VPCI_BUY = VPCI > VPCI_SMOOTH AND ADX(7) > 10 AND MACD( 12, 26 ) > Signal( 12, 26, 9 );


VPCI_SELL = VPCI< VPCI_SMOOTH;


PlotShapes(IIf(VPCI_BUY,shapeUpArrow,Null),colorGreen,0,Min(0,0),-20); 
PlotShapes(IIf(VPCI_SELL,shapeDownArrow,Null),colorBrown,0,Min(0,0),-20); 
//** simple trading system follows***
 //Buy = Vp > Vps AND**
     //ADX( 7 ) > 10 AND**
     // MACD( 12, 26 ) > Signal( 12, 26, 9 );**
// Sell = Vps < Vp;**

2 comments

1. arm

HI
WHAT IS THE ABOVE INDICATOR (CHART POPUPS) CALLED? TX

2. ecredic

I have a consideration!

acording to Buff Dormeier the VPCIsmooth should be made with a VWMA.

maybe you should use the “cross” function for the buy and sell instructions.

Leave Comment

Please login here to leave a comment.

Back