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
I have a piece of code that calls into the canvas CreateBitmapLabel() method... #include <Canvas/Canvas.mqh> CCanvas canvas; canvas.CreateBitmapLabel( "test_name" , 0 , 0 , width, height, clrfmt); This in turn makes its way down to the Create() method... bool CCanvas::Create( const string name
I am having these these as shown in the photo . Please help us to install EA
Hello. I have on my onInit many return(INIT_PARAMETERS_INCORRECT); statements to exclude any combination that doesn't make sense and save passes. That still leaves tens of thousands of possible passes if not more. However the genetic based algorithm only runs 512 passes out of which most are with
Hello friends! I am building a NextJS project to improve my full stack skills and am wanting to know how to get trade/account history to display on a dashboard? Much like MyFXBook and FXBlue do it! How do they do it? haha I know MYFXBOOK must use some kind of api as you can enter a username and
Hi, I wanted to test my strategy on stock and had to changed the demo account, using VantageFX-demo account. Had to switch the filling_type to SYMBOL_ORDER_MARKET and then I got the " Market closed " error on order execution. With other order types is got "unsupported filling type". I can't seem to
Does anyone know how I can know how many lots I can open for example in a buy knowing the available capital? double max_lots() { double lots = MathMin (( AccountInfoDouble ( ACCOUNT_BALANCE )* AccountInfoInteger ( ACCOUNT_LEVERAGE )/ SymbolInfoDouble ( Symbol (), SYMBOL_TRADE_CONTRACT_SIZE ))
Hey everyone! I'm excited to start this thread and share a trading ideology and EA that I believe can benefit everyone. But before we dive in, let me introduce myself. My name is Philip Pankaj, and you can find me on LinkedIn . I've spent nearly 10 years in trading, working with various algorithms
is possible an indicator call all symbols listed on market view and each chart charge this indicator
Hi, i recently wrote 2 complementary EA in order to get familiar with NamePipe. One EA send data and the other one receive. The transfert i made accross platform. SENDER EA is on one plateform and RECEVER EA is on an other platform. Both MT5 1. Each time i delete the SENDER EA from the chart, it
maybe somebody already has got this script? mind sharing? script reconnects favorite account once it detects that there are no quotes or a freeze occured
Hi guys, i'm looking for a MT4 EA that opens at specific price a position based on a market order with predefined SL and TP, like the image below. The reason is simple. It is better for me to enter at market price when the price is reached, rather than placing limit orders that often do not open a
I am always getting the same errors and am not intelligent enough to understand what is wrong with this line in the code. Can someone please help me? It's really appreciated. code line double maShortPrev = iMA(_Symbol, PERIOD_H1, ShortMAPeriod, 0, MODE_SMA, PRICE_CLOSE, 1); error: 'iMA' - wrong
Hi All, I am looking for a potential solution to control the passes/parameter combinatations in strategy optmization. When running strategy optimzation (slow complete, not genetic) the ontesterinit() will create the list of all combinations of the parameters selected for optimization. With
Note for Moderator : I had a post earlier with same issue ( https://www.mql5.com/en/forum/469030 ), however I deleted it since matter was resolved when I just transferred the files to different location. I am not sure if the earlier post is still there or not!!! I am creating this new post[2], as
hi I purchased a trading bot on mql5.com but it won't install on my terminals, it still says "buy" please i need help
Hi I want to use dozen or so custom hot keys in my EA. Is there a recommended, or safe combination of shift, ctrl, alt, fn keys I can use that are not being used by the chart/platform? Thank you
Hi, I'm new to mql5 but just wondering how do i get the chart id for my current chart. I did my research and you have to type this somewhere: long ChartID (); But where? Thanks
I use a few robots to do the trading work. But after the update they stopped working. I clicked and there was no response. Many robots have this problem. How to recover? Please

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.