Which parameter is wrong to change?

 
The indicator sets a number of candles to come in favor ex: you want 3 candles of the same color and when you reach the candle 2 it opens an alert. 
I want to change to open an alert in place of candles of the same color alternating candles. 
Ex: original indicator: green - green - alert - Green *.       
What I want to do: green - red - alert - green *.
Files:
Masternook.mq4  49 kb
Masternook.ex4  26 kb
 
When you post code please use the CODE button (Alt-S)! (For large amounts of code, attach it.) Please edit your (original) post.
          General rules and best pratices of the Forum. - General - MQL5 programming forum
          Messages Editor
Reason: