template problem

 
ok sorry so some one has programmed me a Ea template and give me those problems can you help
Files:
 

  1. Play video
    Please edit your post.
    For large amounts of code, attach it.

  2. hi some one has programmed me a template

    the template gives me no errors but has a unbalance {}

    but if i compile it , it does not give errors.

    Use the correct terminology. A template isn't programmed, has no braces and is never compiled. You just apply them to charts to set colors, indicators, etc.
  3. If it does not give an error is does not have unbalanced braces. Perhaps you think it does because your indenting is off
       if((EnableTimeFilter&&trade_time())||!EnableTimeFilter){
       if (Order == SIGNAL_BUY && totBuy<MaxTradesPerPosition&&numTrades<MaxTradesPerBar) {
          //{if(!IsTrade)
             :
          //}
       }
       //Sell
       if (Order == SIGNAL_SELL&& totSell<MaxTradesPerPosition&&numTrades<MaxTradesPerBar ) {
             :
       }
       }
    

Reason: