Hello geniuses I have used a file to store information for different pair, which reads them from the file when needed. Writing and reading from the file is done correctly. Now I use two metatraders for several currency pairs. But because the storage location of each of them is separate, they cannot
I have this project in which I need to execute two trades instantly among two different brokers. I use the native MQL4 function such as FileOpen and FileWrite to communicate the orders between brokers. What I had an issue with is that some orders will not write to the file if it was previously
Hi, I created a simple robot which takes a position 1 hour and 5 minutes before the ftse open (ie 6.55am) based on if its above (buy) the 8ema or below (sell) for the gbpjpy pair. for some reason today the robot took a sell position when it should have been a buy. I then tested it again using the
Hi, I hope I've come to the right place! Please bear with me, I'm a complete newbie. I currently have two accounts connected to my app, one of which I would like to remove. Just from the app itself so I'm no longer able to use it to login to that one specific account, I am very much not seeking to
the below code checks the conditions and double TP and SL or Returns to initial TP and SL. but when i run it, i get something like example, 1$,-1$,-2$,-2$,1$ but the way it should be is, 1$,-1$,-2$,-4$,-1$ So basically it suppose to be doubling when it hits stop loss , unless the other condition are
Hi guys, there is meanwhile a growing community for advanced cycle analysis of financial time series that I decided to open a new thread to bundle these discussions a bit. Next to the wellknown thread Fast Fourier Transform - Cycle Extraction we have meanwhile also a lot of Goertzel Browser...
Hello. I attached my custom indicator to a naked chart and save the template as "tester.tpl". Then I run strategy tester and select the indicator again. So in visual mode I see 2 of this indicator. These 2 indicators works different! After many checks, I found that the one is attached by template
please for help Ea dosnt follow rules specified for order open, its not opening trades in regard to correct site of SMMAValue? and dosnt fillter trades by engulfing pattern candle as its stated here: if(IsBearishEngulfing() && MFITrend==-1 && Close[1]<SMMAValue) ? I dont have a better idea how to
How to code such that, When I press the "right shift key", the current chart will perform "a shift from the right chart border" ? Thanks! I have tried to code in the following, but it doesn't work: if (id== CHARTEVENT_KEYDOWN ) { if (lparam==' 16 ') { ChartSetInteger (
Hi i try to make from one indicator to work as an AI all is well til this 2 things i need some help first erorr is, ')' - unexpected end of program secand erorr is, '{' - unbalanced parentheses
Here is the parameters: the buy signal is: in the 30mins timeframe, ma50 should be below price, ma100 should be below ma50, the macd signal crosses above or has crossed above the base line + in the 1hr timeframe, the macd signal line crosses or has crossed above the macd base line. This is the buy
I understand that the previous syntax was this double iMA ( string symbol, int timeframe, int period, int ma_shift, int ma_method, int applied_price, int shift) and assuming i want values like this: double maValue = iMA ( NULL
hello I have a nuisance. trading session is in NY timeframe 5m dashboard on mt4 shows irrelevant times lower section ex: 2023.11.03 14.25 when in reality i see different time on my pc i know i can change it in trading view but how can i change in mT4 when i put in crosshairs to see pips number
Hello i have six pairs with budget of $299 lot size 0.01 is it possible to open 18 orders but manually close them? if i open 3 order per pair? not using a size positioner yet
Understand that all these predefined variables from MQL4 are missing in MQL5 - Ask, Bars, Bid, Close, Digits, High, Low, Open, Point, Time, Volume . What are they represented as in MQL5 now? Thanks
I've found this be a simple way to calculate pips without concern of digit variations between JPY and other pairs. Also, the spreads are taken into consideration for a more accurate view of how many pips you've actually earned. numberOfPips = OrderProfit() / LotSizes();
hello guys i need your help i am recently learning mql4 coding and maybe my problem is easy for you. I appreciate you for helping me i want to write a trailing stop EA based on risk reward ratio for each order.(orders stop loss are not the same pips) i know i can store order information like stop
Hello, I have this now: OrderSend ( Symbol (),OP_BUY, 0.01 ,Ask, 3 , 0 , 0 , "My order" , 16384 ); so right now I have no stop loss, however I want the stop loss to be in points, for example half a pip or 5 points. I know the stop loss must be put in as price, but I do not know how to calculate it
Sir, I unmarked this "Skip Useless Results" in Optimisation Result tab. I marked this Genetic Algorithms but I want to Mark this Genetic Algorithms because There is a lot of parameter in Input tab for My EA Robot Trading. I checked this Journal tab in Strategy tester Optimistion . What does mean
... Improperly formatted code removed by moderator. Please EDIT your post and use the CODE button (Alt-S) when inserting code. Hover your mouse over your post and select " edit "
[Deleted]
Hi, guys! I've got a brilliant (hm...) idea how to make money. Now i'm looking for the worst forex-trader on this forum. Somebody, who had a bad luck everytime he started trading. The real money-killer, that man I need! ;-) I'd like to set an automatic deal-copier at his account with a reverse...
Hello, i have this problem Running ten Mt4 platforms on a Windows Server 2012R2 VPS, the platforms locks and stop responding. A friend of mine told me that he had the same problem on a WS2012 VPS and don't have the problem with the WS2008 VPS. Did someone noticed my same problem in the Windos Server...
Hello all. I've been on this forum for a few Months now, and am using EAs from the talented programmers on demo and in live money accounts. I wanted to give a little something back, even though I'm not able to write my own EAs. So here's some instructions I put together for people not so familiar...
In backtesting I get the following error: ERR_LONGS__NOT_ALLOWED 4110 Longs are not allowed! OK, longs are not allowed (that part of the message is clear) but why? I haven't been able to find a solution by searching the forum. Who can help? Thanks in advance!
I'm currently backtesting one shown to me. And I'm testing on 99.9% quality data MT4, just like I've tested many previously. But the results on this EA even with the 99.9% data. Are really good way over average returns for example $100 account to $7k in 4 months, no martingale. And results are
I notice today across all my VPS servers that I can login to the MQL5 community via the tools menu and it connects displaying the market and items purchased. However when i try to install any of the purchased items i get an authentication failed message, with a pop up asking me to re-enter my
I have just done my EVERY TICK WFO backtesting ( 50 hours+), I have some doubts about the following questions: 1.Does anyone know what Walk-Forward Efficiency, Consistency, Drawdown means ? 2.What is the "passing rate " about WFO TEST? Can this backtest performance be implemented in the market
Quick question, My `NormalizeDouble()` function is rounding prices to an incorrect number of digits. I have a five digits broker and because the `NormalizeDouble` function is rounding prices to an incorrect accuracy, the TP and SL are out of whack. I have the following code: double price =
Hello developers. When I create a panel in MT4 using "CAppDialog" and when I save a template while the dialog box is active and then I load the same template in a new chart the dialog box becomes double and not working the way it should work. Please help me fix this problem
Bug: Manually closed partials would close entire position and reopens a new trade at current price.
(3)
Does anyone encounter the above mentioned bug per subject? Thank you Example: Intent was to manually partial close 109818499 ( 0.01 out of 0.03 position) , but trade gets closed completely and concurrently reopens a new 109818508 at 0.02 sizing at current price (87.23). It happens either using PC or

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.