Forum

How can I use trailing stop in MetaTrader5 using python?

Hi, I want to activate trailing stop loss for my trades in MetaTrader 5 using Python, however, I cannot find any built-in function in MT5. Do you know what I must do? Thanks

Unsupported filling mode just on XAUUSD in Alpari accounts

Hello, I can open and close all of different trades using python and MetaTrader5 library easily. Although, I can easily open a position on XAUUSD manually on MetaTrader 5 and also I added XAUUSD inside of Market Watch, I cannot open any position on XAUUSD via python. It returns " Unsupported

All methods of MetaTrader5 returns None for all of my symbols

I use this code from gitub of Udemy course to order my trades. After login successfully, all methods of mt5 like symbol_info(), symbol_info_tick(), etc returns 'None' for some of symbols. In some symbols like 'AUDJPY', it returns correct values but in some cases like ' GBPCAD ' it returns None. What