MQL4 and MetaTrader 4 - page 1494

[Deleted]
i want to leran MQL from beginning. From where i will get books or vey very easy expert advisor samples, so i will learn how to write ea.
Anyone manually trading scalping successfully and tired of spending hours in front of computer screen? Let me know, I will turn it into EA. No matter how complicated it is. One important note: it has to have rules. I am not able to code a discretionary system in which decisions are based on
Attached are a screenshot and the source of an indicator written to show 4 Stochastic lines (of different periods - obviously). In practice, it compiles ok but it resolutely refuses to show more than one line - as shown in the screenshot (which also shows the periods it's set to display). Oddly, in
[Deleted]
Hi All, I just want to know can we close the part of the order.. ie profit-booking of 50% of the holdings, when profit is 10 pips... Could someone please tell me how to achieve this... I tried doing.... OrderClose(ticket,NormalizeDouble(OrderLots()/2,2),Ask,3,Green); But I'm getting lot of...
i want to do something like this but dont know is it possible, i came up this idea cause it can save me alot time and lines for codiing int line(){int shift = 0;int shift2 = 0;int movement = 0;double redline(shift) = iCustom(Symbol(),0,"500",0,shift);double tealline(shift2) = iCustom(Symbol(),0...
[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]
NOT BECAUSE OF LACK OF MONEY OR CRISIS, BUT THE LESS RISK THE MORE STABLE ...WAIT FOR ANSWERS
[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;...
This website uses cookies. Learn more about our Cookies Policy.