/end_of_program'-

 
void BuyOrderModifyFlex60()
{
    for (int i=OrdersTotal()-1; i >= 0; i--)
    if (OrderSelect(i, SELECT_BY_POS, MODE_TRADES))
    {
        if (OrderType() == OP_BUY && OrderSymbol() == Symbol() && OrderMagicNumber() == 1)
        {
            double SL = NormalizeDouble(iCustom(NULL, NULL, "superdupertrend",22,0,15,6,0), NDigits);
            double TP = NormalizeDouble(iCustom(NULL, NULL, "superdupertrend",22,0,15,0,0), NDigits);
            bool ret = OrderModify(OrderTicket(), OrderOpenPrice(), SL, TP, 0, White);
            if (ret == false)
            Print("OrderModify() error - ", ErrorDescription(GetLastError()));
        }
    }
    
}



int deinit()
{
    if (false) ObjectsDeleteAll();
    
   
}

ERROR LOG IS '\end_of_program' - unbalanced left parenthesis

ERROR LINE MARKED YELLOW PLEASE KINDLY ADVICE HAVE COME HERE AFTER GOOGLING TOPIC AND ALL RESEARCH WORK.


 
Error is always above the indicated line.
 
Thanks WHRooeder !!cheers !!it was really helpful !!