Hi, I don't want to save duplicate file in txt file. If I have EURUSD;TYPEORDER=0 Before save I need to check if already exists. This is my code: void SaveStringToFile() { for ( int i= OrdersTotal ()- 1 ; i>= 0 ; i--) { string text = "Symbol:" +OrderSymbol()+ ";OpenTradeDate:"
I have the following code in mql4 and it is partially working but having an issue with order tracking. int ticket; void OnTick (){ ... not included code, setting variables, etc ... if (tenkan_sen < kijun_sen){ comment += "\nSHORT!" ; if ( OrderSelect (ticket,SELECT_BY_TICKET)
Hello This expert is an old one for me, it was done before in the stock exchange forum but someone benefit from it here Expert is free and open code greetings to you all
Hi all, I am trying to find a command/or a systematic way to read into my code the exchange rate of the DEPOSIT CURRENCY to QUOTE CURRENCY (or QUOTE CURRENCY to DEPOSIT CURRENCY whichever is available). I can't find a build in command for this; the closest I could find is 'tick value' via the...
When I have a class/struct which has an object of another class/struct in it, then after writing the name of the objetc and placing the first dot, meta editor shows me the members/methods that I can choose. But when I place the second dot it still shows me members of the inner struct but only if the
While doing a back-test on one of my current projects I discovered an oddity in the Strategy Tester but don’t know if thisis new behaviour or if this is an old thing which I never noticed before. I was having some strange results that did not coincide with expectations and duringthe debug phase I...
my Navigator window is floating in my iOS (not sure what i accidentally clicked). how to dock it back to the left pane
fractals indicator shows 2 higher highs or lower lows each side of the candle. Im looking for an indicator that has a used defined paramter of 1, 2, or 3 higher highs/ lower lows on each side of the candle to make a 'fractal'. anyone know one or can whip one up? thanks a lot
string list[]= { "EUR" , "USD" , "GBP" , "JPY" , "AUD" , "CAD" , "NZD" , "CHF" }; for ( int i= 0 ; i< ArraySize (list); i++) { string primer=list[ 0 ]; for (int y= 0 ; y< ArraySize (list); y++) { string second = list[ 1 ]; string currency = StringConcatenate ( "\""
Hi guys, how can I turn off the notifications of the MT4 app that I logged in from a new device on mql5.com? I use a VPS so I always get a push notification on the App when I am on the MT4 platform on the VPS and on Mql5.com on my local computer. Thanks for your help! Rixxx
Hi, I have been trying to load this indicator and it is not showing on the chart, is there any instructions on how this is done so I can check what I am doing wrong? Thanks
Hi, I'll keep this quick. I am a scalper and use MT4 through my broker (they don't use MT5, yet) and i am looking for one very specific program: something that can add a set amount of pips lets say 10 pips as an automatic stop loss when i open trade with the One-Click trading function. I have found...
Hi, When trying to test bitcoin on the strategy tester and regardless of period, time frame or expert tested the whole MT4 application freezes, similarly to when you try to run a program with an infinite loop. I have already deleted and re-downloaded it and it has not helped. Has this happened to
Does any one can tell: What are differences among OnCalculate(), start() and OnStart()? How to get prev_calculated value in start() function? Cheers
I have a csv file MACD.csv I want to learn how to load data into script and EA's but i'm stuck , no array is read and sometimes changing the code leads to long array numbers that i find irrelevant to what I want 2021.07 . 14 17 : 00 : 00 ; false ; 20 2021.07 . 13 09 : 00 : 00 ; true ; 20 2021.07
Hi All, At the risk of sounding stupid... I've set up my EA, the second I synchronize it with the VPS - the smiley face turns to a sad face. I understand this means it's not operating correctly... Is there anything I need to know about this / what can I do about it? Hope you can help
[Deleted]
I already have this indicator but why this indicator works just on keytomarkets? doesn't work on icmarkets <ex4 file removed>
Hi everyone, i'm new to programming and to this nice forum :D with this code i'm trying to draw a line from the previous day high to the current day high, i got the values for each but couldn't specify the time correctly void OnTick () { datetime YesterdayDate= iTime ( NULL , PERIOD_D1 , 1 ); //
[Deleted]
Hello, I'm using a demo account downloaded from metaquotes (metatrader 4) and I absolutely cannot trade some of the currencies EG the EUR/CHF. Weather I click Sell or Buy it's the same. It's giving me the "Off Quotes" message every time. Anybody has an idea what is going on?
Hello all This expert is placed on only one chart It will show you the profits of the day, week, month and DD Preferably place it on a VPS server I wish you all good luck
Trailing stop issue. I've been trying to solve this problem for a few days now but cannot see the problem. Searched the internet, forums, and youtube without any success. ApplyTrailingStop function does not work properly. I cannot find out why so. I think it may have to do with the condition
I keep getting this red notification in the top right corner of the mt4 terminal about some indicators or ea's I have tried years ago and it's really annoying, can this be turned off somehow
Hello everyone. I'm creating a simple indicator that draws an arrow when the price hits upper or lower Bollinger Band and then another arrow JUST AFTER A COUPLE OF MINUTES (let it be 2 mintes) at the current Time and Price coordinates. Right now I'm trying to make it work with EA template with 1
Please help me convert this fibo indicator to mtf. //------------------------------------------------------------------ // // //------------------------------------------------------------------ #property indicator_chart_window #property indicator_buffers 1 extern int ExtDepth = 30 ;
string list[]= { "EUR" , "CHF" , "GBP" , "JPY" , "AUD" , "CAD" , "NZD" , "CHF" }; for ( int i= 0 ; i< ArraySize (list); i++) string primer=list[i]; { for (i= 0 ; i< ArraySize (list); i++) { string second =list[i]; string currency = StringConcatenate (primer, second);
We have level trading here https://www.mql5.com/en/forum/general (links to 2 threads) and I tried to implement something. It may be interesting for the people who are drawing support/resistance lunes and confirm/validate it by price movement in very classical way (twice crossing of possible...
As we promised, we will soon release a beta version of the new MetaTrader History Center service. This is a web-service providing in-depth minute history for many financial instruments (so far only Forex). The function of downloading the history data is integrated in MetaTrader in the History Center
I cam across this MT4 Indicator Tester on one of the forum on MQL5. It's excellent and works well. Only problem is that, every time I want to test new indicator. I have to edit the mql4 code, add the name of the indicator and recompile it. Is it possible to add input code in it, so it allows me to
Hi guys, I use several experts on my MT4s via a VPS. Last week I asked for the upgrade of the VPS (CPU and Ram) and after the upgrade my MT4s were all logged out of my accounts and all my experts no longer work. I can't connect them to the chart ... as if they are disabled. What parameter is read
Hi, I'd really apreciate some help with the fixing of this code, that pretends to plot 3 curves: b,c and one named ku derived from some extra calculations with other arrays. Facts are that no problem getting the values of b and c and be shown on the chart, but I'm not able to see whats the problem

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.