Where can I get polynomial regression channel indicator?
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Polinomial regression channel
Collapse
X
-
Hello daglas,
I'm not aware of an indicator by this name in these forums. Hopefully other community members could point you in the right direction if it exists somewhere else. If you know the calculations, you can explain your requirements to any of our NinjaScript consultants:
Ryan M.NinjaTrader Customer Service
-
daglas, you can check into the code shared here for a starting point - http://www.ninjatrader.com/support/f...ad.php?t=16318BertrandNinjaTrader Customer Service
Comment
-
Originally posted by NinjaTrader_Bertrand View Postdaglas, you can check into the code shared here for a starting point - http://www.ninjatrader.com/support/f...ad.php?t=16318
Comment
-
Calling PRC
Hello Ninjitsus, i been trying to call the PRC (Polinomial Regression Channel) from inside an other indicator, but the result i get is not what i expected , i tryed calling it as a double :
double PRC_a = PRC(degree, periods, strdDev, strdDev2).Fx[0];
and as a DataSeries:
(private DataSeries PRC_a; etc )
PCR_A.Set ( PRC(degree, periods, strdDev, strdDev2).Fx[0]);
and this is what i get
not even close to the original one :P
help?
thanks!
Comment
-
kabott, I believe this would be expected for the indicator when called programmatically - as you would then see what value was available in realtime at the exact moment / bar you called it. The indicator would be constructed to provide a best fit estimate over the data chosen, this will update then as new data comes in.
You can check the last value you got for the PRC indicator and programmatic all - they are the same.Last edited by NinjaTrader_Bertrand; 03-06-2012, 12:29 PM.BertrandNinjaTrader Customer Service
Comment
-
kabott,
You can plot the programmatic value in market replay /real time to see what is returned, and check the price marker on the axis for the actual value. This indicator recalculates as new values arrive, so is not suitable for real time trading signal.Last edited by NinjaTrader_RyanM1; 03-06-2012, 11:03 AM.Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by f.saeidi, Today, 11:02 AM
|
1 response
2 views
0 likes
|
Last Post Today, 11:08 AM | ||
Started by geotrades1, Today, 10:02 AM
|
4 responses
12 views
0 likes
|
Last Post
by geotrades1
Today, 11:08 AM
|
||
Started by rajendrasubedi2023, Today, 09:50 AM
|
3 responses
16 views
0 likes
|
Last Post Today, 10:57 AM | ||
Started by lorem, Today, 09:18 AM
|
2 responses
11 views
0 likes
|
Last Post Today, 10:55 AM | ||
Started by geddyisodin, Today, 05:20 AM
|
4 responses
30 views
0 likes
|
Last Post
by geddyisodin
Today, 10:45 AM
|
Comment