Inversing an Indicator

How do I make a Lower indicator, like RSI, to plot upside down? Basicaly inverse of normal?

Turn your monitor upside down.
No but seriously, you can’t.
You gotta make a new indicator, copy the RSI code and make some tweaks.

Adding: Default[0] *= -1;
To the end of OnBarUpdate() will successfully flip the RSI plot output.

The Avg plot references past values so the same 1-line trick doesn’t work there. This is very simple code so I’m sure AI will give you the full solution very easily.

2 Likes

Thank you Bob
Was also able to get this Via AI.
Bob, I am curious how do you use this. Please can you post some pics?