I want to trigger the chart (window) from a DLL (DLL starts separate thread with WinAPI CreateThread). In MT4, I simply trigger the EA resp. Indi. with a tick sent with message "MT4 Internal Message". For this, I need the Window Handle HWND. I obtain the Handle with MT4-Function...
1) I'm finding that it typically takes about 0.5 to 1.0 seconds to execute a market order on MT4. I don't want to turn this into a review of brokers but am asking if anyone else has been able to achieve anything approaching HFT (eg perhaps sub 0.1s) using MQL5 and MT4?
2) Does MT5 generally...
I'm a total beginner here to Metatrader 5 and the industry in general.
I am using the demo version of MT5, with the basic demo server.
As far as I understand (And i don't understand very far), the fx markets are always open. However, MT5 only provides quotes at certain times.
I remember on MT4,...
Hi, i need some help to create an indicator that will display dots on the chart once a certain criteria is met, I have already posted in this programing section asking for help with this but for some reason the original thread i posted was moved from this area can someone please help me with this...
hi ; indicator " trading_sessions" has problem in sunday from 21:00 GMT
can you help to modify that
such as : do not draw at sunday
my broker start @ sunday 21:00 gmt and this will applay on ( sunday and monday )
can modify it to work just from monday until friday
Hi, Let me explain.
MT brokers usually have different servers in different regions.
Any command in mql5 that can force the account to be logged in a server I choose instead of doing it manually.
Attached a pic showing an example
US Congress questions high frequency trading today, mainly on future and stock market.
If they curbs high frequency trading, like add extra transaction cost, minimum holding time, then many future and stock algorithm trading shares will switch to FX market. Since FX market is not US domestic...
Obviously this is not an idea for ATC 2012, but I suggest for the next championship a new resource that enables any EA know what is their position in the competition in real time (participant position).
This variable would be part of the championship platforms, accessible from the source code of...
i'm using the CTrade class to open positions (CTrade.Buy and CTrade.Sell) and it works well if i don't specify any stop loss or take profit values in their respective fields (meaning i type 0) , however if i specify any value in these fields the ea stops working it never open any positions
Championship submission fails, but it I never reproduce it locally.
Errors found in your Expert Advisors during checking:
2012.09.18 07:421. Copy experts\Znga.mq5 ok2. Compile experts\Znga.mq5 okMQL5 Compiler launcher x64 build 695 (6 Sep 2012)Copyright 2001-2012,...
I'm recently considering to switch to an Ipad, considering its strong battery, technical specs, etc., and I know that MT5 has been available for the Mac OS. However, for some reason, the Metaeditor isn't available for the Mac OS.
Does anyone know whether a good compromise would be to use...
Is it possible to embed MetaTrader5 in C# say, a window? I have been to write a program that will open MT4/5 but , but if I try to embed into "window" in C# it simply won't work.
Hoping there is a solution.
hi I am try to finsih the EA EWO+ ADX + SAR but i dont know how do it. The strategy is it: PARES : AUDUSD AND NZDUSD OR AUDYEN OR NZDYEN to buy: When Elliot wave oscillator cross down above and the seconD bar closed >0 IF +ADX 50( DI ABOVE -DI) AND Psar below price. To sell is the opposite....
Hello, Is there a kind soul out there that can help me with getting this EA working? I found this indicator (ABC.mq4) on a forum and would like to make a EA out of it, a friend of mine tried to make one but it dosent work (ABC EA.mq4). The indicator is really simple it signals buy/sell...
Hello, Is there a kind soul out there that can help me with getting this EA working? I found this indicator (ABC.mq4) on a forum and would like to make a EA out of it, a friend of mine tried to make one but it dosent work (ABC EA.mq4). The indicator is really simple it signals buy/sell situations...
can anyone help me solve this problem ?
I tried to run a backtest with example expert advisors of MT5.
I find this error in the report.
this is the ea that i try to test
(I'm sorry for my English that is not good)
Which are, according to you guys, the best Tablets that support MT5 and MQL5? By "best", I mainly refer to their internet connectivity (such as 4g) and to their Battery Life (Less than 7 hours would be a little bit bad).
So far, the Surface Windows would be the only one that would be perfect for...
Hello , above article is written for mt4.
there are several differences in between mt4 and mt5. in mt5 the EA in the above article will not compile
I am new to both versions of meta trader,
can anyone convert the indicators and have a compiling and running EA?...
A question to MQL5 language creators - what is a purpose of a following property? When should it be used? Any examples really appreciated.
Distance to freeze trade operations in points
Hello everybody, This is my attempt to make the installation and use the OPEN POSITIONS interface as user-friendly as possible. For those who are unfamiliar with the interface, it helps you to open positions using elements of money management. This tool can be use only with MT5(MetaTrader5) platform...
I want to be able to write and installer that places indicators, EA's, scripts in the right location.
The obvious problem is automatically finding the correct folder in the users profile. Most users won't know which is the correct folder and its not very intuitive.
Ideally I would like the user...