Mrtools or any one
I have converted the Chaos indicator, which re-paints, to show a 1 Or -1 at the time of the correct occurrence but 1 shift back. The problem I have is it disappears on the second candle after it occurred.
What coding will allow me to freeze the "trend1" until the next occurrence of "trend -1" and so on.
I have tried several coding steps to lock it in until the occurrence of the next change but to no avail.
Any Help would be appreciated
Never mind I got the answer.