MQL4 and MetaTrader 4 - page 962

To post a new topic, please log in or register
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
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 following...
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...
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...
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
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...
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...
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...
  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?
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
does MT4 support pivot points ?
Hi, I can't seem to change any of the optimization values in strategy testers - any ideas why that might be? Cheers
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...
As many others I fell on a very good optimization for an MA Cross EA But as you might guess the results are only good up to a certain point: Jan07-Mar10 Before that there seem to be another MA cycle starting I have good 1 min data going back to 2005 so I was able to find another excellent...
I have a Gann indicator that needs and email alert added to it and I have no Idea where or how to start. I have several other indicators that I use the email function on and I love it! I have looked around on other forums for a gann with email alerts but haven't had any luck. So if anyone can...
Hi, Does anyone know how to display the "US30" or "FRA40" CFD on a chart in MT4 ? Thanks.
Has anyone tried this download from FXCM'S Program dept.? I chose it for my first EA. After testing it on the Demo and doing the Strategie tester, I decided to run it on 2 of my accounts. The first week it had 4 of 4 winners. The only thing I changed was, I deactivated it during the less favorable...
hey, Any one know where i can find codes that enable me to show position by arrow when i buy/sell or close in the chart? Thank you
hi all, After days of testing i finally able to write a hedging EA strategy base on EUR/USD and USD/CHF. I manage to get very good result on my demo account using manual entry. I need someone that can help me code it into EA. pls email me the EA. thanks Regards Hans
Hi Has anyone manage to code an EA to that gets around this 0.1 lot (10 000 units of the base currency) with incremental lot of 0.01. 1 pip with 0.1 lot = approx. USD 0.1 It's part of the FX open ECN FXOpen - Trading Terms - Type of accounts sorry if the link is not allowed but that where the info...
When passing values for slippage into OrderClose do adjustments need to be made for brokers with different digits? So for a four digit broker I would pass '3' for example, but for a five digits this would be '30'?
I would like to recreate the object MT4 uses to present the open and close of an order on a chart. This object looks like a red, green or violet arrow on a white filled circle that serves as background. Checking the object list, the symbol appears to be a standard arrow object, but when creating the...
The attached EA was developed by Barrowboy but i tried to do some modifications to it since then the results have been better . But there is a little problem with it, its only places one order and i want it to be placing more than one order. I have tried all what i could do but it is not working....
From the description of the ''Chandelier' TSL exit strategy', I don't see any difference between it and a normal MT4/MQL4 'Trailing Stop Loss' If being calculated on the broker's server, which is the 'norm,' as opposed to being entirely calculated within the EA and modification or close trade orders...
Hello: I have developed an EA that do some trading on a single currency pair. I have done some testing during 2-3 months testing with MT4 test environment and now I'm working with real money (and real trading). I have some conclutions that I would like to share and see if someone have some...