[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: real-time indicator question



PureBytes Links

Trading Reference Links

NoPlot works quite nicely.  Thanks for the suggestion, Roy.

jh

-----Original Message-----
From: Roy Johanson [mailto:tozar@xxxxxxxxxxxxx]
Sent: Friday, December 29, 2000 2:07 PM
To: jhamon@xxxxxxxxxxx
Cc: Omega_List
Subject: Re: real-time indicator question


John,

If you're using TS2K, just use NoPlot() function. In TS4, you'll need to
repaint
the plotted point in the bar color or back ground color which ever was
originally painted by the indicator.

This is how you would plot the bar when the condition is true and will turn
off
the bar plotting if conditions improve during the day:

If Trend = Down then
Begin
    Plot1(High, "HS"); { Bar High Red }
    Plot2(Low, "LS"); { Bar Low Red }
End
Else
Begin
    NoPlot(1);
    NoPlot(2);
End;


-- Roy


john hamon wrote:

> all,
>
> i have an indicator that paints bars daily bars, rather than using a
> paintbar study, to give me more control over their appearance.  as
generous
> people on this list taught me, it has to "paint" the O,H,L,C separately,
> based upon conditions.
>
> the problem is this: my the conditions that cause the indictor to paint
the
> bar might come and go intraday, and yet after they've changed, the Open
> remains painted.  my interpretation is that once the Open is painted it is
> never repainted, yet i have the indicator set to update every tick.
>
> are there some other precautions that you have to take to make sure that
an
> indicator gets re-evaluated periodically intraday, or do you have to clear
> everything periodically and repaint, or simply put: does anybody know how
to
> make this work?
>
> thanks for your help,
>
> jh