MQL4 and MetaTrader 4 - page 278

How do you manage to make a real robot work correctly? I learned to program in mql4, I created programs but I am constantly attacked by hackers. Is it the Hacker or the broker who does such things? if he is the hacker, why doesn't the broker get involved in protecting his clients? 1) The last
Hello, I've been looking for a while but can't find any information... :( I would like to create an level price ALARM on the terminal automatically via MQL4 command. The Alarm function only creates a popup, but I would like to create an alarm when the price level reaches it. is it possible to do it
  Copy Signals  (2)
Hello, I have a problem with a signal service. I copy a signal and all trades are only opened with 0.01 lot. On the Signal Provider page (mql5) are different lotsize. My account has the same leverage and balance. Anybody can help me to solve this problem? Thank you in advance
Hello everyone, I have a question about the WebRequest function . I have a software who updates correctly on my website a file (every 10 seconds) through FTP. The problem is when I use WebRequest to get the last new data... The first time I do the request it shows me the new last data correctly, but
Hi Everyone, This is my first forum post so apologies if my question is vague and/or explained incorrectly. I have a bollinger band strategy that has a int period of over 1100 in the iBands (weird I know, just work with me here) double bbMid03 = iBands(NULL,0,1100,bbStd03,0,PRICE_CLOSE,0,0); Each
I noticed that one-one scale fixing does not work well for small time frames . As can be seen above. Is there a way to fix this and get a nice looking chart? Regards
  EA on MT4  (1)
I am running a new EA on MT4 live for the first time after backtesting a basic strategy. I have a smiley face on the top right of the chart, but no trades are getting triggered. How do i check if it is "live" or working? Thanks Bhav
Hello everyone, I decided to write my problem here hopefully someone help me because I am literally blocked. I spent a lot of time without any good results. As written in the title, I have the exact same EA (MQL4) run on multiple charts (different currencies). The EA send an order when X conditions
[Deleted]
  Multi-socket?  (1)
Example: Main Server that sends info to 10 other (remote) Clients. Connecting through sockets works like a charm, but is it possible to have 10, 100 or more sockets opened to send info at the same exact moment ? The only idea I had is to loop Opening and Closing sockets, but that is sooo time
Hi, I'm trying to modify my Heiken Ashi indicator width to ' 2 ' but it looks like every time I change timeframe the width comes back to ' 3 ' I've tried to change it I the Mq4 file but still no changes. looks like it doesn't wants to save the width modification I've made..  here's the Mq4 file  :...
Hello, just started learning MT4 programming. Would be great if somebody have any idea how to change the color of MACD indicator whilst runtime. If MACD above Signal Line = MACD for this bar in blue (input color MacdLong) and if MACD below Signal Line = MACD for this bar in red (input color
Hello, I downloaded CMF today and would like to have the line different colors over and under the Zero-Line. Unfortunately i have absolutely no idea coding anything. Could anyone tell me, what and where to enter in the editor to have this option? Thanks :-)
I couldnt find out how to do this. So I made a code, that detected if the next value is 90% of the previosu candle it detects it as red. EA must be colorblind xd. bool AwesomeRedConfirmedVariable() { double AOone = iAO ( _Symbol , _Period , 1 ); double AOtwo = iAO ( _Symbol , _Period , 2 ); //double
Print("BuyOrdersArray good[1] " +BuyOrdersArray[1]);//digits are 5 like it is supposed to be Print("BuyOrdersArray good[1] " +BuyOrdersArray[variable here]); //now it goes to 4 digits when you add a variable instead of an integer you can make the code the same but as soon as you put the variable in
Can someone please tell me why this simple piece of code wouldn't pass Product validation process? Despite it has no symbol restrictions...well nothing in fact that that should cause ' No trading operations' error. //+------------------------------------------------------------------+ //|
[Deleted]
  How to run EA for multiple pairs?  (44   1 2 3 4 5)
Hi I am new to Forex and MetaTrader and trying to figure out some basics. Assuming that have an EA which is attached to a chart of EURUSD , BUT I want to find setups in multiple pairs from that EA. But EA only runs when fresh tick for EURUSD comes. Right? Now I see this as MT’s limiting feature as
I read some articles that MQL4 new version cannot decompile but I found some posts they can decompile MQL4. Is it real or fake
Hi there, Can you help solve this oddity ! I could really do with experienced members feedback on this one. For the past week (Until Sat 5th Sept): I have selected known indicators I have created trigger displays (Arrows) when the indicators behave in a certain way: line cross, zero cross over etc
Hi guys, I am writing an EA that automatically enters a market execution when the entry price that i have calculated is equal to the current price. thereby negating the use of a pending order. but using the strategy tester, i am unable to get an accurate output. it seems like there is an issue with
Hi, In my learning of MQL4, I try to rewrite the exponential moving average (EMA). For this I'm using the rewritten version . EMA(i) = EMA(i-1) + alpha * [Price(i) - EMA(i-1)] The problem is my ema is very different of MT4 ema. Someone can tell me what is going wrong with my code please //----
Hi All, I've managed to get multiple instances on MT4 running on my VPS, (around 15) was able to switch between them all no issues even with my EA's installed. Left the MT4 instances running overnight, but when accessing my VPS this morning a lot of the MT4 clients have become unresponsive. Ended up
Hello, I am unable to re-enter my indicators. The reason is (demo expired) and it is impossible for me to find them. A gray circle appears in the browser symbol, I can only test them. Do you have a solution? Thank you in advance
Hi, anyone can help with this? I wish to select datetime from the last closed order from history with my magic number and compare its closetime with currenttime and not allow ea to open a new trade until the seconds between them reaches for example 3600 seconds. appreciate any help! thanks
Hello In the past in my mobile application for MT4 I used to receive notifications everytime an order was open or closed. However I stopped receiving such notifications. The profile in MQL5 is set as for me to receive them, ID, phone number, device recognition and so on. In the app, every thing
Hello I am new to VPS, and I have a problem: Every time I enter the remote desktop I have to change the server to the one with the lowest ping. Is there a way to make MT4 always look for the server with the lowest ping
//+------------------------------------------------------------------+ //| Guppy Multiple Moving Averages.mq4 | //| Copyright 2015, Dmitriy Kudryashov. | //| https://www.mql5.com/ru/users/dlim0n4ik.dk |
I could only read Bar0 value from indicator by using below code. How can I plot a graph while doing Back Test? double value = iCustom(Symbol(), PERIOD_CURRENT, indiPath, 0, 0); // tried to read Bar1 and old Bars but failed (i > 0 will be fail) //double value = iCustom(Symbol(), PERIOD_CURRENT
Hello guys, How do i add a delay function in seconds between Martingale trades when coding an expert advisor
I having a tough time finding the Stochastic Momentum Index for the MT4
I use the following code to place text on a chart. In this case, just above the high of a bar by 10 pips (LabelOffset). ObjectCreate ( StringConcatenate ( "SS_" , Time[i]), OBJ_TEXT , 0 , Time[i], High[i] + LabelOffset); ObjectSetText( StringConcatenate ( "SS_" , Time[i])