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).
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue