Currently the value is a Bar- but i am looking to make it a support line that I can use in a strategy.
It reads:
Value.Set(gotBars == true ? 1 : 0);
I can change the return to return the first bar Open
Value.Set(gotBars == true ? High[3] : 0);
However I dont know of a way to re-code the indicator to remove the 0. AKA dont need IF true High[3], else 0. I need if true, High[3].
Is there a simple way to to do this?
I would love it to eventually look like this :
TIA
***EDIT:
Got close using this
Comment