Hi every one. Please help me how solve error in backtest after updating mt5 and compiling my program: Access violation at 0x000000007FFF00D6 read to 0xFFFFFFFFFFFFFFFF In forum I found several similar problem but no clear answer. Thanks
Hello Everyone, If you are an EA developer and experienced with the following: 1. Reviewing and running EA in the marketplace. 2. You know tricks and scam EA sellers use to show fake back test. 3. Avoiding fake back test. I would like to hire you for a 1-hour consultation fee on how I can mitigate
Hi, I am running MT5 on Wine (Linux Ubuntu) and I get this message in the journal tab of the 'Strategy Tester Visualization' window, "IO operation failed with code e9 (233)" The log file gives the same info, the ending lines are NP 0 13:50:34.592 Tester final balance 10000.00 USD RJ 0 13:50:34.592
I'm trying to convert a string into a char[], in order to write a file using WriteFile from kernel32.dll. string writethis = "abc" ; int lineSize = StringLen (writethis); uchar line[]; ArrayResize (line, lineSize); StringToCharArray (writethis, line, 0 , - 1 ); Happens that, this gives me
Hi All, I hit a rare issue in OnTradeTransaction , which I suspect could be a bug. Basically, what I did is in OnTradeTransaction, I will check the order_state and if the order_state is TRADE_TRANSACTION_DEAL_ADD, then it will print the following Print("On Trade for Ticket:", lastOrderID, "
Hi. My EA is reading a json file which I've placed in the common folder (using FILE_COMMON flag in FileOpen). When optimizing it works fine, but once I add agents on my other PC, it can't find the file even though I've placed it in the common files folder on that machine. What am I doing wrong
Hello Everyone, I have 10 EAs that I need to run on MT4 and MT5. Question: 1. How many MT4/5 instances can I run successfully on 1 VPS? Thank you
Why does MT5 strategy tester ask for .ini set files instead of .set files? Why are all the set files available to download in .set format if I need .ini format? What's the difference between them, and are they interchangeable
Hello MQL5 Community, I have some questions regarding the use of DLLs during multi-threaded backtesting in MetaTrader 5, based on the documentation I found: Multiple Instances : From the documentation, it seems that if a DLL is already loaded (even by another Expert Advisor or client terminal), it
#include <Trade\Trade.mqh> //Instatiate Trades Execution Library CTrade trade; // Trades Info and Executions library void OnTick () { double Ask = NormalizeDouble ( SymbolInfoDouble ( Symbol (), SYMBOL_ASK ), _Digits );
Dear All I am trying to create Multi Symbol EA using OOP. I have created a set of files and EATemplate to test it. I am getting invalid pointer error in the mfCStrategyA (child of mfCStrategyBase). To my understanding child class should be able to access variables/methods of parent class, which I am
Hello everyone. Suppose you need to create an EA to close all trades and disable autotrading once it hits a minimum daily profit target. As you know you cannot be sure to close all trades exactly at the price you desire besides the deal out commission that is not predictable sometimes. This causes
Good Day, Please assist I have coded the two horizontal lines in between the Bid and Ask price line. I need the lines to move as the bid/ask price lines move. I tried the Objectmove() function and they only move when i recompile the file. Please assist how or what code I can use to solve the
I wrote that code by some youtube programming channel. No errors, compiles fine but in tester DrawingObjects doesn't look right(specially range) and finally it stops taking trades(probably because of that buggy range) //+------------------------------------------------------------------+ //|
Dear Good day I am learning to code EA for two timeframe EMA trading strategy . I need to count/calculate the number of bars from when FAST EMA crosses SLOW EMA and when the Ask Prices retraces back and touches on or below SLOW EMA. I need to record this number as well as be able to get the
I recently raised the following issue , where I was having problems using input variables in a common file (MT5 V5.00 build 4150). I eventually got to the bottom of the issue and believe that I have found a bug with input group when used with iCustom(). The input data is shown here... enum LogLevel
Hi I have created a VWMA custom indicator , and using an OOP class to get VWMA_Tx (triple period values) for different timeframes. The class is however returning _Sybmol + _Period data only, irrespective of initializing class with different time frames. Please help me out, what is wrong in my code
Hello First ever post, and total novice in mql5. i am coding a practice EA to learn the language and platform. I have placed the trade.buy after checking if any open postions, despite this conditional check the ea seems to just keep placing more orders. Another weird thing that is happening is a few
Hello. I'm new to using the OnTradeTransaction Event. I'm using it to detect pending orders that I place manually from a different terminal. The pending orders should trigger the EA to start a trading session based on the pending order parameters. That's working very well. But now I want to delete
Can I use the same EA simultaneously on 2 separate accounts and can I do that from 1 same vps
(12 1 2)
Thanks for your help denis
Hello, Please see the attached as I am trying to add my EA to market for sale but getting the attached error. EA runs perfectly when back testing. Thanks
int bandsHandle = iBands ( _Symbol , PERIOD_CURRENT , BB_Period, BB_Deviation, 0 , PRICE_CLOSE ); double bbUpper[]; double bbMiddle[]; double bbLower[]; CopyBuffer (bandsHandle, 0 , 0 , 1 , bbUpper); CopyBuffer
Example: Initial range (pips) = 50 pips. Multi range between orders = 2 . 1st buy trade 0.1 lot; 2nd buy trade 0.2 lot opened below 50 pips on a new candle open. The indicators are still aligned ; 3rd buy trade 0.4 lot opened below 100 pips on a new candle open. The indicators are still aligned ;
i'd like to code EA which has a 2 step signal , if something happens ( like a cross ma or anything ) , then wait for 1-5 candles to see if another behavior happens and only then give me the signal the problem i'm facing is that after the first check , i don't know how to keep the value static for 5
Hey dear, I have been looking for something to reduce the lot of an pending order. Let's say I put the a 10 lot buy limit. Later on I want to reduced it to a 5 lot buy limit, before it got open. It's there a function to do so
Hi all I have a short simple code here below, if anyone could help please , it would be really appreciated. Main idea is when the fast ema cross over slow ema then to open a buy position and actually it works quite well with the code below. However I need your help about how to close the position
Hello, champs! Tried to search around and couldn't find a proper solution. I'm trying to create an EA that detects pending orders I place from my mobile terminal. It will extract some information from the order and close it. It will instead remember the details, and calculate new entries and exits
Hello, When backetsting an EA on strategy tester on MT4, will the value you use on strategy tester be the exact same as when configuring the bot for live trading? Or is one pips and the other points? If I use 3250 points/ pips as TP on strategy tester, will I use the exact same 3250 as the TP under
Free to write MT4 EA program, I want to practice, EA programming and learn excellent trading strategies, if you want to program can find me The following pictures are some of the EA I programmed and the results are not so bad

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.