Expert Advisors and Automated Trading - page 8

  Questions about OOP  (28   1 2 3)
I created this topic in order to avoid creating a separate topic for each OOP question (I have already created several of these)
I have scripted and EA to get post request to my server with the required response but I am not able to add it to any chart it is getting removed automatically , however it is working perfectly when i am using OnTick() function , please do resolve this error
Hi, Since yesterday my copier doesn't work anymore on 1 account... I reinstalled, logged out and in etc but nothing changed. Any help here what to do? Broker says everything fine on their side
Hi, I want to write a set file inside an EA. The condition is like this, if time frame is PERIOD_M15 using this set value for this variable if it's PERIOD_M5 using this set value, in code would be like this FileWrite (filehandle, ... StringFormat (
I want to create a "robot" that would automatically find strategies, based on the indicators requested and some basic operands (>, <, ==, etc) the key is that I want to backtest using only OHLC data, NOT as an expert advisor. the way I test indicators now, is that I make a "backtest" but within an
Hi guys, I was interested if anyone have some EA that is working stable on prop firms like FTMO and similar. All of them I was trying, free and paid were not good at all. I also tried freelance with job offer, here I was not successful as well with anything stable and performing for long term
Greetings, I run Backtest and Forward Test for an EA using two different modellings ("Every Tick" and "Every Tick Based on Real Ticks") in MT5 and I got totally different results "Every Tick" modelling was in profit and "Every Tick Based on Real Ticks" was in loss ! Which one is more valid and why
if I buy an expert advisor from MQL5 market with (let's say) 10 activations is it legal for me to re-sell the purchased EA for 9 activations? (me and another 9 traders use the same EA)
Hello Gurus, Need to execute the trade when Average True range meet the level in minuts time frame when new candle form after level reached, SL in points, TP in minutes, input martingale if loss. Thanks
Hi guys, I have my own EA to test it in my broker. While testing, it shows swap fee but it wasnt showing before. It happened after updating mt5. How can i fix it? Is there any idea
I try send EA for validate. its Validation completed with errors test on EURUSD,H1 (netting) 2021.02 . 04 20 : 00 : 00 position stop out triggered at 45.98 % [ # 2 buy 5 EURUSD 1.2104456 tp: 1.22345 ] stop out occurred on 2 % of testing interval strategy tester report 1 total trades I try fix its
Hi all, I am looking for a way to define the parameter combinations to use in strategy tester based on a list rather than creating a full set of all possible combinations as done by standard optimization. simplified e.g: 5 parameters with different ranges, p1 from 0 - 10 step 1 p2 from 5 - 20 step 1
I am suddenly not able to see open trades in my MT5 app. These trades are still being placed by my EA from the desktop terminal but will not show any chart info during or after. I can still view history to see my profit/loss after closed. I noticed yesterday my journal showed the following
Hello everyone! I'm facing an issue with an MQL5 script that executes a buy order but returns the ticket number as 0. I have verified that the order is executed correctly, but when printing the value of ticket , I always get 0. Here is my code: #include <Trade\Trade.mqh> CTrade m_trade;
Hello, I have a Bot in MQL5 that runs perfectly on my MT5 Demo Account and refuses to work on my Deriv MT5 Real Account . Any suggestions ? Thanks
Hello, Im trying to find the mql.exe compiler that in MT4 new builds is not included. I need it to make a WFA software work. Really appreciate your help. Rgds
I need someone who can make the code for free. The strategy is not very difficult. Maybe there is already a ready-made template for this code
  Callback to MQ5 code from DLL  (25   1 2 3)
A DLL is a major part of my expert advisor. This DLL should be able to send signals to my MT5 terminal. This would either require polling, or a callback. Such callback could for example be utilized to make a trade copier. But it does not seem possible to pass functions as parameters in MQ5, neither
Hi! Please see subject. I occasionally see scores in the 90s, and curious to know if 100 is the max, or it it's possible to break beyond 100. Thanks. 😊
Dear coders, I ordered a freelancer to code my custom EA which worked well most of the time, but occasionally, it opened 100 lots of trade, and he could not yet figure out the cause. The lot calculation, TP, SL, are calculated based on risk percentage towards symbol pips value, daily ATR value and
I have a grid system which takes Buy trades whenever market hit lower Bollinger line. and then it keeps on trading after every -200 points and then my ea calculates the average price and set take profit of all running trades to 250 points. the problem is that right now my system is working on single
Greetings, Does this long bar has to be fully green in order to consider the Backtest/Forward Test valid , because some Backtest/Forward Test I get this bar fully green and others I get some of it green Or is having History Quality 100% is enough
I have a complex Ea - which can use many things - If I switch all off - and only use the Ma - when price touch the Ma it must buy or sell --- most of the time it does (i am watching the exact same ma on chart - so i can see when it should) -- but many times it touches ma and does not open trade --
Hi everyone. I wonder if there is an option to hide or switch off somehow the indicators which the EA uses, so that they would not show up when you run the backtesting with "Visulization" enabled. My EA uses a lot of indis and I don't want to "see" them while testing my EA, they take a lot of space,...
I have an Idea of making EA using PTL as below: Timeframe: M5 or M15 only. Pair: Gold and Major Pairs with low spread Trend Filter: EMA200 and EMA300 Open the first BUY or SELL after getting signal from PTL and confirm the filter When the opposite signal is given, close if profit or break event
I am backtesting my algo on MT5 Version 5.00 Build 4153 22 Jan 24 on OSX Sonoma 14.3 M1 Max (10 Cores) 64 GB Ram. When I do it uses a lot of memory and even runs out of application memory space. I am only using 1 core in this example because when I use more than 1 agent it runs out of space quicker
When I tried to compile a MQL5 EA I got the following error :- file 'C:\Users\fcoet\AppData\Roaming\MetaQuotes\Terminal\76209C45634304B2B7FDAFC8F09FCBD0\MQL5\Include\GraphicsPanel.mqh' not found. Even if a search for a ' GraphicsPanel.mqh' file on my computer I can' find it. Please advise. Much
Hi guys I tried to install the python library for MetaTrader 5 and I received the following error in different python versions: % pip install MetaTrader5 ERROR: Could not find a version that satisfies the requirement MetaTrader5 (from versions: none) ERROR: No matching distribution found for
Is it possible to do optimization in parallel? If so, how do we manage cpu cores for each strategy tester