I programmed this simple indicator to show buy/sell triggers after an inside bar. But i want this lines to show only for say 4 bars after the inside bar occurred. After this the lines shall disappear and the indicator shall not display anything until it detects the next inside bar.
I hade this problem before that i want an indicator to stop returning a value but i do not know how. Setting the returned value to zero makes the lines disappear but distorts the whole chart (no good solution).
Setting the returned value to zero should not distort the chart if you set your horizontal price scale to use price only (look into the price settings).
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok