This is same as "MPValues" but works in Ninja 7. I don't know if it works in 6.5.
Wavey gave me the information that allowed me to update for v7.
The values it returns will change if you use it on different time frames. I usually use it on a 30m chart because that will give the same numbers that most people look at. I will transfer the lines to all my charts so that I can trade off these levels if I have confirmation from other indicators.
I circled several of the profitable trades that could have been taken. Of course they don't all work out!
You have to set the start time hour (session begin), start time minute (session begin) and session length.
Created this indicator to plot the 1 minute NYSE TICK and Advance/Decline on my range bar trading charts. I use it to see high/low TICK thresholds, TICK divergences, and A/D line market strength, used together to predict short term overbought/oversold market reversals. This can tell you when a pullback is imminent, or help trade reversals.
The necessary candles are artificially filled in to preserve the main chart bar spacing, but the high/low thresholds are retained. It also marks the 1 minute high/low TICK thresholds on the chart. The A/D line plot can be toggled on/off using CTL-ALT key stroke.
Note: You must have the NYSE TICK (^TICK) and Advanced Decline (^ADD) symbols defined in your Instrument database.
This in a NinjaTrader strategy that I use to output information and charts about an instrument, including:
-Range statistics (Including ON, RTH, and IB)
-Harmonic Rotation data
-Day Type data
-SQN Market Type data
When you run this strategy, it will output an Excel Spreadsheet to the directory you specify in the parameters.
There are multiple requirements to run this strategy. This makes use of Microsoft's Interop functionality to generate an Excel spreadsheet. Therefore you MUST have Microsoft Interop installed and add a reference to the Microsoft.Office.Interop.Excell.dll in NinjaTrader. You can learn more about how to do this here. And a big thank you to DionysusToast for his contribution.
This is a modified version of an existing indicator for which I've been unable to uncover the original programmer.
As best I can interpret the code, it paints UpBars/DownBars based on whether the current Median Price is greater than or less than the Median Price of the last six bars.
It also uses two additional colors to mark where the Up/Down trend is fading, which is based on comparing the LinRegSlope of the last 3 bars rising/falling.
The Neutral Bar is colored when the current bar Median Price is equal to the Median Price of the last six bars.
My modification only added the "Hollow Candle" effect to Up closing bars. I did not change any of the Trend decision making program logic.
January 17th, 2011 03:35 PM traderhas thanks to all the great traders at mikes who give so much.
February 6th, 2010 02:03 PM wavey MPValues are always handy ref - works for 7 if you just move the TickSize part from Initialize to first OnBarUpdate bar.
October 12th, 2010 10:35 PM ghman101 Thanks a million! Question, would it be hard to add the Initial Balance Period also? Something I use and would sure e
njoy. Thanks again, gh
April 5th, 2010 01:39 PM wavey Thanks for the update