Platinum Customer
Joined: 7/16/2009 Posts: 411
|
Hi,
I am using maily the 30 minutes time frame and I would like to paint yesterday's last bar, and today's first bar with 2 different colours, different than the other bars. Basically I want to paint some of the candlesticks based on the datetime value.
Thank you
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You could use something similar to the following RealCode Paint Scheme.
Paint Schemes
If Line.DateValue.DayOfYear <> Line.DateValue(-1).DayOfYear Then
PlotColor = Color.Orange
Else If Line.DateValue.DayOfYear <> Line.DateValue(1).DayOfYear Then
PlotColor = Color.Violet
End If
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Platinum Customer
Joined: 7/16/2009 Posts: 411
|
Thank you Bruce
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|