View Full Version : Enhancement Request - Pivots
yeneuro
07-02-2007, 08:30 AM
Would you be able to consider enabling each of the pivots to be labelled by the user eg Daily PP or Weekly PP or Monthly PP etc.
Also would you be able to add S3 and R3
Thanks
NinjaTrader_Dierk
07-02-2007, 08:34 AM
Thanks for your suggestion. We'll add it to the list.
pdawg
07-03-2007, 12:07 AM
I second this motion
yeneuro
07-11-2007, 01:40 PM
It seems as though the weekly and monthly pivots are not dynamic in that they do not automatically calculate at the beginning of each week or month if the chart remains in the "workspace".
If a new chart is created then the pivots are correct.
"Calculate on bar close" is set to True.
"Reload NinjaScript" does to recalculate.
This means that every chart in the "workspace" has to be closed and a new chart created at the beginning of every week and every month.
Is there a way to overcome this? If not can you add it to the "wish list".
Thanks
NinjaTrader_Christian
07-12-2007, 01:55 AM
Hi,
I tried two times to reproduce (with weekly bars), but didn't get any error. As soon as the first bar of the new week is drawn, the pivots are recalculated. Difference may be, that I used CalculateOnBarClose = false, which calculates the indicator values on every OnBarUpdate event, instead of when each bar is completed.
But even if you have CalculateOnBarClose = true, the new pivots should be calculated and ploted when the 2nd bar of the new week is visible.
I know this is not quick to reproduce, but can you please send me 2 screenshots of that, one before (old week) and one after (new week, with same pivots) ? Both screenshots should include: instrument, indicator settings (on chart), time frame on which chart is open, period settings. And of course the values of the pivots should be visible.
Adress: christian AT ninjatrader DOT com
Thanks,
Christian
NinjaTrader_Josh
07-12-2007, 02:21 AM
Here is my pivots indicator. I modified things slightly and it plots pivots up to R5/S5. Hopefully it will suit your needs.
You can choose how far out you want the pivot lines to be painted with the "Width" parameter. You can also choose to show the pivot labels or not with the "Label" parameter. The labeling will automatically differentiate between Daily, Weekly, and Monthly pivots.
pdawg
07-12-2007, 10:23 AM
Nice! Do you think you could get it to take user definable OHLC values to match the floor trader pivots? Current pivot values never match.
NinjaTrader_Josh
07-12-2007, 01:23 PM
pdawg: I'm not sure exactly sure how you would use OHLC. Sorry I am unfamiliar with floor trader's pivots. If you could tell me the calculations for the pivots I'm sure I can work it in for you.
pdawg
07-12-2007, 02:55 PM
uacvax,
Basically just have user inputs for the high, low, close values instead of going off the chart. That way the pivots match up with the floor pivots.
NinjaTrader_Josh
07-12-2007, 06:41 PM
Alright pdawg. Give this one a try. You can choose the Close, High, and Low for the pivot calculations. Set the "FloorLabels" to true if you want the indicator to label the pivot lines as Floor PP etc instead of just PP.
pdawg
07-13-2007, 02:16 AM
uacvax,
Thank you! This works perfectly. I suspect this will get a few downloads as a decent workaround for the pivot issues. My hats off to you.
Thanks again,
Philip
yeneuro
07-13-2007, 04:41 PM
Excellent, way to go uacvax and thanks for sharing
blaporte
12-01-2007, 08:17 AM
This may seem trivial, but I'm going to ask anyway. Would it be possible to change the input order on the Parameters screen of the Floor Pivot indicator to be High, Low, Close, rather than the C-H-L at present. Since we have to input these numbers, it would be nice to do it in the order that all bars/candles are referred to.
Thanks
NinjaTrader_Ray
12-01-2007, 09:07 AM
Unfortunately not since these parameters are sorted alphabetically as part of the user interface for all indicators.
NinjaCustomer
02-14-2008, 01:04 PM
Nice! Do you think you could get it to take user definable OHLC values to match the floor trader pivots? Current pivot values never match.
Is there a site that publishes Floor Pivots for ZN and ZB? I found only this site... http://www.mypivots.com/dn/ ... there is no ZN however. Is there any other site?