Hi guys,
I'm new here and I don't know a lot of forex and/or mql4 what I know is that a lot of good EAs soon or later they blow out the account. It didn't hapenned to me YET on a real but happened few times with demo accounts.
Since most part of those EAs are martingale/grids I'd like to create...
Dear
I want to add three lots on the basic MACD Expert
Stop Lose--tak Proft - Traling Stop
Is it possible to attach code
thank you
How to make a function like "type VAFunction(type arg1, type arg2, …)" work in MQL4? Thank you very much!
Hi, I run into some problems when backtesting my EA. The problem is that when I repeat the test several times with the exact same settings and same dataset I get very different results. When I apply my EA to a chart in my demo-account it works fine. Does anyone have suggestions of what might be...
Come devo scrivere in MQL5 il tempo che è trascorso da quando ho aperto la mia posizione e poi inserirlo nel Comment() in modo da vederlo sul grafico?
Grazie a chi mi vorrà rispondere
Franco( italia,Sicilia)
A Beautiful Ideas, button linked to a marker on the graph that freezes or hides the focus indicator when you press it.
important when doing technical analysis with various indicators
From your experience in Expert Adisor Builders programs, What is the Best for each :
1 - Beginners .
2-Intermediate .
3- Experts.
Please reffer to website of each if available.
I use Mt4 connected to BTC-E to do trading in bitcoin. The of programming the advisers use is currently a bit confusing, and I wish to learn to create one as there is not one really available for Bitcoin trading.
I want to be able to start with a code with specific requirements, and then start...
[Deleted]
YES NO
How should I write in MQL5 time has passed since I opened my position and then insert it into the Comment () to view the chart?
Thanks to those who will want to respond
Franco (Italy, Sicily)
//+------------------------------------------------------------------+\\// Calculate LRMA//+------------------------------------------------------------------+\\double LRMA(const int pos,const int period,const double &price[]) { double Res=0; double tmpS=0...
I could not understand exactly what is the "prop_modifier" parameter in this function. The reference says that "modifier of the specified property. Only level properties require a modifier" ... what are the level properties in this explanation? There is an example on the page, but it is used with...
Hi there !
Need help (quite quickly !), lost money because of ...
double LastPrice=SymbolInfoDouble(Symbol(),SYMBOL_LAST); printf("Prix actuel : %G", LastPrice);----------> Returns : 2014.10.30 16:01:02.979 Prix actuel : 0
Did I miss something ? Is there anyway to return the current...
Hi, here's a code :
double ArrayHigh[]; double ArrayLow[]; CopyHigh(Symbol(),TStf,0,N,ArrayHigh); CopyLow(Symbol(),TStf,0,N,ArrayLow); double LastHeight=0; double LastPrice=SymbolInfoDouble(Symbol(),SYMBOL_LAST); for(int i=0; i<N; i++)...
Hi, Instead of having to put scripts in /Scripts directory, included files in /Includes directory, and DLL files in /Libraries directory, I want to put everything inside /Projects directory, like so: Projects/ MyProject/ Scripts/ Export .mq5 Experts/ Expert.mq5 Libraries/ MyDLL.dll
Do you guys know why the "slippage" doesn't work in the Ordersend() function? Anyone help?
I am now trading in forex.com and citi fxpro, the "slippage" does not work in both platform, I think these 2 companies block the function. Can some1 introduce me a better platform?
Thank you very much...
As a newbie in OOP, I would like to ask a question about the object oriented structure of MQL5.
I'm reading the reference now and there is a section describing the standard library of MQL5.
But, none of the predefined functions described earlier in the reference are in the standard library.
And,...
I have many orders opened manually. How to set a profit target, for example 50USD so as to automatically close all orders when get the profit target.
Is there a handle ? onPositionClose(){ // do something } Handle which will check, when broker closing the position by SL or TP, the trigger will launch onPositionClose function and give me the position info
[Deleted]
I am wondering if it makes sense to optimize an EA on long period.
Usually i do not leave my EA running for more than 4 weeks so the question is: Does it makes sense to back-test for 12 months? Maybe 3, 4 or 6 months will give better result.
What do you think?
The reference says that: "If data for the timeseries with specified parameters are not formed in the terminal by the time of the Bars() function call, or data of the timeseries are not synchronized with a trade server by the moment of the function call, the function returns a zero value."
But, I...
Based on the four moving averages , predict price levels of the future bar. Then we trade in the direction of the slope of the EMA . If the slope is upwards, the first order is placed either by a limit order, at the level of closing of the previous bar, which has already been formed, or the trade is
[Deleted]
hello i need help i wanna change my account which i subscribe for signal service actually my that account not copied trade properly thats why i wanna change
Hi, I think I found a bug in MQL5. My EA starts with the code shown below. During testing with the debugger I had set 4 breakpoints (indicated with '>' in de code below. As it turned out, at one of my test-sessions the first breakpoint that the program stopped at was in the OnTick() function. I...
In EAs, is there any usage for "reserved" field found in structures?
Thanks a lot.
Q: Is it possible to check if user is logged in into MQL system with his login from the EA level?
(7)
User wants to buy unlimited copy of my EA, but i am affraid of unlicensed copying. If i could check if the user is logged on his account on MQL5.com, then EA would have protection against using it by other users. Is it possible? i want to do a single check at EA start (recheck every x seconds, if
like in the title. The MQL5 site does not allow me to save the name change without setting the price for that signal. If i accept it i will be unable to disable the fee unless my signal is switched to private (unsubscribing all users and closing all positions) and then made public again. This is...
Hi, I try to compile this code: .......... ArrayResize(BarsBuffer[1].bar,10); int copied; int exec;if(tocopy=="Time"){ datetime Series[]; ArraySetAsSeries(Series,true); copied=CopyTime(Symbol(),1,0,10,Series);}int size=ArraySize(Series); //<-- line compilator error...............
I made a breakout ea. it place pending orders on breakout. it works on ecn demo account of formaxmarket broker but during live ecn account sometimes it misses placing pending orders. can anyone helps me to sought out where is the problem. there is no written in expert or journal tab. any solution?...
Hi there,
I am working on an interface that will send information from MT5 to a Windows Event and would like to write a RegisterWindowsMessage from within MQL5. Has anybody done this or have some sample code with which this can be achieved?
Thank you for any assistance and replies!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
If you do not have an account, please register
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.