Download MetaTrader 5

MQL4 and MetaTrader 4 - page 1061

To post a new topic, please log in or register
i use stochastic cross overs with a custom finger pointing short and long positions, i want to add money management of 20 points whenever the finger points and it should automatically open the position for me and close based on the take profit or stop loss. i am learning mql4 language presently but...
  i need help (4)
pls i need som1 to assist me, with my auto pilot that i just aquired. i nid to know how best to use it.
I know we can start a tester when terminal starts when we indicate this in an .ini file. Is it possible to start tester using a command so that we can start and stop tester as needed. I do NOTwant to open new terminal for that purpose. Can any one help with that? Thanks,
Hello to everyone, I would like to create a simple EA that does the following (unfortunately having no programming experience): - inserts 2 limit orders with SL & TP @ a specific time of the day, taking as the price for the 2 limit orders, the opening price of the candle @ the specified time plus a...
you know a super simple EA that work well in backtest and in live mode....? I'm not a programmer and I'm looking for a EA.... I'm tried the EA on this site and i'm disapointed.... all the result are not the same than showned in the presentation.... My parameter is identical but the results is very...
After changing the code in a function, and then compiling, I get a Function Definition Unexpexted Error for another function that I have not changed. The unchanged function is listed after the function that I changed. What would cause this compilation error?
Hello, i just got new computer equipped with Ms. Win Vista. As soon as i code mql in metaeditor.. i found weird thing... it's the files that i code can be overwritten (access denied).. i try to "save as" with the same name and it successful, BUT... when i attached the ex4 to the chart.. it always...
I need some to revise my ea, I can't set this ea with this condition : I want this ea only trade Max 2x per day
Hi, After my first order is opened, I'd like to add orders based on some ATR multiple. For instance, after the first buy order, I'd like to buy again every time the price increases by 1/2 ATR, up to say ten orders. Any ideas on how to approach this. Thanks, Kevin
Good afternoon! Probably, not in earnest to ask in my age, 35 years. But. Never thought that this devil world crisis will touch and me personally. Shortened, remained out of employment. Two credits, wife in a maternity leave, on that to live? Heavily! We live in a depth, in Russia, in the Seashore...
Hi gays. When I tested my EA,there is a error like this: "incorrect start position 0 for ArrayMaximum( )"; Can anybody tell me the reason. Thank you! A part of the code: int start() { int ticket,total=0,cnt; int SearchRangeMAofRSI=7; int SearchRangeRSI=13; double MAofRSI_0,MAofRSI_1; double...
Hello Coders please somebody can help me. I try to create an EA with the Options to Close all open trades at specified time and / or day. The function for open trades at specifed time and / or day seems it's working. But the closing function by time, i don't found the solutions. I have try to code...
I NEED HELP WITH USING TESTER WITH EA EXPERT. I SEND ME AN EMAIL AND WE CAN WORK OUT DETAILS. I CAN CALL YOU SO WE CAN WORK BETTER. WILLING TO PAY REASONABLE AMOUNT. N7QWQ@HOTMAIL.COM
I have a MaxTrades feature that I would like to edit. Email me a sweetislands@yahoo.com This is the EA program: 'Multi Lot Scalper'
  Orderclose not closing (11   1 2)
Is it possible please for someone to help me... I have tried many different ways to get this EA to close an order on the close of an hourly bar. eg : 1 open position..then when the hour bar closes, EA must close the open position no matter if in profit or loss. I have left some code in the ea that I...
Is it necessary to use OrderSelect before using OrderClose? My orders are not closing. Are there other prerequisite conditions I should check for before closing an order?
I loaded a new Expert Advisor and everything went fine. However, when I activateit I receive the following message: FellowTrader's RangeTrader E.A. only runs on a Live account. This is a live account. What am I doing wrong?
Hello, Been having an issue with my trades that started yesterday. After placing a trade, it will exit by itself without hitting my stop loss or take profit settings, it just bounces out. Luckly I'm still using a demo account becuase the losses are starting to add up. Has anyone experinced this...
Hi All, Do you know of any indicators which autoplot horizontal lines inmetatrader. I have a system i would like to test. I need 2 lines drawnfrom the data which is calculated inside my spreadsheet. The lines would be upper resistance and lower support. I have checked out the system manually by...
Below is a piece of my EA which trades a few pairs. I need some help getting the following put in here as a condition to trade. I have also added the custom indicator at the bottom here-it is simply support and resistance which can be found here in the code base articles. I want the expert to buy...
I'm new, i really want to continue with my demo account, but wouldn't because of a statement that would always come up 'not enough money' each time i execute a trade? please help
I am trying to get the open price of the H1 6:00GMT bar. I can't for the life of me figure it out. Please advise. TimeFreedom
Official ODL Securities Statement ------------------------------------------------ ODL Securities Sells US Business 15 January 2008 – ODL Securities, the leading independent FOREX, derivatives, equity, spread betting and commodity trading house has sold the US division of its profit making US...
wondering... docs say that OrderClose() is trading operation. seems ok, as client must talk to server. what seems strange is that OrderClose() of 12 orders can take place with or without " while(!IsTradeAllowed()) ..." the without was in a OrdersTotal()-1 for loop with OrderSelect(...) >...
  IS MY EA OKAY (7)
HELLO GUYZ,I HAVE BEEN WORKING ON MY FIRST EA AS A NEWBIE TO MQL4.PLS I NEED HELP IN SCRUTINIZING MY EA FOR A GOOD DEVELOPMENT AS IT DOES NOT OPEN TRADES ACCORDING TO THE CONDITIONS.THE META EDITOR SHOWS NO ERROR. PLS GUYS,HELP ME OUT.DO I HAVE ANY BUG IN IT?.......CHINEXEXNB: BELOW IS A COPY OF...
Finden Sie hilfreiche PDF auf Deutsch zur Handelsplattform MetaTrader http://www.meta-trader.de/metatrader-akademie.htm Nutzen Sie die PDFs um sich optimal auf das Trading vorzubereiten http://www.meta-trader.de
Hello all With regard to the protocol for communicating to a broker from MT4 - ie the communication side of what happens when you place a trade and close a trade, is this documented anywhere? I am trying to find out if there is any difference between trading manually and trading via an EA - ie...
I attached the ea to 4 charts. I verified the values when I started having problems. The verified values are correct, but the ordermodify function does not actuate (Mod=0) and returns error 130 invalid stops. Please review. Thank you. Rudy if((typeb0s1==1 && SL>Bid+(Point*TrailingStop) &&...
This indicator still in BETA version.
My EA must reference a single indicator in all available timeframes. In the Strategy Tester I sometimes get "Loaded successfully" for all nine TFs once at the beginning of the test run. In other situations i GET "Loaded successfully" for all nine TFs (the first time they are referenced) but...
1...105410551056105710581059106010611062106310641065106610671068...1245