error 154: '}' - semicolon expected
if (((AccountStopoutMode() == 1) && (AccountFreeMarginCheck(Symbol(), OP_BUY, Lots) > AccountStopoutLevel())) || ((AccountStopoutMode() == 0) && (((AccountFreeMarginCheck(Symbol(), OP_BUY, Lots)/AccountEquity()) * 100) > AccountStopoutLevel()))) { // do something };
You've left it open-ended.
honest_knave:
oops. Thanks. got it.
You've left it open-ended.
What could be the issue?
i would like to perform the following check before executing OrderSend()