MQL4 and MetaTrader 4 - page 143

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.? //+------------------------------------------------------------------+ //|
  Price value  (10)
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
hi guys I'm trying to make a label on my EA that will display the possible loss amount of my current open multiple sell orders. I have a horizontal line that will give the price, the price that was given by the horizontal line is will be used as Stop Loss price on my formula that will compute my
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 );
  Convert Date to Week Number  (18   1 2)
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
Hello, I found this EA online and would like a few modifications to it. Can you please add the following to the EA; 1. Option to start EA at specific time of the day 2. Trailing stop Thank you in advance
Hi, Is it possible to convert any date on a specific zone to UTC? For example if I have 10/10/2021 in the 'Europe/London' zone, how could change it to UTC (taking into account the daylight saving)? In javascript there is momentjs library, but I don't know how to do it in MQL5 Thanks