trading has been enabled - hedging mode

 
My ea doenst trade so i looked at journal and see this: trading has been enabled - hedging mode how can i fix this?
 
Mounir Chikri:
My ea doenst trade so i looked at journal and see this: trading has been enabled - hedging mode how can i fix this?

Trading enabled means that MT5 is generally enabled to perform trading.

Did you assign your ea correctly to a symbol?

Did you check the ea settings - ea also needs to be enabled

Is your ea designed to work on hedge account?

 
checked the above no issues there
 
Mounir Chikri:
My ea doenst trade 

This can be MANY things.

You should print the last error and check it in this list:

https://www.mql5.com/en/docs/constants/errorswarnings/errorcodes

Documentation on MQL5: Constants, Enumerations and Structures / Codes of Errors and Warnings / Runtime Errors
Documentation on MQL5: Constants, Enumerations and Structures / Codes of Errors and Warnings / Runtime Errors
  • www.mql5.com
The name of the custom symbol is invalid. The symbol name can only contain Latin letters without punctuation, spaces or special characters (may only contain ".", "_", "&" and "#"). It is not recommended to use characters , :, ", /,\, |, ?, *. The path of...
 
On backtest it works fine only on real mode IT doesn't trade
 
are you using different time function of MQL5 ? I saw in the backtest it's all the same time, maybe it can help