Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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?
|
|
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
|
|
Registered User Joined: 1/7/2010 Posts: 70
|
Is that in SF5?
|
|
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
|
|
Registered User Joined: 1/7/2010 Posts: 70
|
That worked fine. Thanks Bruce.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |