Allow live trading

 

How do you code "Allow live trading"?

Thanks in advance.

 
macpee: How do you code "Allow live trading"?

You can't set it via MQL!

That would defeat the purpose of that parameter, which is to prevent "unauthorised" trading by an EA!

It must be set manually by the user, both in the "Settings" and also when the EA is attached to a chart.