MQL4 and MetaTrader 4 - page 1314

[Deleted]
I AM BLING IN N PROGARM, ASK FOR HELP I WOULD LIKE A PROGRAM, USE RSI SOURCE CODE PLUS ALERT WHEN RSI VALUE > " X " OR < " X ", SHOW ALERT WINDOW PRINT RSI VALUE " Y " AND SOUND " Z " TIMES EXAMPLE : WHEN RSI > 80 WINDOW SHOW RSI 80...
Hello,I started using the mt4 publisher on my own website. I'd like to be able to hide my account number like on mt4stats.com.How can I do this?Thanks,Stamat
I have an expert advisor which does trading automatically off the heiken ashi indicator, trading the euro/usd, I need help with to enforce the input parameters I have chosen for the expert advisor to trade by it self, the inputs are only half intact and not all features are working but as of yet I...
I've written an expert for MT4 that is giving ERR_OFF_QUOTES errors trying to modify an existing order. I place the order in the first step with OrderSend, and receive an acknowledgment that this was successful. I then try to modify the order for the StopLoss and Profit Target with what seem to me...
Hi there. I'm using the Heinek Asi smoothed (HAS) indicator to determan the buy / sell of the trates. At the moment I just use the following code. if (four_haOpen<four_haClose) {fourhourbuy=true;COL5=Blue;} else {fourhourbuy=false; COL5=Red;} if (one_hour_haOpen<one_hour_haClose)...
for example-: I have 3 buy orders and 4 sell orders open at the price below 3 Buy orders open price 2.5 2.3 2.6 4 Sell orders open price 1.6 1.2 1.1 1.5 Now I only want to display the highest of buy open price which is 2.6 and the lowest sell open price which is 1.1. Anybody know how to do this?
[Deleted]
My company is looking into automation our expense claims. Anyone who is good at programming please write to me with quotation, further discussion could be arranged. Thank you.
[Deleted]
Hi, I would actually like some expert advice as to why my color bar indicator chart [CZI] (bottom-most chart) always has gaps in between the transition of colors and/or loop onditions. I have attached the coding part below as well. ExtMapBuffer1 is coded with turquoise, ExtMapBuffer7 is coded with...
[Deleted]
Hi All, I got an issue with the EA of RSI and MA... I got the indicator working properly... All I want is to convert it into EA... I tried a couple of things. IndicatorCounted() is not working in EA, so I tried to hard-code the values of the for loop (bar=0; bar<15; bar++), I was getting correct...
Dear traders and programmers, currently I am using MessageBox() to interact with the user. To distinguish different kinds of messages I want to use a particular background color for each message. The buttons are fairly simple though, I just plan on using one big OK-button. How to create MessageBoxes...
[Deleted]
Hi, As a new mql programmer, I'm having trouble retreiving the original mql source code after a successful compilation has occured. The MetaEditor appears to only show a Template with empty header,init, deinit and start functions once the ex4 file has been generated. So far the only way I've been...
[Deleted]
Hello All: I'm looking to perfect my entry signals for some technical signals in MQL4. For example, would the code below be correct for a buy signal when the Williams % R crosses above the -80 line [only included applicable piece of code]? williamsrcurrent = iWPR (NULL, 0, 50, 0);...
[Deleted]
Hey everybody. I have an indicator that changes an external variable. eg: in the input window --> higher = true; the indicator changes it to false. when i open the input window it is still on true. is there a way to refresh the input tab? to get the new values. thanks
[Deleted]
Hi there, Is there someone here that can advise me about fine tuning an expert advisor? I have tried numerous EA traders and really had narrowed it down to one that did consistently well. However it has some serious issues about knowing when to quit or stop putting in trades if it gets stuck in a
How can I know when the market is say an hour from the Friday closing or right at market close? I use demo accounts with two different brokers and they are on different server times and I would like to code my EA to close all open positions before the Friday market close. This is just for testing...
  MT4 WIN7 TROUBLE  (2)
the win7 restore point and mt4 have a compatible trouble mt4 work just like win3.1, it will consume your resource, when crash it will roll back so when i reinstall and i got like those picture and i can open it but i have no idea where it is (firebird)
[Deleted]
I am attempting to color a MACD histogram indicator. I needed a MACD histogram using all exponential moving averages so I basically took the builtin OsMA indicator and changed the smoothing function to EMA from SMA. I then wanted to plot all values above zero blue and all values below zero red. What...
I've seen this on other platforms but can't seem to find one for metrader4. Does anyone know where to find please? I searched the code base but couldn't find. -Neal
[Deleted]
Hi, there, does any one use the script - "stepbystep" posted in below link? 'StepByStep' It seems I am having problem to make it work, not sure what is missing. Or, anyone has a similar script which could share with, please, give a favor. I have a couple of ideas to get the water tested, so, I need...
[Deleted]
Hello, I have EA where I can define starting-up time: start=XHour*3600+XMin*60; but I need define more EA starts in day. Something like this: start=1Hour*3600+1Min*60; or start=2Hour*3600+2Min*60; or start=3Hour*3600+3Min*60; can somebody help me with coding? Thank you.
[Deleted]
When I add a trendlines of any type even MA's if I then sign off and log in later they are missing. I thought something must have gotten buggerd in the software so I downloaded MT4 again but still have the same problem. This computer is running Vista but I have others that run Vista64 and I have no...
[Deleted]
I need to pass the color of the Hull Moving Average to my EA. The HMA indicator only calcuates the value. I have modified the code below to draw a histogram instead of a line for the HMA. I've added a variable named ColorBuffer[] to pass the value of the color. See last few lines of the code. When...
I'm sure this has been asked a thousand times but I need to know how to do this so I can modify my own indicator and eventually build one myself. I would like to find available sources online without spending hundreds on books. If i could find example code with comments of what the code does that...
Hello again! I am trying to apply a price average in a yesterday format. Here is what I have; double DP = (High + Low + Close + Close + Open + Open)/6; double DP1 = (High + Low + Close + Close + Open + Open)/6, Current + 0; double DP2 = (High + Low + Close + Close + Open + Open)/6, Current + 1;...
[Deleted]
Hello, I have a script that is contantly running (while (!IsStopped())) and looks at market info and prints the values to the log. If my intenet is diconnected and than connected again my terminal can recover and reconnect but my script was terminated: 16:06:00 PrintValues GBPUSD,H1: shutdown by...
[Deleted]
Hello, I have an EA which performs significantly better when tested with the 'Open prices only' option in backtests on 15 min bars, as opposed to the 'Every tick'. I would like to make changes to my EA to force it to perform as it does when I test on 'Open prices only'. I am not a great coder, but I...
[Deleted]
I realize the focus of metatrader is the EA's and the indicators. But how about some basic drawing tools? If you see Ninjatrader it has customizable fibonacci extensions and customizable fibonnaci retracements. Would like that
[Deleted]
Im trying to get the difference between to 2 moving averages, and not doing well. I want to subract one MA's price close from the other MA's price close and then see if the sum is greater than or less then my magic number which is a decimal number. How can i do this with out all the errors? I have...
this scalper buy and sell on test but on demo or real account it does nothing is it because of if (IsTesting())
[Deleted]
Hi, a short question: I would like to write a Text into a label object. The problem is, it doesnt make new lines. eg.: Spread: xx Accountlevarage: xxx Code: string spread = "Spread: " + DoubleToStr((Ask-Bid)/Point/10,1) + "\nAccountlevarge: " + AccountLeverage(); ObjectSetText("Spread",spread,10,...