Hi, I have problem. When I start Expert I got 130 error. This error is saved in EURGBP .hst in History folder. If I removed I will get again Error, if not then will always works. This is for all pairs. What is problem here? Regards
The following code works if it's attached to only a single pair, but if the EA attached to multiple pairs, it also counts the result of cross pair and results wrong alert. The idea of the following code is to decide if the attached pair has the last two trade ends positively . It should not
real scenario... I have coded ea for grid trading with main closing strategies using various averaging math, which requires saving of at least 3 prices for both buys and sells, including first trade, last trade, 2nd closest to last trade, etc etc. I currently am using 3 variables on the global
Hi there, Attached indicator is very slow as well. How can performance be improved? Thanks in advance
Is it ok if I just replace the Terminal.exe with the clean version, or would I have to reinstall everything
Hi Folks, lets say my EA is only trading from 1am to 2am. Is there a way to jump to the next day ? (The rest of the day does not need to be processed.) Regards Thomas
I want to add an indicator to the MT4. When I try to open the data folder I cannot find the MQL4 folder. There is an MQL5 folder, if I add the .ex4 file to the indicators folder inside the MQL5, I cannot see my indicator listed in the Navigator. Please help
Is it possible to assign the mouse wheel to zoom - +? It would be much easier, rather than pressing buttons on the keyboard
Hello i am trying to create a Button that i will be able to drag and move it in the chart. I have written the code below but it does not seem to work. Could you tell me what more code lines i should include in order to work.? //+------------------------------------------------------------------+ //|
Hi everyone..can anyone help me to write the mql4 code to get only last 3 number after decimal point.. For example: 1.26578 And i want to get only last 3 number as 578
I wrote this code to spot fractures but the thing is that the threshold for each chart and time frame is different. And with a fixed low threshold you may miss some fractures and with a high threshold you may get non fractures in the line chart Isn't there any better solution for this? here is
Here is the code, I don't know why it doesn't want to place any trades at all. I want to make an EA that is going to place Buy Stops only after the Sell Order hits SL or TP. Same for Sell Stops. Thanks in advance. Edit: I'm using MQL4. //inputs int MagicNumber = 123; int Slippage = 2; double
Could somebody who knows programing be so kind and make a Renko sound and alarm pop up box for me (us)? The alarm should occur not after each new box but first after color change. Example: after 6 red boxes (e.g. 20 pips box) in downtrend first green box of 20 pips completely develops. That's the...
Please see the attached pic.... I want d line to be cut when a candle close above the resistance and when a candle close below support level.... I do not want the line to continue after the candle close above or below the line... can anyone help with this Thanks a lot
HI all, I'm searching for an MT4 expert/indicator to create Renko box size based on ATR market volatility. Could you help me? Thank you
I notice that my EA trades work fine but, auto-trading is not executed when there is an open drawing object pop-up window. The auto-trading only executes when closing the object pop-up window. Is this correct and, if so, is there a way to give priority to the trading signal? I tried it with my EA
hello, problem is because I got error 130 for specific currency For BTCUSD works, for BCHUSD not works. gSellOpenPrice = OrderOpenPrice(); gBuyOpenPrice = NormalizeDouble ((gSellOpenPrice + rz), _Digits ); gSellTakeProfit = NormalizeDouble ((gSellOpenPrice - tp), _Digits );
Hello Everyone, Does anyone know how I can convert a date to a week number in mql4? Thank you for your Time EK
hi Can someone explain why my EA doesn't work? I have the source code of my AFscalper, i do compile it and put in my mt4 platform, but then when running the EA, the EA doesn't open anytrade, even when doing BT, it's the same, the historical trading hasn't opened any trade. Can anyone tell me if
Hello Everyone, Please help me make a template for indicator to EA i tried something but it didn't work and i am getting errors with this code template which i have //+------------------------------------------------------------------+ //| MACDCustom.mq4 | //|
hi, this is my code: for ( int counter = 0 ; counter <= OrdersTotal () - 1 ; counter++) { if ( OrderSelect ( OrdersTotal ()- 1 , SELECT_BY_POS)) // { if (OrderSymbol() == Symbol () && OrderMagicNumber()== 10 ) { //
I am trying to subscribe to a signal through MQL5, but I keep getting this error in MT4: "Position accounting system mismatch the signal provider uses hedging." Provider has confirmed that they are not using hedging, and they are not blocking the purchase. My broker has confirmed that they are not
Hello friends, today I get this error that I have never encountered before. Two objects, with the same Y coordinates, remain positioned at a different distance from the margin. What can this be due to? Same font, size, and position, but it's misaligned. Very thanks string LEVERAGE=( string )
I spend a lot of time marking up my charts. Occasionally my computer will crash or mt4 will close unexpectedly and the next time i load mt4 either all my chart markings are gone (back to initial settings) or a previous saved copy of my work will be there (from the last time mt4 was closed normally)....
Hi, I hope there is someone on this forum who knows how to add an alarm and popup when new zone is created in supply and demand indicator please help me
Hi I recently got flicked out of a trade on the weekend, and I'm now looking at ways of exiting on Friday and trying to re-enter on Monday at a similar price, I'm brainstorming ideas of how to do it, any ideas or anyone have the same problem? the best i can come up with would be exiting on Friday at
Hi, new here but have been studying the forums here for a few years. I'm trying to update my code with a new idea that I can't quite solve on my own. I want to be able to call the the first 1hr candle to break higher than the lowest 4hr candle of the week. So that I can use the low of that candle as
Hi Guys, I have an account with Pepperstone, and yesterday my MT4 terminal just randomly crashed. Ever since I was unable to re-launch the website, without getting the 'Not Responding' error message. So i re-installed MT4. It's now launching without issue, however I cannot install and download any
[Deleted]
Hello All. I am facing issue regarding mql4 metaquotes problem anyone here please help me . Please check the code below while i am adding this with indicator its break some of function used in indicator Besides this indicator work perfectly! #property copyright "Copyright 2017-2019 (c) MT2 Software
Please I want to know if variables declared at global scope are initialized at the entry of every tick. But I thought they are initialized only once at the loading of the EA. Why is my variable (at global scope) always returning zero even when I assigned a non-zero value to it? Or do I have to

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.