Forum

Phantom stop losses automatically introduced by webtrader

I use the web trader https://trade.mql5.com/trade and use my MT4 account with Xbtfx. When placing a new order, if I omit the stop loss and leave it as 0, the majority of the time it automatically sets a stop loss that is just a pip or two from the entry price, and causes immediate loss. I have lost

Step by step tutorial for writing mt4 EA

Step-By-Step Guide to writing an Expert Advisor in MQL5 for Beginners has " MetaTrader 5 — Trading systems " in the title of the article so I reckon it is the instructions for writing an EA using Metatrader 5. What is the equivalent guide for how to write an EA using Metatrader 4

MetaTrader5 initialize in Python timing out with 'IPC timeout'

I'm running Python from Anaconda shell to connect to Metatrader 5: import MetaTrader5 as mt5 if mt5.initialize(path="C:/Program Files/MetaTrader 5/terminal64.exe", timeout=180000): print("connexion to MT5 is OK") else : print("initialize() failed, error code =",mt5.last_error()) quit()

EA won't load on chart

I bought an EA and am trying to run it on the Xbtfx4 Metatrader terminal on my MT4 account. I have attached it to the chart and it loaded and seemed to be running (as seen from the Alerts it generated) but when I logged off the terminal and came back again, the EA got removed immediately. From then

mt5.initialize fails with error code: (-10003, "IPC initialize failed, Pipe server didn't answer in 60 sec")

When I call MetaTrader5.initialize passing in the exe file path and the login credentials, it is opening the Metatrader terminal with the last logged in account ignoring the one passed in the initialize method, then it errors out with error code: (-10003, "IPC initialize failed, Pipe server didn't

Python Import Metatrader 5 crashes

On Anaconda3 shell I have installed Metatrader 5 package using pipenv. My Python script does an import Metatrader 5; and immediately the program crashes (as seen from pdb step line by line). Windows Event log has the below, apparently pointing to some math libaries: - < Event xmlns= "

EA apparently not running

I bought an EA from a certain party and dropped it onto a chart. The EA screen appears and the Journal tab showed that the EA was loaded successfully but no trading at all is happening that is supposed to happen. How can I tell if the EA is running or not? Is there any way to enable debug messages

Simultaneous EA on different accounts

On the Metatrader 4 app I installed from my Xbtfx broker, I have 2 accounts. I wanted to run 1 EA on one account and another EA on another account. I attached the EA to a chart on one account, but when I switched account, the Journal tab immediately showed a log that the EA was removed. Is it not

Downloaded EA not working

I purchased an EA and installed it and it shows up in the list of EAs but when I try to attach it to a chart it says the EA is not configured. Attached screenshots. Any help is much appreciated