MQL4 and MetaTrader 4 - page 86

In germany we have summer and winter time, the mql broker has also an extra time and the expert advisor uses the time of my computer for automatic trading . I think an indicator that shows when an stock exchange opens and closes is an important tool that Metratrader should still include. This
my skills are nit enough to do that
Hi, I downloaded a custom indicator (link below) to be used as a supply and demand in my EA, unfortunately I cant call out the values for the supply and demand levels, I tried using the iCustom code but gives me the high and lows of the previous candles. Any suggestion would be great. For the code
  OnDeinit()  (3)
Hello! I want store some variables in my EA as GlobalVariable in case EA stops, so it can recover. My question is if EA stops for no reason ( power failure or terminal failure or internet loss) is the OnDeinit() function in the EA will run? I am asking this because I want to delete all globals when
  EA upgrade  (1)
I have this supply and demand EA. I need help editing the entries. I want the EA to only take trades when the zone is retouched and not when it is newly formed. Then there should be a bullish candle that should close above the box to trigger the buy entry and a bearish candle to close bellow the box
Greetings, With the recent Windows updates I have experienced "crashing" of MT4 when I try to Access the Terminal/Market tab and have been unable to access the indicators that I have purchased. What should I do to resolve this issue, or do I have to wait for third parties to address? Your feedback
For a long-term investment purposes and with a profit factor of 2. in M1, with 120 operations during one year. EURUSD only. Time from 2am to 9pm (Helsinki time). Yes or no? Thanks a lot
Hello there, I'm trying to find out if history of a symbol-timeframe is fully loaded or not within my mql4 expert. there is this function ... bool SeriesInfoInteger ( string symbol_name, // symbol name ENUM_TIMEFRAMES timeframe, // period
How can I view this crypto pair USDT/NGN chart in mt4 through any means even with API
I know there is the function "ObjectGetValueByShift" where you can get the price of the trendline, but i need to know how you can get the price of the trendline when you only know the values on which points the trendline is draw and then with the calculation you can get also the price, i am looking
Hi, I have old setup files, but whenever I install it, it gives me the latest version 1367. how can I get the older version? or avoid this update. I tried disconnecting my internet but it didn't install at all thank you
Hi all, assume that i'm trading in one pair and doing backtest with an ea.. Ea calculating current basket like the code below; CurrentBasket=AccountEquity()-AccountBalance(); also ea calculating pair profit with codes below; double ProfitCheck() { double profit= 0 ; int total = OrdersTotal ();
Hello, I actually run 3 instances of MT4 from 3 different broker on an external VPS. I would like to rent the MQL5 VPS and I wonder if I can do the same thing as I don't really understand how it works. Thanks
Hi everybody Anybody know why: When i have to test my EA in strategy tester with "Open prices only" Model everything is good(order send, order modify and etc.) but its a problem on "Every tick" Model. for example i get a buy signal and EA try to open that position for several times not once. And for
I already found how to save the account history of 1 selected day to CSV format. But I want my whole account history in excel (and I prefer not do the 1 day download hundreds of times). Is there a way to download the whole account history (or at least a complete month)
bool DoesTradeExist() { TicketNo = - 1 ; if ( OrdersTotal () == 0 ) return ( false ); for ( int cc = OrdersTotal () - 1 ; cc >= 0 ; cc--) { if (! OrderSelect (cc,SELECT_BY_POS)) continue ; if (OrderMagicNumber()==MagicNumber && OrderSymbol() == Symbol () )
I want to create a button from button.mqh with text in 2 lines but the \n is ignored in myButton.Text("Line \nNew Line");
The Mt4 platform cannot be registered any more. When will the Mt4 platform be completely removed to trade on Mt5
void OnTick() { double ADX = iADX(NULL, 120,14,PRICE_CLOSE,MODE_MAIN,0); Print("ADX : ", ADX); } I just want to get the ADX of 2 hours timeframe but it always return zero. I think this is a bug from MQL4 because I researched the web and many people have the same problem with no one solving the
Hello, MQL5 Community Please assist with the following code function: "check operator precedence for possible error; use parentheses to clarify precedence". I have attached an image and snippet of code showing where I get the warning "⚠". Despite my best efforts, I have not been able to resolve this
//+------------------------------------------------------------------+ //| Cambio.mq4 | //| Desarrollado por William Miranda | //| Telegram:@wmirandamor |
  MT4 Strategy Tester Report  (12   1 2)
Is there a way to add Absolute Drawdown column in the Strategy Tester Report so that it shows the Absolute Drawdown for each order? If we can't do it in MT4, anyone knows a tool, app, or website that can do this
Today I have new update for MT4, but I didn't find any news about it. Why is there no news at all from metaquotes regarding the MT4 update
Hi can some make this indicator arrows to be visible in data window ? Thanks
hello, I need a custom code for mql4 following this plan of martingale: 1-a trade is opened using lots 0,01 for example. 2-a trade closes lets say ends with -10.00 usd of loss. 3-the next trade opened will be 0.02 as soon it reaches the 10.00 usd it will close the trade and wait for the next
Hi everyone, Can anyone help me sort it out. Say I have the following open orders (excluding pending orders) for EURUSD 1) buy 0.02 2) buy 0.05 3) sell 0.03 Outcome should read "0.04 sell" Thank's a lot
I use One click trading when i hit the buy button the entry line is like 20 pips higher than the first candle it should be even with it I need to find out how to fix that . If i do a sell the the entry line works good it is just the entry line on the buy button. The stop lose and Take Profit they
I tried to become a meta5 white label broker. but I heard, for the time being, you don't accept any white label? Right? And so, when is it possible
I just noticed Startegy Tester tells me this: 2022.11 . 11 10 : 44 : 03.678 TestGenerator: actual tick file "{installation folder}\tester\history\EURUSD60_0.fxt" found I tried to open that file, but I can't. Is there some way to convert or extract the data in it
My EA is set to close a trade when the 5 ma with a 1 shift crosses the 5 ma with 0 shift. in the data window in my screenshot, the top value for the MA's is the one with the shift. The bottom value has no shift. When in a buy position, it should close a trade when the MA with a 1 shift is greater