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

RE: real-time indicator question



PureBytes Links

Trading Reference Links

thanks, stuart.

i think you solved my problem.  i changed my bar painting conditions to
block if-then-else statements.  that way if the conditions change, the
indicator "unpaints" itself.  i think this will work...

jh

-----Original Message-----
From: stuart a. miller [mailto:sunsetisles@xxxxxxxxxxxxxx]
Sent: Friday, December 29, 2000 10:11 AM
To: jhamon@xxxxxxxxxxx; Omega_List
Subject: Re: real-time indicator question


John,

You have described the TS static indicator problem that I have griped about
for years.

My answer was to have a technique coded for me that results in indicators
that reflect
the current status of the indicator conditions, and is, therefore, dynamic.
Thus, a
Paint Bar study will paint the current bar if its condition(s) are met,
unpaint it when the condition(s) are no longer met, ad nauseum, and the
close of the bar will be painted according to condition status at that time.

Doug Deming wrote the code for me.  doug@xxxxxxxxxxxxxx

Stu



----- Original Message -----
From: "john hamon" <jhamon@xxxxxxxxxxx>
To: "Omega_List" <omega-list@xxxxxxxxxx>
Sent: Friday, December 29, 2000 12:31 PM
Subject: real-time indicator question


> 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
>