Forum

Error -2 'Invalid arguments'

I've been trying to solve this problem for days and days but I can't. I'm on the verge of a nervous breakdown! I run the Script 'A.py' and every time the mt5. copy_rates_range function, with diffrent arguments, it always gives me the error -2 'Invalid arguments'. The beauty is that, these same

EA graphic objects with Python

Is there the possibility to draw graphic objects on top of the stock chart of the MetaTrader 5 Terminal using the Python language? I couldn't find any instructions

Python API Error Code 10013, Invalid Request

I open 5-6 positions from the MetaTrader 5 Terminal. Then, via Python-instruction ‘positions_get()‘ I download the open positions and put them in a pandas dataframe. After that I close all open positions with ‘order_send()‘. The problem is that I can never close all positions. Sometimes it only