Sometimes, it is interesting to look at charts with an inverted scale. To be able to see a chart with declining as bullish (in a sense). I did a search of the forums and came up blank.
Is it possible to do this?
Size:
Color:
I did a search too and found this:
Sentiment indicator using Rotation RankEugene.
9/21/2011 10:10 AM
QUOTE:
There's no WealthScript property/feature to invert the scale but you could change the sign of the values in a copy of your DataSeries and plot the copy as usual. So that e.g. RSI 10.0 becomes -10, 65.0 becomes -65.
Size:
Color:
Thanks Eugene
Can you do this for the Price Series in the PricePane?
I suppose you would have to change signs of the Open, High, Low, and Close
Size:
Color:
Size:
Color:
Thank you! This is excellent
Size:
Color:
I'm getting a strange result when I run this that I can't explain. The PricePane series comes out odd even though I havent operated on it. Can you see whats going on?
CODE:
Please log in to see this code.
Size:
Color:
In addition, the commented out code in the for loop is what I really wanted. The new high should be the negative of the low and vice versa
Size:
Color:
What's odd, strange, and what's going on?
Size:
Color:
[IMG][/IMG]
Not sure how to post an IMG but
the main price series keeps the original open low and close but the High is now a negative so I get very long tails
I never did any operations on the original Bars in the code.
1) How can I post a .png or other IMG in this post to show you
2) For other purposes, how should one initialize the Bars object
3) the problem above
Thanks
Size:
Color:
You can only get "very long tails" when running on .SPX and that's OK because the Bars collection have been modified. Otherwise you will get a correct chart.
Size:
Color: