MQL4 and MetaTrader 4 - page 20

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
Are try to make a profiling test on my code over mt4 but its button is fade. I checked my backtest and optimization to be sure they are not running. Also checked with an without Set Specified Settings on Tools>Options>Debug. Nothing yet
hi is it possible to save all my open charts and the EA that are running on it . can I save it so that when I open mt4 again I can load them all automatically without having to place each EA on to a chart . also is it possible to transfer these setting to another mt4 platform 
hello, Can i open same mt4 account on 2 different laptops? if yes then how ? thx
I'm encountering a persistent issue with my VPS subscription for the Exness MT4 platform. Initially, I faced a connection error as detailed in the attached screenshot: Virtual Hosting: 6540107 failed to connect to server 'MQL5 Singapore 03' (18.136.60.134:443 failed) Previously, I resolved a similar
Hi guys, but I'm trying to download some missing currency's from the 'history data' for backtesting and it tells me there's no history data and wont let me download. Can you guys help? Thanks again
I assume me deleting the .ex4 caused the problem (accidentally deleted it thinking it was a duplicate) but, it could be another reason as it worked prior to that. Now, when I attempt to attach it to charts. It comes back with an error that it is not an EA. My code has no errors, so I'm a bit lost
I wonder if anyone else has come across this. Is it a bug? I'm able to import _SP500.csv which contains 30 years' worth of minute data successfully through History Center (for the method followed see https://forum.mql4.com/51224), and create all my .hst files for the market. I'm then able to run
Hi Guys, I am trying to get the last Zigzag high value as following code: input int InpDepth=12; input int InpDeviation=5; input int InpBackstep=3; void OnTick () { double highzigzag1,high1; highzigzag1 = iCustom ( Symbol (), PERIOD_CURRENT , "ZigZag" ,InpDepth,InpDeviation,InpBackstep, 1 , 0 ); if
Hi! so I've read some posts that make something like this for ( int i= 0 ; i < OrdersHistoryTotal(); i++) { if ( OrderSelect (i, SELECT_BY_POS, MODE_HISTORY) && OrderType() == 6 ) { deposits += OrderProfit(); } } Improperly formatted code edited by moderator. But for my case, history only
Hello everyone, I have a question regarding Hiden and restoring a panel. When I hide certain objects in my panel and then minimize and restore the panel, all the objects that are supposed to be hidden are shown again. How can I restore the panel so that the objects remain hidden? Is there a
I downloaded MT4 from below mentioned links .. the setup files showing mt4setup but it is installing MT5. how and where I can download MT4 setup? https://www.metatrader4.com/en https://www.metatrader4.com/en/download
Hi: I am using MT4. I need to write an custom EA. When compiling, I received the following error: MQL5 files compilation is not supported, syntax checking only. Is compiling MQL5 not supported in MT4