Registered User Joined: 5/5/2010 Posts: 185
|
Bruce,
I'm trying to color code an indicator on watchlist using conditions as qualifiers.
white is neutral
red...moving down slowly
green...moving up very fast etc.
is this possible?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I cannot think of a way to do this in a WatchList Column.
You could do it on the chart. For example, if you had a "stochastic" running from -255 to 255 instead of 0 to 100.
'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 5.0 www.worden.com
'|*** Copy and paste this header and code into StockFinder *********
'|*** Indicator:My Indicator
'|******************************************************************
Plot = 5.10 * (Price.STOC(100, 1) - 50)
You could paint it with the following RealCode Paintbrush.
If Line.Value > 0 Then
PlotColor = Color.fromARGB(255, 255 - Line.Value, 255, 255 - Line.Value)
Else If Line.Value < 0 Then
PlotColor = Color.fromARGB(255, 255, 255 + Line.Value, 255 + Line.Value)
Else
PlotColor = Color.fromARGB(255, 255, 255, 255)
End If
-Bruce Personal Criteria Formulas TC2000 Support Articles
|