PDA

View Full Version : VPCI indicator


Rocky Mtn Trader
07-25-2008, 09:21 PM
Im looking for a VPCI indicator...you know, "volume Price Confirmation Indicator".

I've read an article on the internet about it and cant seem to find a completed indicator the way it is described in this document.

Here's the article in a pdf file...

Im sure someone on this forum already has this indicator.

Some feedback would be much appreciated....

thanks.
.
RMT

Rocky Mtn Trader
07-25-2008, 09:27 PM
cant seem to download the pdf file describing the indicator....if you dont know about this indicator and want to see the article explaining it...then i can email it too you....Thanks
.
RMT
.
.

NinjaTrader_Josh
07-25-2008, 10:46 PM
As a last resort you can also try contacting one of the NinjaScript Consultants here: http://www.ninjatrader.com/webnew/partners_onlinetrading_NinjaScript.htm

thrunner
07-26-2008, 03:41 AM
cant seem to download the pdf file describing the indicator....if you dont know about this indicator and want to see the article explaining it...then i can email it too you....
http://www.traders.com/Documentation/FEEDbk_docs/Archive/072007/TradersTips/TradersTips.html#ninja
NTRay has done this a while back but never posted it in the indicator section.

http://www.traders.com/Documentation/FEEDbk_docs/Archive/072007/TradersTips/ttfig14.gif
From within the NinjaTrader Control Center window, select the menu Tools > New > NinjaScript.

1. Within the wizard, press the "Next" button.
2. Add "VolumePriceConfirmation" for the name field and any additional descriptive information, then press the "Next" button.
3. Add an input parameter "LongTerm," and set the default value to 50. Add a second input parameter, "ShortTerm," set the default value to 20, and press "Next."
4. Add the plot name, "Vpci," set the color of the plot, and press "Next."
5. Add a line "ZeroLine," set the color of the line, and press the "Generate" button.


By pressing "Generate," the wizard will launch the NinjaScript Editor and automatically create the indicator code for you. Within the editor, replace the code contained within the OnBarUpdate() method with the following code:

double vpc = VWMA(LongTerm)[0] - SMA(LongTerm)[0];
double vpr = (VWMA(ShortTerm)[0] / MA(ShortTerm)[0]);
double vm = SMA(Volume, ShortTerm)[0] / SMA(Volume, LongTerm)[0];
VPCI.Set(vpc * vpr * vm);


6. Within the editor, press F5 to compile the indicator.
7. You have now created your Vpci indicator.

Rocky Mtn Trader
07-29-2008, 04:03 PM
thanks for the response for my indicator request. I did go to that website to create this indicator. However, I am the furthest thing from a programmer. I followed the instructions, but where "exactly" to put the added code is somewhat of a mystery...and the indicator didn't work.

Would anyone be so kind and quickly create the indicator for me....or cut and paste the added code where it belongs and take a screen shot of where you put it...

Not being a programmer...this stuff is like reading chinese.

Any help would be much appreciated.

RMT

richa61416
07-29-2008, 04:44 PM
http://www.ninjatrader.com/SC/Vpci.zip

That is the link from the same page. It already has the indicator as mentioned. Just follow the install instruction in the download.

r2kTrader
06-04-2009, 12:06 PM
Hi all,

Has anyone experienced trying to use the VPCI in a strategy and if you go out more than 2-3 days on a chart, it either takes nearly forever to load, or just freezes up NT?

Is there anything in this indicator that could cause NT to behave this way? Is there something about the personality of this indicator that might do this?


Thank you,

KrisS
06-06-2009, 12:18 PM
I just optimized a system including VPCI using five months of 1-minute bars with no apparent issue in doing so or displaying the chart. I can only offer this data point rather than input - sorry.

paulg
06-19-2009, 03:09 AM
http://www.traders.com/Documentation/FEEDbk_docs/Archive/072007/TradersTips/TradersTips.html#ninja
NTRay has done this a while back but never posted it in the indicator section.

http://www.traders.com/Documentation/FEEDbk_docs/Archive/072007/TradersTips/ttfig14.gif

Error! The file you requested was not found.

astra
06-19-2009, 03:32 AM
Error! The file you requested was not found.


Try this link:

http://www.traders.com/Documentation/FEEDbk_docs/2007/07/TradersTips/TradersTips.html#ninja

astra

paulg
06-29-2009, 03:06 AM
http://www.ninjatrader.com/SC/Vpci.zip

That is the link from the same page. It already has the indicator as mentioned. Just follow the install instruction in the download.


the instructions at #1 quotes:

>>Save the file VolumePriceConfirmation.cs to the folder My
Documents\NinjaTrader 6\bin\Custom\Indicator
>>

Where is the .cs file?! :confused:
I can't find inside the VPCI.zip

NinjaTrader_Bertrand
06-29-2009, 04:28 AM
paulg, please try importing the attached file using the File > Utilities > Import NinjaScript command. Thanks.

jenova
09-27-2010, 09:52 PM
Hi. I've downloaded the VPCI. Would someone be so kind to add a smoothing period into the indicator? Essentially, it is a moving average of the VPCI. Preferably as a variable.

Thank you so much.

paulg
09-28-2010, 12:16 AM
Hi. I've downloaded the VPCI. Would someone be so kind to add a smoothing period into the indicator? Essentially, it is a moving average of the VPCI. Preferably as a variable.

Thank you so much.

If you use NT7, you could create your smoothing of VPCI (indicator of indicator).

virtuose
07-28-2011, 09:40 PM
paulg, please try importing the attached file using the File > Utilities > Import NinjaScript command. Thanks.
Hello,

I just tried the VPCI indicator but it doesn't seem to work on NT7. When I backtest, the application freezes (or infinite loop). Anyone else is experiencing the same issue ? Is there an updated version of the Volume Price Confirmation Indicator that works on NT7 ?

Thanks a lot

NinjaTrader_Bertrand
07-29-2011, 02:17 AM
virtuose, I'm not aware of any issues - what strategy code are you using when you see this happen? Any errors in the log tab?

virtuose
07-29-2011, 05:59 AM
I used the VPCI indicator you posted in this thread within a very simple strategy created with NT Wizard (the strategy worked well before I included the condition with VPCI). There is no specific messages in the log... Thanks

NinjaTrader_Bertrand
07-29-2011, 06:04 AM
Can you please post the strategy created, so we can take a look? Have you tried it on different instruments and timeframes?