PDA

View Full Version : How to avoid plots squeeze the chart?


max1ci6
04-26-2007, 03:28 AM
I was able to write a piece of code to plot highs and lows of 2/3/4 days ago only on the current day session.
Problem is that the plots squeeze the chart if they are far away .... how can I force NJ to plot the lines only if they are close to the price?
The built-in Pivots indicator works in that way, that is the lines are visible only if current price is close .

Thks.

Massimo

max1ci6
04-26-2007, 03:29 AM
second image

NinjaTrader_Ray
04-26-2007, 04:30 AM
Under Initialize() set


AutoScale = false;

Ray

max1ci6
04-26-2007, 07:36 AM
Thanks Ray.