Menu
Brokers
MT4 Forex Brokers
MT5 Forex brokers
PayPal Brokers
Skrill Brokers
Oil Trading Brokers
Gold Trading Brokers
Web Browser Platform
Brokers with CFD Trading
ECN Brokers
Bitcoin FX Brokers
PAMM Forex Brokers
With Cent Accounts
With High Leverage
Cryptocurrency Brokers
Forums
All threads
New threads
New posts
Trending
Search forums
What's new
New threads
New posts
Latest activity
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Reply to thread
Forums
Trading Platforms
MetaTrader Expert Advisors
Account Protector
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
[QUOTE="Enivid, post: 183554, member: 1"] Thank you! The attached log shows the problem with the market being closed. Please check the trading hours for the symbols you are working with. Additionally, here are two modified Account Protector.mqh files (for MT4 and for MT5) that will log messages in the following events when attempting to close trades: 1. AutoTrading disabled globally in the platform or by the broker. 2. No connection. 3. AutoTrading disabled for the expert advisor (Allow live trading checkbox is unchecked). They will not log the "market closed" event separately but this is already covered by logging the OrderSend() response code (Error #132 means that the market for the trading symbol is closed). [/QUOTE]
Insert quotes…
Verification
Post reply
Top
Bottom
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Accept
Learn more…