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

Painting an indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
aluisa
Posted : Sunday, February 28, 2010 5:38:45 PM
Registered User
Joined: 1/7/2010
Posts: 70
How would you paint an indicator when its value changes?  For instance, have the stocastics line turn red (which is normally blue) when its value begins to decrease; and have it revert to its normal blue when its value begins to increase again. Can this be done?
Bruce_L
Posted : Monday, March 1, 2010 10:38:29 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You should be able to right-click on the Indicator and select Edit Colors | Edit (to the right of Paint Indicator with RealCode) and use something similar to the following RealCode:

If Line.Value > Line.Value(1) Then
    PlotColor = Color.Red
Else
    PlotColor = Color.Blue
End If

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
aluisa
Posted : Monday, March 1, 2010 11:49:41 AM
Registered User
Joined: 1/7/2010
Posts: 70
Is that in SF5?
Bruce_L
Posted : Monday, March 1, 2010 11:58:45 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
No, it is in StockFinder 4, but the steps in StockFinder 5 are mind numbingly similar. Right-click on the Indicator and select Edit | Paint Scheme. You can either Edit the existing Paint Scheme or create a New Paint Scheme. You will again select Edit (to the right of Apply RealCode) and use the same RealCode.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
aluisa
Posted : Monday, March 1, 2010 12:09:25 PM
Registered User
Joined: 1/7/2010
Posts: 70
That worked fine. Thanks Bruce.
Bruce_L
Posted : Monday, March 1, 2010 12:11:37 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

-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.