Hello, I have purchased EA form mql5 market but cannot download it from VPS. I have successfully log in my mql5 account on VPS. But I can't download it, it always show "failed download [404]" How can I fix it
I have an EA i have developed who need certain conditions to open a position than he maintain that position. Now i want to have an additional trade open on diffrent conditions, and that it will manage it without touching the other. now to each one it will avg if a certain loss is reached, and will
I pull my candles in this way: lines = mt5. copy_rates_from_pos (chart, mt5.TIMEFRAME_M5, 0, 25) It should return the last 25 candles. Sometimes it does, sometimes it doesn't. Success output: [2023.09.19 05:01:00] [***]chart=EURUSD+ lenlines=25 [2023.09.19 05:01:00] x=0 linestamp=300
hi guys, i made an expert advisor using an indicator, every time a buy signal is detected the ea sends a message to a telegram channel i made, and is the same for sell signals. the problem is that it does not send the message, i know its not the web requests because it sends a message successfully
hello Anyone have the code for this? i know it's simple but my mind is somehow blocked. let's say i have an array contains few double elements, I know one of these elements and need to get the closest hi and closest low to this element. I don't want to use sorting and indexing, thank you
Hello i have an array inside the indicator , how can i use it in another EA? i can think that it needs to be copied to buffer and access it using icustom ? if thats the case how can i copy the array to the buffer ? i cant seem to find anything about it or maybe i am missing it . or maybe there is
Can any body convert this pine script code to mql5: // This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/ // © forkh //@version=5 strategy( "Momentum Strategy" , overlay= true ) length = input ( 12 ) price = close momentum(seria, length) =>
Hi all, As soon as my EA open a trade, the stoploss get directly set to BE and the trade get closed bits by bits within seconds. Even when I try to open the trade manually it does this. However it does not do that all the time and it depends on the instrument. I do not have a single line on my code
Greets, I've been googling around for a solution to this to no avail. Hopefully someone else has experienced this and knows what the solution is. So CopyBuffer() expects an int handle as the first argument. This works fine for most indicators, except iVolume() which returns a long. Typecasting
So what i need to know is the BAR opening time ( SERIES_LASTBAR_DATE ) by having only the position opening time: if ( PositionsTotal () > 0 && _LAST_INCPOS_BAR_TIME == 0 ) { if ( PositionSelectByTicket ( PositionGetTicket ( PositionsTotal ()- 1 ))) { datetime
how can i solve this
Hi guys I have a Panel on My EA, With Account Balance and other EA info, currently the Panel only updates when you switch timeframes, is there a way to refresh the Panel data on every bar or every tick? the panel is created with and include .mqh
Hi, I have a dilemma, how do I write the code so that the first thread goes in first, and the second one goes in after the first so he can take the crumbs after the first thread, I know I need an if statement, but how do I do it so that it will be good, and when he has finished trading the first
There was an EA was being sold on here it was trading EURUSD only and it got removed and i never heard of i don't know why despite its being insanely profitable but the thing im trying to remember it but i don't know its name exactly and i cant find
In a hedge account what would be the formula to calculate the break even price of my buy and sell positions (of one instrument) for example if I bought 3 lots at 200 and sold 2 lots at 150 how would I calculate where my break even level is for all 5 positions. obviously if I had an equal number of
Hey Community, i want to use hotkeys (keyboard buttons) in visual mode / strategy tester and also CHARTEVENT_MOUSE_MOVE to put some extra functionality behind the hotkeys that triggers like as normal in OnChartEvent -> CHARTEVENT_KEYDOWN & CHARTEVENT_MOUSE_MOVE, while the tester is running. Anybody
in his book that teaches MQL5, he taught readers using his own library, where he has his own trade class functions. Isn’t better to just use the standard library ? does he only mean to teach us the logic behind the class functions? or does he really want us to use his library/make up own? i feel
Hey Im trying to build an EA that will recognize divergence. In order to do so I have multiple arrays in place, with the largest being 90. I keep going though the code but im not able to find what causes the error. I would really apreciate the help I'm even testing to see RSI value and it is 0
[Deleted]
Greetings, I have been coding on MQL4 for a year and have recently transitioned to MQL5. After a Backtest is completed,(non visual mode) MT5 always takes approx, 15 minutes to generate the Backtest Report and Chart with deal maps. In MT4 Report this is generated < 1 minute. Please My See my Attached
Hi, I want to do some analysis of the data within the Oninit() function before entering the execution. The data I want to analyze are the ones of an indicator and for this reason I am using the CopyBuffer function : handle = iCustom ( _Symbol , PERIOD_CURRENT , "Custom\\indicator.ex5" ); double
I'm trying to insert to an exsisting array new values so it will be in an order. I want to insert new int value in the [0] location and that the exsisting [0] location will be moved to [1] etc... I went though the docs and i havent found a way to do this.. Does anyone know of a way? or have a code
Does anyone know how i can use the MQL5 Cloud Network available agents while running optimization backtests instead of only using my computer's core agents
Dear Members I am getting warning message "implicit enum conversion" on the following code sigDIRatio = (prevRatioDI < currRatioDI) ? (CENUM_TREND)LONG : (prevRatioDI > currRatioDI) ? (CENUM_TREND)SHORT : WRONG_VALUE ; Type casting did not help either. Is there any fix to this warning? Regards
I need someone who can guide me on how to code trading robot based on the divergence between price and RSI indicator. I can't find someone who can do it for me very quick. The robot must pick trades on the divergence that are on the support and resistance only. The robot must have an ability to
I just saw there is a DDE solution for MT5 that comes with it own DDE-Server! Now I am wondering why there are quite some attempts for trade-copiers based on pipes and sockets but not on that quite simple DDE which exists for Windows XP,Vista,7,8,10 and even Linux/Wine and probably MAC. One only...
Can someone put here a very easy code in MQL5 to open and close a position. I tried this: PositionOpen , but it doesn't work
As I can request a password from the user so that he can remove the EA from the meta trader, I tried simply putting a return; in the OnDeinit event but it didn't work, AE disappeared from the screen
Hi. It is possible to convert the PERIOD and the ENUM_TIMEFRAMES (PERIOD_M1, PERIOD_H1, PERIOD_D1, etc...) into something like numbers, in example an int variable? In example it is possible to convert PERIOD_M1 into an int? something like int peri = PERIOD_M1; this is useful for me, for in example
I am using the latest build - 3950. If a single agent is enabled then no problems, there is no elevated memory usage and disk usage is near 0% as well. If I enable 2 agents then disk utilization goes to 17%, and the transfer rate is about 500 MB/sec, which goes on as long as the backtest runs
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.