Disliked{quote} ......you may need to start by adding definitions of conditions into the loop: bool bull = Close[i] > Close[i+1]; // Condition for bullish candle bool bear = Close[i] < Close[i+1]; // Condition for bearish candle .....and the use of conditions e.g: if((your current bullish alert condition met) && bull) {the bullish alert} if((your current bearish alert condition met) && bear) {the bearish alert}Ignored
Thanks for the help.