MQL4 and MetaTrader 4 - page 1322

  Looking for a programmer  (72   1 2 3 4 5 ... 7 8)
No one has written anything here
[Deleted]
How can I link from mql code to history centre and pick latest ohlc to the code and use those information for calculation into code? Help pls!
[Deleted]
Is there any possibilty that MT4 automatically sets the color and sytle of a new user drawd Trend or horizontal line depending on in which timeframe terminal the object was drawn. The color and sytle should keep constant when changing timeframes. Example: I'm looking at the H4 chart and draw a Line...
[Deleted]
Good morning, I would like to code to go out to the average openprice + 5 pips, in the case or we have several positions. If I put the code below, i go out for all the positions but at the price of the last entry +5 pips and not at average openprice + 5 pips : if (MarketPositionMN("", -1, -1) ==1 &&...
Hi all! Who knows, how I can indicate the price on chart in painted area beetwen two Simple MA set on high and low?? For example, this chart: Thanks Best regards
Hello, I was wondering if anybody has seen an indicator which highlights the beginning and end of each day of the week? maybe something similar to this https://www.mql5.com/en/code/7753 except instead of session the days of the week are marked Thanks
I have been testing the Stochastic Momentim Index indicator dor some days and I have a problem. The indicator starts shifting to the left, not presenting the new values generating a black box on that side of the screen How do I solve this? Thanks in advance and best regards STIG
I am in need of alert based on two moving averages. I trade on a H1 chart (multiple currencies...). 3 EMA 5 SMA (Shift:1) I need notification of the 3 EMA crossing the 5 SMA (Shift:1) the INSTANT they cross (in either direction). I would like a pop-up window (alway on top) with sound, and an email...
I have program a EA that works with tick information, but I would like to change to M1, M5, etc.... How do I have to proceed? Regards
[Deleted]
Hi i am new user did not know where to post sorry if i post wrong. I am writing a bot with the iCC command but i want it to use CCI = iCCI(Symbol(),0,14,PRICE_CLOSE,0); Now i waned to know how get this to use the "First Indicator's Data" function. Could not find a Price_ or a Mode_ for it. Was...
[Deleted]
Hello, Is it possible to change the colour of the horisontal line displayed for the bid price? Thanks, Pieter
Can someone please clarify how in mq4 you are supposed to declare variables. I always use the variable i for loop counting as do nost people. If I declare the variable i in my main program as "int i = 0;" and have the same declaration in a "#include <xxxx.mq4>" then I get the error message that...
[Deleted]
Hi All I request anyone of expert trader, to add slippage to the attached EA. I will be grateful to you. Thanking you so much Regards Robert
[Deleted]
Time[0] is time on the current bar. Time[-1] is time of the next bar, which can be some time next week. is there a script somewhere for this?
I've been playing around with mql5, and it looks to me like a very poor version of C++. So I was wondering, why reinvent the wheel and rebuild "C++"? I believe that designing and conceiving a new programming language is a long and painful error prone process. C++ could have been used directly...
Hi every body, I'm from the marketing department of a fore broker that would like to design new member area with great options and tools for its clients, currently we are searching for the best Mq programmer to take control on that project with attractive price. you could contact me on the
[Deleted]
hello, I have an EA in which i must sort data in an array. For example : array[9]=[4,7,2,9,6,3,1,8,5] i need to sort it from smallest to highest. The result will be as follow : array[9]=[1,2,3,4,5,6,7,8,9] Is it possible to do that ? in the same array or do i need 2 arrays (one for chronological...
[Deleted]
  EA Breaks on VPS  (9)
Hi Guys, This is my first post. But have been browsing this forum for a long time. I believe till date I must have searched this forum for more than 100 queries, and I found an answer to almost all of them. But I think this is one hell of a problem I am facing and no one seems to have a solution for...
  Arrows on charts  (1)
How do you make an EA create a buy and sell arrow on the chart? I've had EAs that do this, and the latest one we've made doesn't do it. Is there something in the code or is it the environment settings? http://www.eesfx.com
[Deleted]
Hi there, I'm pretty new here and hope that this question is not that stupid. It's clear to me that I'm missing a tiny issue. I wrote an expert (let call it expert.mq4) and within it imported an mql4 library I wrote (let say the compiled library is library.ex4). So, in the expert I wrote: #import
[Deleted]
Hi, I am trying to make a function that determines if any open order is losing more money than a cutoff point (say, $-1000). The function is then supposed to store the OrderTicket() and the OrderProfit() in two separate arrays, and exit with return (1) to signify that the cutoff point has been...
[Deleted]
Hello, i am programming my own ea but the ea isnt trading but if i look at the charts, there are bars with my conditions !!! the ordersend code is correct and working. conditions for long trade: the difference between the open and close price must be at least 3 pips the differenze between the last 2...
[Deleted]
  SYMBOL()  (4)
HI GUYS I HAVE SOME PROBLEMS REGARDING THE CLOSURE OF THE ORDERS. I EXPLAIN: I USE THIS RULES: FOR (I=0,Z=0;I<ORDERTOTAL();I++) ORDERSELECT(I,SELECT BY POS) IF(ORDERSYMBOL()==SYMBOL() && ORDERTYPE==OPBUY) Z++ ...... IF (Z=1 ) ORDERSELECT(TICKET,SELECT BY POS,MODE TRADES) IF( CONDITIONS)...
Hi guys, I'm looking for an indicator that give somewhat good trade signals on 5M period. Can you suggest some? Any advice will be much appreciated. Thanks, Mike
ERR_INVALID_FUNCTION_PARAMVALUE - 4051 - Invalid function parameter value. Could you please describe for me this case of error code?
[Deleted]
Hello, i am writing a ima routine to study the original ima, but i get different value. My routine is based on standard ima calculation. Original iMA = 1.39742423 my ima = 1.39726915 and this give different value to my ea. Any idea on why this different value ? I use timeframe 1H Thank you !...
Hi all, Just an update to let you know im coding EA's and indicators again. Contact me at the usual email address for a quote (sleepless.damian@gmail.com). Regards Damian
[Deleted]
does MT4 support pivot points ?
[Deleted]
Hi, I can't seem to change any of the optimization values in strategy testers - any ideas why that might be? Cheers
[Deleted]
Hi, could someone please tell me how I can pull the most recent value of the ADX indicator included with MT4 into an EA? I am guessing that I would need to set the value of the Y coordinate of an array to a variable. But I have no idea where to find the name of the array or what values to include