Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

PlotColor Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
caution
Posted : Friday, November 17, 2017 2:13:59 PM
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?

Bruce_L
Posted : Friday, November 17, 2017 2:43:32 PM


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
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.