MQL4 and MetaTrader 4 - page 27

Hi. I have a problem with MetaTrader 4. I tested a robot on a demo account and VPS. Unfortunately, today I saw that the message "old version" appeared in the lower right corner of MetaTrader and the connection between MetaTrader and the internet was lost. My question is, isn't this MetaTrader a
  Midnight candle  (2)
Hello I request help in coding the function I will explain below, I have already written some part of the code but I am unable to code a function that identifies the open and close of one hour midnight candle. The logic is that EA identifies one hour midnight candle close and open then drop down to
i have been given a indicator without mql4 file, just a ex4. im trying to build a Ea with it, is it possible? the indicator gives me buy and sells signals and it prints arrows on the chart wheneever theres a signal, the only 2 vlue that the indicator is giving me back are: sell signal: (with a value
Hello, What is correct way to add if else statement. Type 1 : if (TradingAccountType == "Demo" ) { UserTradeAccount = "Active" ; } else { if (TradingAccountNumber == "" && TradingAccountName == "" ) { UserTradeAccount = "Active" ; }
  Magic Number  (3)
Hello everyone.. Sorry for asking, how to set the magic number value for manual orders on MT4? Thanks
Hi guys , Please i need help with contents for my Heiken Ashi candles EA . I have the functions below,   HA1=iCustom(Symbol(),0,"Heiken Ashi",1,i);  HA2=iCustom(Symbol(),0,"Heiken Ashi",2,i);  HA3=iCustom(Symbol(),0,"Heiken Ashi",3,i);  HA4=iCustom(Symbol(),0,"Heiken Ashi",4,i);  I want to know the...
Hello, I am fetching news from http://nfs.faireconomy.media/ff_calendar_thisweek.xml and it save the file inside terminal/MQL4\Files as FFCPing(Symbol)-ffcal_week_this.xml (eg, FFCPingGBPUSD-ffcal_week_this.xml). I have added a code to check this file every 2 hours and overwrite it to new version
I am very new to using MetaTrader 5 however I am not new to trading. I have been trying to connect demo accounts to the platform so I can get used to placing orders and doing analysis, However I'm unable to connect to any. I am currently in Ghana for a holiday, I could suspect poor connection
I have set out a load of variables which are to be sent out in an informational (is that even a word? It should be a word ;)) email when a position is executed. Everything works as programmed and an email is indeed sent when a position has been successfully filled by the broker. However, despite
Is there a way to get readable English data from the alerts.ini file, that I can use for my application
Hi every body I write mql4 expert advisor which put two pending position at lower and higher of a channel. when one of pendings hit the other pending is deleted. when I put expert in one pair chart it works good but when i apply this to multiple charts for multiple pairs, the second pending cant
Good morning, I attach EA that operates on the breakdown of the levels of the MTF xSupertrend indicator The code also provides the possibility of entering a fixed take profit, which has not worked for some time (perhaps because the code was written several years ago). by entering any take profit
I use a martingale strategy in MT4 (not MT5 yet), and sometimes it is obvious price is going to overshoot my TP. I want to be able to change the TP on all open trades simultaneously for a given pair. It would help to be able to enter bulk SL as well for a pair, especially to enter bulk trailing
Hello, ‌‌I have used web mt4 few days, t‌he functions is quite good but I could not find how to close chart in web mt4. a‌nyone could help this ? T‌hanks a lot.
In the first code the condition open_b is verified, in the second never. The only difference is the bar shift, I need one more condition on the 0 bar so I incremented the bar by 1. Why this happen? CODE 1 : //--------------Trading criteria------------------------------------------------- 5 --
Hello geniuses I have faced a problem with the swap I want the amount of net profit for each order to be constanted It means to apply the amount of swab in pip toTP for every order i use OrderSwap() to get its swap then if swaptype = 0 it mean OrderSwap() is in point, then it needs to convert to
Hi, I´m developing this mql4 EA, long story short, I´m stuck trying to place a pending order when all the condition are satisfied, and with an open price 10 pips less that the Ask value when all the condition are satisfied. The EA works well until the opening price is "Ask". I did a couple of try
Hello All, I made a purchase this morning and cannot seem to install it on my MT4 platform even after following the instructions listed below. Open your MetaTrader platform Specify your MQL5.community login and password in Tools - Options - Community Open the Market section and go to the Purchased
  error 129  (7)
Hello traders, I have following code which give me error 129 even all looks OK. Any idea ? Krzysztof RefreshRates(); double closePrice = NormalizeDouble (MarketInfo( Symbol (), MODE_BID), Digits ); Print ("Closing short position at ", closePrice, " Bid
Hello everyone, I have some issues with Strategy Tester MT4 and really need a hand. I`ve tried a few solutions but to no avail. Thank you in advance. The specific problem I'm encountering is that in the "Settings" tab, the "Use date" section is not displaying, and parameters such as "From" and "To"
Hello. Is there a way to publish MT4 live statement on a free website? I know *** - but not too much friendly. Any other advise
  Swap issue  (3)
Hello. It says swap type in points but the value does not look like points. Why
Is there an option in metatrader 4 settings to add percentage drawdown. For example, we reach 65% drawdown, all positions are closed automatically. As the percentages are introduced according to our strategy. Be it manual trading or using an EA. Thank you
Hi! Somehow I don't have the tab on the bottom of my screen with the trade history. The tool icon is on the top and it doesn't have any history. Does anyone know how can I add it, please? Thanks in advance.
  Coup!  (108   1 2 3 4 5 ... 10 11)
there were only three stages to go through! 1. make (finish) the Expert Advisor! when testing the owl, it turned out nicho will not work, and the turns can reach up to 40 ! 2. choose a strategy of two or more owls! (there are many strategies!) it is still a question! 3. combine owls by the chosen
[Deleted]
Are there expert maps sar size optimized also for-MT4
-
Hello to all, I am looking for a fast scalping Robot that trades under one minute with multiple of trades or a HFT robot that trades during normal conditions. I have initially been using a self made robot that has been trading the news and since that there is too much slippage during that time it
I don't know what's going on here. I'm trying to do an OrderSend for a pending order here is all the details. 1. Current Price: $2022 OrderSend ( "XAUUSD" , 5 , 0.1 , 2035 , 3 , 0 , 0 , "Trade" , 0 , 0 , 3937500 ); Full code here for ordersend: if (order.type == "Buy" ){ if
I run a custom MACD in a sub-window. A comment is displayed in the top left corner, which runs across 75% of the window width. As I do not need the information it contains, is there a line of code I can add to remove this
Hi everyone is there a way that I can create custom symbol in meta 4 like we do in meta 5