This can not possibly be a new problem but I have not found a good solution searching.
I am "porting" an MT4 EA that takes 4 positions, theLimit for a last one running a trailing stop. This is straightforward in MQL4
So I start with opening a position "Buy" with 0.8 lots, stoploss entered, no...
Sorry if this is a double post, can you message me active threads that discuss the solutions or alternatives for running MetaTrader 4 + Signal Provider given my PC/workstation is turned off?
My MetaTrader 4 Terminal can no longer accept signals on my live account when the PC is off. Are there...
1. is there a possibility of adding any additional screenshots to already released product on mql market? 2. is there a possibility od adding any additional text to already released product? 3. if not, can links to videos/screenshots be added in a description of new version of a product?
Hello everybody,
I'm new in the world of Forex but I'm interested in the EA design and at the moment I'm studying for learn basic programming language mql5.
I don't know if I'm in the right session but at the moment I'm looking for an EA which simply read all the position that I open manually and...
I have an EA that places 2 trades with size 0.1 with the same stoploss
Running in Strategy tester
The trade hits stoploss a while later with a sell of 1.4 lots.
Where the heck did the size 1.4 come from??? Must be missing something vital in my code or what?
2013.12.10 21:48:41 Core 1...
Hi,
I am looking for a trade copier where the sender mt4 entry price is at market and then the receiver mt4 entry price is +10 pips higher or lower.
any ideas? Thanks
Hi,
I would like to build an EA using the Alligator indicator which consists of three moving averages. Therefore, I tried to copy the values of these moving averages into an array, as I've done before with the CCI indicator.
However, I get the error message: "Jaws" - parameter conversion not...
Hello,
I had an issue since 2 weeks : A big gap between the forwards results and simulations results.
My EA use Wininet library to execute a Web Query because a part of the EA's decision is handled by data crawling on the web, these data are centralized on a web-service. This web-service requires...
Comments that do not relate to the "Showing or hiding indicator subwindows", have been moved into this topic.
Hi How to programmatically show or hide all indicator subwindows on the current chart ? I'd like to have a switch parameter (true/false) to control this while testing. Thanks
i cannot find a way to enable the equity relative drawdawn in optimization window. There is only this second drawdawn not relating to equity. I need that factor for optimizing Money Management function, the other drawdawn is useless (i still dont understand what is that percentage? when optimization...
It is the 1 year period back testing.
Equity Drawdown Relative 47.63% (703.89) and Drawdown relative 19.89% (215.05) seems quite high. Just curious if I this is too risky to put on the real account. Shall I reduce the lot size smaller to be safe?
Then the profit will become smaller too....
Hi
1) When to set initialize an EA to use every tick ( every_tick = true) ?
bool Init(
string symbol,
ENUM_TIMEFRAMES period,
bool every_tick, // <------- flag
ulong magic
)
2) What is the...
I am trying to populate a string array inside a structure but the compiler errors every time (see "string Label")
struct PIVOT_Structure{ datetime TimeStart; datetime TimeEnd; double PP,S1,S2,S3,R1,R2,R3; double Line[7]; string Label[7] = {"HR-PP","HR-R1"...
Converting an EA from MQL4 to MQL5
My library is named FXCMTFunc.ex5 and is placed in MQL5\Libraries
#property library
#property copyright "Copyright 2013, Nova Data Skr. AB"
#property link "http://www.nova-data.se"
#property version "1...
Hi.. I really hope someone can help me to make EA for this attached file/indicators..it's profitable if using Tf M30 and H1...Tq.
I've written this piece of code on OnTradeTransaction event handler to know whether it is finished or not, but I don't get suitable result. void OnTradeTransaction(const MqlTradeTransaction &trans,const MqlTradeRequest &request,const MqlTradeResult &result) { ENUM_TRADE_TRANSACTION_TYPE...
Hi there ! I found this and then tried to compile it but the code is giving me 3 errors: '}' - unexpected end of program '{' - unbalanced parentheses event handling function not found Here is the code:...
hello,
anyone can send me a free best AE link?
thank you!
Hello,
I have a Good strategy.This strategy is very effective and this strategy win a contest.So i need some who will create a EA for this strategy. So anyone can help me ?
Regards
Jubaer
Hi everyone, was just wondering if it Is possible when unsubscribing from a trading signal and that signal and youre account has a draw down, could you unsubscribe in a way so that youre account would close the positions when the signal provider closes them on his end but when he opens new trades
I'm subscribed to a signal and this is a screen shot of the jornal messages
and since the both accounts have the same leverage, I just calculated the ratio like this:
167,359.4 / 269,963.00 * 100 = 61.99%
but as you see in the screen shot it is just 55%
is this wrong or am I misunderstand the...
Hi Friends, I am developing EA to meet the criteria of championship rules. Following are my queries Make a minimum of 5 non-demo trades in the first 7 months of testing (2012.01.01 - 2012.08.01) and in the 3 months of the contest How it will be checked ? Can I place expert advisor on different
[Deleted]
Hello, i have here a good looking trailingstop function, but when i use it in my EA i get a error message during backtest, the error message is: "Incorrect Request/Result Structure when Selling." an somebody help me to get this function running without error? void DoTrailing(){ if...
[Deleted]
Hello, I am trying to make somethink simple but i dont know what i have wrong in my Code. I am trying to get the last 2 Moving Average Values with the following code: double ma[ 2000 ]; if ( CopyBuffer (ExtHandle, 0 , 0 , 10 ,ma)!= 1 ) { Print ( "CopyBuffer from MA failed, no
Hi to everyone
I'm newbie and need some helps. it would be very appreciated if anyone help me out!
I need a script to send a sequence of buy pending orders with a predetermined delay but don't know how should write the script
While working on a different trading platform some years ago (BioProfit) I found out that the best metrics to judge a system was to judge the slope of the equity curve. It should be as straiight as possible, not neccessary as steep as possible I wrote a routine that calculated the...
One of the hardest work in the computer industry is to place an order with MQL5.
It needs time, you must be passioned, but some day it will happen, I hope.
Was anyone here in the Forum successful ?
MqlTradeRequest EURUSD_Buy;
EURUSD_Buy.action = TRADE_ACTION_DEAL;
EURUSD_Buy...
Hi guys,
I've got an expert advisor creating orders with:
request.action= TRADE_ACTION_PENDING;
I later modify those pending orders using:
request.action= TRADE_ACTION_MODIFY;
for some reason I keep getting messages like this:
2012.10.01 01:15:55 Trades '517505': order #2345441 buy stop 0...
Found using Named Pipes to mirror in MT5. Any code for MT4 around?

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.