NewBar ? — I dont think MQL have that function ? To check the new bar appears, you may use iVolume iVolume( string symbol, int timeframe, int shift) and put 0 ( zero ) to shift parameter. ex : if (iVolume(NULL,0,0) == 1) this mean to detect ...