Registered User Joined: 1/16/2005 Posts: 5
|
Not sure this can be done, but what I'm trying to do is paint the active symbols bars to white if the SP-500 is below it's 10 Day simple moving average. Can this be done?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You could try something similar to the following RealCode Paint Brush:
PlotColor = Color.Lime
Static cS As PriceScripting
If isFirstBar Then
cS = PriceData("SP-500")
End If
If cS.Last < cS.AVGC(10) Then
PlotColor = Color.White
End If
-Bruce Personal Criteria Formulas TC2000 Support Articles
|