you have the indicatots NbarsD/U. I set it for example to number 2 and when it detects 2 bars it gives a signal. If the next bar is of the same type then a new signal comes again.
What change should I make to the code so when a n sequence is detected stop counting until a diferent type of bar comes in?
Comment