I tried to find an expression for that but could not find it.
To make it clear, let's use again the example of the Range indicator.
I want to plot a straight Line if Range is greater than 100 . This line would be in the same indicator panel as the Range indicator at the Value of the Range that is > 100. So if the Range is 120 , it would show a line with the 120 value. If the next bar the Range is less than 100 it would still plot 120. If instead, the next bar Range is 110, it would Plot a Line at the 110 Value.
So I need to capture that Value When my condition is met and have it constant for the next bars until My condition is again met.
I attached the piture of the indicator in my other platform explaining it better
I read in the forum something about Creating a new DataSeries. Tried some code, but no success.
Can someone show me the way? Please
Thanks Again
Comment