condition candle_count= 5 ///i can change from setting hi - low candle no1 =c1 hi - low candle no2 =c2 hi - low candle no3=c3 hi - low candle no4 =c4 hi - low candle no5 =c5 ---------- (c1+c2+c3+c4+c5) /candle_count= total --------------------- order condition ................... i will write it for develoer only