Forum

Backtest doesn't work.

I've created a custom symbol XAUUSD_C, if i run the backtest by using fixed options like "last year", "last month", "entire history" it works fine but if I were to use a custom period it will mostly don't work: but if i try to use as end date something like april 2024 it works I don't know why. I've

MetaTrader5 Python Integration. (orders_get is empty (not None))

Hi, i have a problem with my code, it executes the order without any problem but when i try to use both orders_get() and orders_get (Symbol = "EURUSD") it returns an empty object. Here is the code and the example (I can assure that there is an open position). CODE: #sendOrder(mt5.TRADE_ACTION_DEAL