Registered User Joined: 11/4/2016 Posts: 28
|
I have a Condition Set that uses *Ranking*, say top 30%, that I use as a Scan Condition.
What I'd like to do is use that Condition Set to change the colour of a moving average plot on my chart. e.g. show parts of the moving average plot as Green when my condition is true, and Red when it's false.
In the past, I've used IIF's within a Custom PCF to return either:
a) the value zero (if false) or
b) my plot value (if true)
and created a plot for each colour I want to plot on my chart.
However, because this time I'm using a Condition Set that uses Ranking, I can't write a Custom PCF for it and use the IIF method above to plot each colour.
How would I do this?
Thanks!
.../john
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
I can't think of a way to do this. There isn't a way to include Ranking in a PCF to allow us to use Custom PCF Indicators of any sort.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 11/4/2016 Posts: 28
|
When I save a Condition Set, I can give it a name.
Can I then refer to that Condition Set >by name< from within any of the Add Plot selections (say, the Custom PCF % True Indicator)?
.../john
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
No, there isn't a way to do this currently.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|