Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
Login to Download
ChartScale
Previously I only had this indicator posted on Ninja Support....(but based on requests, I've added it to the BMT downloads area. As I get time, I will modify and improve the code)
Ninja charts currently do not provide an automated method....(at least none I know of)....to set a 'visual scale' on Price.
Ninja allows manually scaling of the chart, but when price moves outside the desired range, Ninja requires you to..."click the F box"...in the upper left hand corner to regain scaling, and then repeat the manual process all over again. This means that when price narrows, the smaller swings take up the entire chart, causing small swings to visually appear the same size as larger swings....and causing small candles to elongate on the chart.
-----------------------------------------------------------------------
I have coded a very basic "scaling indicator" that will hold the Ninja charts in a desired tick range (y axis up-down). When price narrows, the chart scale will remain as you set it and the candlesticks will paint themselves showing visually appropriate swings. When/If price starts swinging significantly and moves outside of your scaled range, the indicator lets Ninja scaling take over...so price always remains within the bounds of your chart.
The ChartScale indicator automatically adjusts to any market "tick size"....and calculates the scaling range based on your settings...
- Lookback Period
- Desired # of ticks for right hand y axis
The indicator adds the appropriate amount of 'space' to the top and bottom of the chart when price narrows, maintaining a visual perspective that reflects the narrowed price swing.
NOTE: The 'blue lines' on the example are simply to help illustrate the comparison, they do not actually draw on the chart
Category NinjaTrader 7 Indicators
961
photog53
Comments/ratings
skyfly July 26th, 2011 09:10 PM
This is really really good. I hate always having to screw around with the scaling, while trading is going on, just to get it to "look" right. I do not know why in NT7 they haven't taken care of this, would be so simple to fix.
Anyways, well done, I appreciate it alot.
learning0101 September 5th, 2011 09:15 AM
No Comment
Arpad March 23rd, 2012 07:51 AM
This is an amazing little utility!
Thanks!