Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
I will Develop your Indicator or Strategy for FREE
Collapse
This topic is closed.
X
X
-
Big Mike Trading
@Jikkie, try looking into joining BigMikeTrading.com - life time membership is cheap!Originally posted by Jikkie View Post
-
Help with indicator code
I'm wondering if someone can help me with the following:
Code to determine when the MACD is above/below (not necessarily crossing) the centerline and all three stochastics (20,50,100) have crossed below the 20 and/or above the 80.
I want to set a flag when the stos are all below the 20 AND the MACD is below the centerline.
Thanx in advance.
Leave a comment:
-
Thank You HarryOriginally posted by Harry View Post
Leave a comment:
-
The indicator is available here:Originally posted by BobyGill View PostHello Harry
Where I can find the zip file for this indicator, Thanks
Elite membership is required to download files.
Leave a comment:
-
NinjaTrader comes with a monthly pivot indicator, You just need to add the pivots indicator to your chart and set it to monthly. Enhanced pivot indicators can be found here:Originally posted by TheProfitcy View PostWould it be too much if I requested a monthly pivot point as well? My code is not working for me.
-Jason
Leave a comment:
-
Monthly Pivot Levels...
Would it be too much if I requested a monthly pivot point as well? My code is not working for me.
-Jason
Leave a comment:
-
Awesome, thank you so much!Originally posted by Harry View PostHere is a quick and dirty modification of the NinjaTrader default pivots indicator. It can now be used to display quarterly pivots.
Personally I would prefer 3-month rolling pivots.
Here is the difference: The quarterly pivots reset every three months and display pivots based on high, low and close of the quarter. The 3-month rolling pivots reset every month and display pivots based on high, low and close of the preceding 3 months.
Your indicator is attached.
Leave a comment:
-
Chart attached.Originally posted by koganam View PostEven more preferable might be truly rolling pivots, which reset everyday, and are based on the preceding 3 months.

I have used 60 days instead of 3 months. The shaded blue area is the 60-day rolling pivot range.
Leave a comment:
-
Even more preferable might be truly rolling pivots, which reset everyday, and are based on the preceding 3 months.Originally posted by Harry View PostHere is a quick and dirty modification of the NinjaTrader default pivots indicator. It can now be used to display quarterly pivots.
Personally I would prefer 3-month rolling pivots.
Here is the difference: The quarterly pivots reset every three months and display pivots based on high, low and close of the quarter. The 3-month rolling pivots reset every month and display pivots based on high, low and close of the preceding 3 months.
Your indicator is attached.
Leave a comment:
-
Here is a quick and dirty modification of the NinjaTrader default pivots indicator. It can now be used to display quarterly pivots.Originally posted by TheProfitcy View PostHello Everyone,
I was wondering if somebody could help me program a quarterly pivot indicator. I'm not much of a programmer and have never experimented with C. Below is the code I have so far. I'm trying to create a quarterly pivot level indicator that will be plotted on the price. The article on the specific indicator is HERE. As always, any help would be greatly appreciated. In that article you can see a chart example as well as the formula, but the formula for the pivots are as follows:
R2 = P + (H - L) = P + (R1 - S1)
R1 = (P x 2) – L
P = (H + L + C)/3
S1 = (P x 2) – H
S2 = P - (H - L) = P - (R1 - S1)
Personally I would prefer 3-month rolling pivots.
Here is the difference: The quarterly pivots reset every three months and display pivots based on high, low and close of the quarter. The 3-month rolling pivots reset every month and display pivots based on high, low and close of the preceding 3 months.
Your indicator is attached.Attached Files
Leave a comment:
-
I am new to NinjaTrader, from mt4, and would very much like to find a few simple indications that I have so become accustomed to. Vertical lines to mark session opening times, or coloured blocks to mark session periods. Also a horizontal grid that I can set to 10 pips and 100 pips. They may well exist, but I haven't a clue where to find them. Please can a kind person help?
Leave a comment:
-
Quarterly Pivot Levels...
Hello Everyone,
I was wondering if somebody could help me program a quarterly pivot indicator. I'm not much of a programmer and have never experimented with C. Below is the code I have so far. I'm trying to create a quarterly pivot level indicator that will be plotted on the price. The article on the specific indicator is HERE. As always, any help would be greatly appreciated. In that article you can see a chart example as well as the formula, but the formula for the pivots are as follows:
R2 = P + (H - L) = P + (R1 - S1)
R1 = (P x 2) – L
P = (H + L + C)/3
S1 = (P x 2) – H
S2 = P - (H - L) = P - (R1 - S1)
My Code:
Code:// This namespace holds all indicators and is required. Do not change it. namespace NinjaTrader.Indicator { /// <summary> /// Quarterly Pivot Points as recommended and formulate by Tom Aspray, original author unknown. /// </summary> [Description("Quarterly Pivot Points as recommended and formulate by Tom Aspray, original author unknown. ")] public class QuarterlyPivotPoints : Indicator { #region Variables // Wizard generated variables // User defined variables (add any user defined variables below) #endregion /// <summary> /// This method is used to configure the indicator and is called once before any bar data is loaded. /// </summary> protected override void Initialize() { Add(new Plot(Color.FromKnownColor(KnownColor.Green), PlotStyle.Bar, "P1")); Add(new Plot(Color.FromKnownColor(KnownColor.Red), PlotStyle.Bar, "R2")); Add(new Plot(Color.FromKnownColor(KnownColor.Red), PlotStyle.Bar, "R1")); Add(new Plot(Color.FromKnownColor(KnownColor.DeepSkyBlue), PlotStyle.Bar, "S1")); Add(new Plot(Color.FromKnownColor(KnownColor.DeepSkyBlue), PlotStyle.Bar, "S2")); Overlay = true; } /// <summary> /// Called on each bar update event (incoming tick) /// </summary> protected override void OnBarUpdate() { // Use this method for calculating your indicator values. Assign a value to each // plot below by replacing 'Close[0]' with your own formula. P1.Set(High[0]+Low[0]+Close[0]/3); R2.Set(P+(High[0]-Low[0])==P+(R1-S1)); R1.Set((P1*2)-Low[0]); S1.Set((P1*2)-High[0]); S2.Set(P1-(High[0]-Low[0])==P-(R1-S1)); } #region Properties [Browsable(false)] // this line prevents the data series from being displayed in the indicator properties dialog, do not remove [XmlIgnore()] // this line ensures that the indicator can be saved/recovered as part of a chart template, do not remove public DataSeries R2 { get { return Values[0]; } } [Browsable(false)] // this line prevents the data series from being displayed in the indicator properties dialog, do not remove [XmlIgnore()] // this line ensures that the indicator can be saved/recovered as part of a chart template, do not remove public DataSeries R1 { get { return Values[1]; } } [Browsable(false)] // this line prevents the data series from being displayed in the indicator properties dialog, do not remove [XmlIgnore()] // this line ensures that the indicator can be saved/recovered as part of a chart template, do not remove public DataSeries S1 { get { return Values[2]; } } [Browsable(false)] // this line prevents the data series from being displayed in the indicator properties dialog, do not remove [XmlIgnore()] // this line ensures that the indicator can be saved/recovered as part of a chart template, do not remove public DataSeries S2 { get { return Values[3]; } } #endregion } }
Leave a comment:
-
PivotZones Recoded
I have now updated the PivotZones indicators. It is an entirely recoded version with a few more display options than the original. Currently one color is possible for support and another color can be chosen for resistance. I have taken note of your request, but it will probably be the next update only.Originally posted by rwkrutch View PostThank you Harry. This is perfect!
Can you please put in an option to customize the color for each S/R level?
If you do not want to wait you can also set the plotcolors by editing the indicator code. You can set the color in OnStartUp() via
where X indicates the number of the plot.Code:Plots[X].Pen.Color = <yourFavouriteColor>;
The recoded indicators can be found here:
Leave a comment:
-
Thank you Harry. This is perfect!
Can you please put in an option to customize the color for each S/R level?
Leave a comment:
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
605 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
351 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
560 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
561 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Leave a comment: