Hi! I was running the optimizer but it got interrupted (power went out and didn't have my power backup with me). Then I tried it the same test the next day, but the results were different. I thought it was worth asking to understand: Is every run of the genetic (fast) optimizer unique? And is there
Hi guys, I recently asked a developer if they can automate a strategy that I came up with using some indicators from the MT4 market. However they said that it is not possible because in order to execute orders based on an indicator changing color (e.g buy signal to sell signal) there is no actual...
Hey guys, im working on a Expert Advisor and need some help. How can i check if a position has been closed by a triggered Stop Loss? Currently i check if positions are open and if not, i want to know if the last position has been successful closed or as said, triggered by Stop Loss. I searched the...
Hello, i have been trading in forex some time now, with little or no success do anyone think this is good idea? any professional developers out there that can code a hedge strategy? <Deleted>
Hello to you, I hope all you are well and I hope that someone can help me here, the meaning of the trades is bullish so we find ourselves in a bullish scenario, here is my strategy: 1- We have a Haussier crossing of stochastic in H1 2- We descend from 2 timeframe to go to M15 and we will spill the
//+------------------------------------------------------------------+ //| CorkedBehindMZ.mq4 | //| Copyright 2022, MetaQuotes Software Corp. | //| https://www.mql5.com |
I want to put TEMA and MACD together to use. But my code did not work well. //+------------------------------------------------------------------+ //| TEMA+MACD testEA.mq5 | //+------------------------------------------------------------------+ #include
Hello, I have two questions : -When the user changes the settings of the robot while trading. Is the OnInit function is re-call or is there an event when the settings are changed so that the expert can be re-checked them? -Can the SYMBOL_TRADE_STOPS_LEVEL value change along the way on a given graph
Hi , everybody I encoutered an error when i release a new version, This error has never been encountered in the previous release process , I can not find out why this happened, Please help me! The following is the error message and source code: bool TradeClass::SendOrder( const ENUM_ORDER_TYPE _OP
Hello. I am an extreme newbie at this with no formal programming knowledge, so I apologize in advance. I have created a very simple EA. The idea is to have two buttons that will make use of the 'Bulk Operations' commands for "Close All Positions" and "Delete All Orders". The reasoning for this is
this a GPT bot i need your help guys to correct errors and enhance the bot for best possible results (micro account) // Define the currency pair to trade string Symbol = "EURUSD"; // Define the period for the moving average int MA_Period = 200; // Define the lot size for each trade double Lots =
I am curious because I thought that at 5PM (ET) the market would close for pairs and no more ticks would be presented until 6PM (ET). But today while the market was "closed", my EA got some ticks and triggered some rules and end up losing because of spread :( The trade got closed at 5:14PM (ET) on a
wanna rent eas instead of copytrading, charts vary alot from brokers to another , where is list of renting eas
hi guys, recently i build a simple ea to manage my trades, he close all orders and disable algotrading in a predefined hour but im having a lot of headache with a problem, have a delay after disable algotrading button and the eas place orders sometimes and after disable algotrading my trading
Hello everyone! I want to know how functions, names in title, work so I could recode them on my c++ project and calculate them on my costom data from outside of the metatrader. Since metatrader don't allow me to change historic candle data I felt like recreating some indicators what I'm using. Does...
Hi anyone, I received this message from EA while running it in the VPS: "Failed to copy data from the indicator, error code 4806" it was running ok for first hour. What causing this and how could I fix it? I've retried to restart the VPS and migrates. Thanks, Kamal
Some time ago I had problems with MySQL and 64 bit windows. I solved it by using a 32 bit MT5 on my computer.
It seems that I have gotten into some similar problem or possibly a problem with libmysql.dll
Is there a 64 bit version of libmysql,dll? Dont seem to find one
Tried to download a 32 bit...
Hello, I am new to MQL5 and I was trying to determine from an open trade how it was placed. Below is a screen shot of what I am looking for. I cannot locate in any of the ENUMs for a trade or position. Any help would be greatly appreciated.
Steps: 1. Login an account from an MT client terminal successfully; 2. Run an EA; 3. Change master password; 4. Invalid account come. But how to check invalid account from an EA? The AccountNumber() is still correct, the IsConnected() is still true. Thank you
Is there any ea which will put sl , tp and trailing stop when a new trade opens in mt4. I mean ea will run on separate chart, and when I'll place a trade on different chart, ea will place sl tp and enable training stop. That's it. Later if needed I'll modify those sl, tp or trailing stop according
I have an EA and I want to know if there was someway I can maybe change or bypass the ENUM_POSITION_REASON. For example, I tried copy traders. I manually open some positions in the main account, and in the slave account it showed that it was open by an Expert Advisor . I also tried with 2 different
Hi,
I work in MT4. Is there a function to transfer automatically money from the current account to a second account ?
Thanks
Hi there, there are a few MT4 signals I'm interested in, which I can find on MQL5 website under the MT4 signals. however, they're not appearing anywhere in my MT4 console I only have a small # of signals in there. Any ideas? Thanks
Hi everyone, I'm trying to backtest an EA that reads an indicator built with a multicurrency formula, i.e. when it creates the EUR index it calculates all symbols with EUR... The problem is that it doesn't work well on the strategy tester because the indicator line is drawn badly and the EA fails to
Hi, I'm a total newbie to mql5. And started playing with it. Basically I want to modify the color of the price chart via the CCHart class. It compiles with no errors or warnings. But it crashes as soon as I run the program This is my code, it seems to crash on my attach function. If I leave...
I read the Q&A about copy signals, and I found out that it is possible to increase the volume " if Subscriber's account balance reserved for signals copying is greater than Provider's account balance (Subscriber_Balance * Load > Provider_Balance)." (source: Frequently Asked Questions about the
ChatGPT and AI mastery - how to get started in AI. How do you capitalize on this trend and learn AI? Dr Mike Pound of Computerphile fame tells us how to ride this wave. If you are into cybersecurity or any other tech field, you probably want to learn about AI and ML. They can really help your
Hi, I want to run an EA in strategy tester with different symbols/asset-classes at once, therefore I want to have one set of optimization settings for all assets. Is that possible somehow? For example (all just sample numbers!): If we talk about US30, we talk about "points": ATR has a value of 16 SL
Hi, I'm trying to get the loss amount for the last closed order, using this code: void OnTradeTransaction ( const MqlTradeTransaction &trans, const MqlTradeRequest &request, const MqlTradeResult &result) { //--- if transaction is result of addition
Learn how to perform algorithmic trading using Python in this complete course. Algorithmic trading means using computers to make investment decisions. Computer algorithms can make trades at a speed and frequency that is not possible by a human. After learning the basics of algorithmic trading, you
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.