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

Re: real-time indicator question



PureBytes Links

Trading Reference Links

Hello  john,

the  open  never  changes - it is what it is - from there forward what
can  change?  the high and the low - when are those established?  only
after  the  close,   therefore  the high and low are dynamic depending
upon  the  close  to  happen.   the  open  is  history  and so that is
established.

jh> all,

jh> i have an indicator that paints bars daily bars, rather than using a
jh> paintbar study, to give me more control over their appearance.  as generous
jh> people on this list taught me, it has to "paint" the O,H,L,C separately,
jh> based upon conditions.  

jh> the problem is this: my the conditions that cause the indictor to paint the
jh> bar might come and go intraday, and yet after they've changed, the Open
jh> remains painted.  my interpretation is that once the Open is painted it is
jh> never repainted, yet i have the indicator set to update every tick.

jh> are there some other precautions that you have to take to make sure that an
jh> indicator gets re-evaluated periodically intraday, or do you have to clear
jh> everything periodically and repaint, or simply put: does anybody know how to
jh> make this work?

jh> thanks for your help,

jh> jh



--
Best regards,
  Mark Brown   mailto:markbrown@xxxxxxxxxxxxx
  Y = Offset + Amplitude * sin(Frequency * X)