I think we have a language barrier. You should use 'BarPeriod = 1;' to make your trading rule valid.