PureBytes Links
Trading Reference Links
|
Jeff,
Instead of changing the chart scaling, why not have the indicator not plot
until the NQ gets close to the limit. Something like:
----------------------------------------------------------------------------
---------
Inputs: MyGap(10); {Set to price difference where you want to see
Limit Line}
Variables: LimitD(0), NoPlot(0);
If Date <> Date[1] then Begin {Execute only on first bar of each day}
LimitD = Close[1] - 65; {Capture the previous day's close and
subtract 65}
NoPlot = 0; {Reset, so you don't plot until
price is close to limit down}
End;
If Low < (LimitD + MyGap) then NoPlot = 1; {Start plotting, continue for
rest of today}
If NoPlot = 1 then plot1(LimitD, "Limit");
----------------------------------------------------------------------------
-------
This code verifies in TS 4, but I don't have data for the NQ so I can't test
it. I hope it helps.
Jim Sullivan
===================================
----- Original Message -----
From: "Jeff Meek" <jeff@vptnet.com>
To: <omega-list@eskimo.com>
Sent: Monday, January 01, 2001 4:41 PM
Subject: Plot scaling
> I have created an indicator that plots the previous day's close minus 65.
> This plots the NQ limitdown value for the day. (I know the limitdown is
> based on the settle and not the close of the last bar, but that's not my
> question). The chart automatically scales to make the plot visible,
> squashing the bars. I only want the plot to be visible when the market
gets
> down in that area. How do I tell TS to ignore an indicator when selecting
> the scale for a chart?
>
> Thanks,
> Jeff
>
>
|