Hello, I have an EA that makes profits at least at the end of the month, in backtesting using 99% tick data, is profitable even with no 99% tick data. I have tested it with many periods during many years. Recently I have used it with a broker and makes profits(in demo contest), but with other broker
Hello, Can anyone advise me please I purchased <Deleted>on MQL5, for the MT4 platform It has performed excellently on a demo account for a few weeks I have place d it on a live account, but cannot see any trades on the live account I have clicked Autotrading button etc, and I am stuck, now knowing
Hello everyone can someone help, how to close order only once if some condition is still true
Hi! I have heiken ashi Renko EA , when candle color change EA open the trade on the very next candle. But i faced some error, sometimes it took the trade but sometimes it didn't, so i am looking someone whom help me for this matter. 1: when renko heiken ashi candle color change then EA open the lot
Hi, I want to ask if it is possible to change the AOS robot to an older version? thank you for your willingness. I bought the robot
I have a problem with MT5. I was building a more advanced EA and I had strange problems. Then I decided to go to basics and see what is the problem. Here is the simple code I wrote, and it is not performing how it should. input ENUM_TIMEFRAMES timeframe = PERIOD_M15 ;
I am new to MT and I am trying to learn to program an EA in Python. Is there any EA sample code source for me to tamper with? I tried to search online and see that in Python, I have to manually import the symbol first, and import its data? Maybe I am bad at googling but, say for open a trade, in
Hello guys, I am looking forward to develop an EA with pyramiding strategy for mt5 platform. I was wondering if anybody here have simple pyramiding based EA script to or some tutorial to learn from??? That would be a great help. Regards
Hey guys, there are indexes where there is an opening auction, and the better positioned you enter that auction, the more chances you have to win. The lion starts at 10:00:00 am and due to the latency I have I always come in a little late. Therefore, I wanted to analyze latency line and send the
I am looking for a function that allows me to know the current bar number while I am testing in the strategy tester. I have an error: 2021.07.10 17: 47: 02.201 Core 1 1993.09.30 00:00:00 array out of range in 'ADXWilder.mqh' (83,35) And I think it is because there are no bars prior to 1993.09.30 in
which function call corresponds to the "trade history" option in the mt5 right-click menu in MetaEditor ,thanks
Good! I need help, I am trying to create two buttons, one that indicates the current Profit and the other the number of open trades; My problem is that it creates the buttons but it does not update the data, what am I doing wrong? Thank you very much and sorry for my English. Code: ***
How do I change the value of a global variable from inside a function. I tried simply Globalvar1 = 1 ; void changing.globalvar1() { Globalvar1 = (Globalvar1* 2 ); } But this does not work. How do I achieve this? Thank you
hello when conection is green/red robot can open trade? Green/red means a direct connection to the server
I want a code that close position 24 after its opening. thanks
I need to get the ask, bid and volume from various assets. I'm looking at the book. But apparently this only works if the EA is attached to the asset. Does anyone have any ideas? MarketBookAdd (units); MqlBookInfo BookInfo_unit[]; MarketBookGet (units,BookInfo_unit); for ( int i= 0 ;i<
The default option to optimize using "Drawdown min" uses "Equity drawdown maximal". I would like to code a custom criteria which uses "Equity drawdown relative" to optimize. I looked up the OnTester documentation but couldn't really understand it. How could I define a custom max criteria which is
I want to to create a trailing stoploss and draw a dot on the chart to track the changes. The dot tracker works but it moves in both directions I only want it to move up with a buy position and down with a sell position. Also the stoploss itself doesn't modify. I'm sure there's a simple solution but
Hi guys, Im new to MQL5 but havent had problems until now. I have coded a simple MA cross but it wont compile? 'Unexpected end of program & unbalanced parenthesis' on lines 14 and 50 This is the code: ***
Hello everyone, I am calling you because, as you can see, my current code will close a position when it takes 130 pips, I am trying to change it to close the position when it makes a profit of 1 euro (1 euro for example), the take profit will be set automatically so that a profit of 1 euro is
Hello guys, I need some help getting my EA to work properly. The thing is, he can modify positions, but only if I assign the EA to my symbol chart with autotrading ALREADY ENABLED. If I assign the EA to the chart while autotrading is disabled (disabled via the button) and attempt to modify position
Hi how do I code an EA on iPad. the app is great for live trading but how do I get the editor on an iPad? should I use something like Remote Desktop or some kind of OS emulator? thanks
Hi I hope you're fine. If we were launching an EA, and when the connection stopped, then reconnected, we had to restart the EA? THANK YOU SO MUCH
Hi guys, I'm #C programmer and I start to design a new project in #MQL5. Has anyone been able to calculate the exact amount of the #maximum #lot in #MQL5? I used This Function But Sometimes Happened Error "Not Enough Money" . I think Some other parameters are also effective in determining it
This might seem quite trivial to some but I just can't seem to figure it out. I have a global variable 'bestMatch' that I keep updating within two for loops as seen in the relevant code below. How can I make sure both sets of nested for loops are have completed updating before I perform any further
Hi All, please help me, I keep getting the below error when I attach EA to a TF. When ever it tries to execute a trade it fails with the error. Failed Market error (only position closing allowed) What can I do please
Hello Guys, I have created a simple RSI based EA. I would like to add one bar confirmation in it. For example, lets say that if EA would take a "BUY" trade when RSI is 60.....then instead of taking a trade right away.......EA should wait for one more candle and if it is also green then only EA
I have an EA that enters a stoploss based on the low of the last '5' bars. This is updated each bar to make a trailing stop. There is also a dot drawn once a bar to track the updated stoploss. This has been working fine and I have backtested it multiple times. I have recently purchased a third party
Hello I was wondering if anyone know how to code EA, reverse "Trailing Stop Loss" into "Trailing take Profit"? thank 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.