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

Coding a paintbar



PureBytes Links

Trading Reference Links

Hi All,

I am trying to code (what I thought was simple) a paintbar

I want to paint only 3 bars on the chart

a) the current bar
b) the bar 26 periods before the current bar
c) the bar 52 periods before the current bar

I have tried using currentbar function and date functions with no luck.

If anyone could point me in the right direction it would be much appreciated.

Regards,
Paul