Registered User Joined: 5/13/2007 Posts: 48
|
Good evening. I am wanting to change the color of the volume bars in the following manner. Is this possible to do? "If volume today is greater than volume yesterday then plot green. If volume today is less than volume yesterday then plot red" or in other words, "If current volume bar is greater than previous volume bar then plot green. If current volume bar is less than previous volume bar then plot red" Thanks. Steve
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You could use the following RealCode Paint Scheme:
Paint Schemes
PlotColor = Color.Yellow
If Line.Value > Line.Value(1) Then
PlotColor = Color.Lime
Else If Line.Value < Line.Value(1) Then
PlotColor = Color.Red
End If
-Bruce Personal Criteria Formulas TC2000 Support Articles
|