i'm going crazy i have an EA that is working on demo account, on 6 cross it works with no error then after some minutes and some operation (about 30 minutes, about 20 operations) i get this error 2008.03.21 12:40:44 '5014086': modification of pending order #1643977 buy limit 0.10 EURGBP. at 0.7784...
An EA that increases the lot size after each losing trade. One of the special cases of this EA is the martingale method. The description and open source can be found here: http://bigforex.biz/load/2-1-0-170
Hello - very simple task(i think) - is it possible to create ea that grasps the internal file text or excel or whatever and places the orders with predefined values?; I would appreciate the mql proggramer answer and help; thanks much!
Hello, 1. My EA have to do something at: { if (Hour()==19 && Minute()==00) When will do it? If the time is my local time or server time ? 2. My terminal can connect 5 servers. There are 3 "week" server. I've set it manually to "strong" server, but it always jump to week and started logout-login. How
Hi. I'd be very glad to read from anyone who know: how to import "engine" library and start MATLAB from mql4 how to make MATLAB execute an elementary command window script from mql4 and close. Thanks a lot. SA
How can I live trade an EA and demo trade a different EA at the same time. Do I need two different PC's fot this or I can somehow start two seperate instances of MetaTrader for doing this?
Здравствуйте! Есть гистограмный инидкатор, например его расчет делается на последние 500 баров то есть от нулевого до 499-го. Но получается интересная штука, что при изменении цены не всегда перерисовываеются и сооветственно меняют цвет 1-2 бары. Подскажите пожалуйста как надо сделать чтобы...
Hi all, This is a small code to identify in a specific way Gap formation (as per my definition :) ) I've tried to delete the arrows after the identified GAP is closed. -The GAP is considered closed if any candle (high/low) reaches the gap- after introducing else if dn[i+0] = 0 & up[i+0] = 0, the...
I have just downloaded the ODL MT4 platform. When I try to lay the EMA indicator (insert, indicator, trend, moving average) I get the money flow index. Can someone help me get the right moving average indicator Thanks for all
Hey guys, thought someone would be that smart to help me out with this. I use MT4 | BID ! EURUSD command in Excel to get the bid price for EURUSD , but the price keeps switching between normal format (1.4660) to something like this 1009167,0000. I have no idea how to avoid this. Something to do with
I am looking for some code on how to stop an EA from trading based on a set pip increase on the previous day based on a monthly collective total e.g daily target 20pips once the target is hit stop trading for the day. day12 total 320 plus 20pips total 340 daily target.
I know you can plot to positive values, the line drawing will be shifted to the right using setindexshift, but that is for an indicator only. Is that correct? I want to use this same method using objectcreate, but I am unable to do so. Is it possible, if so how? Below is a snippet of code....
Hello, 1. CONTEXT: In some cases, it is much better to countdown in the FOR loop: FOR (i=total-1;0<=i;i--){...} Like this case, (browsing all objects in a chart): https://forum.mql4.com/9330 QUESTIONS: In my TrailingStop function below: - Is it better to countdown in the FOR loop ? - In general, for...
Please can someone help me to code RSI in such away that when it is above 50 (RSI>50) it is buy signal and when it is below 50 (RSI<50) it will be a sell signal. thank you
int start{} function i only use this start{print(Bars);} i tred start at different time and use different time frame, always bars will be 1001, so that we only use 1001 bars history data in ea ? how to get more bars history data ? thank you. i have tried use arraycopyseries, same result. int...
The history of forex. The world monetary system has evolved a long time. Since 1867, acted "gold standard": the national currency exchanged only for gold, which "reinforces" every currency, preventing any issue of money governments, which accelerates inflation. However, the "standard" does not solve...
I am relatively new to programming in MQL; but not to programming. My math on the other hand is not the greatest... Anyway, on to my question. I am working on a Holy Grail(wouldn't that be nice). Part of my strategy is defined as this: Unless an inside bar is formed at the prior peak. Now, at this
Hi, Thank you in advance. I wonder weather it is right to expect by a deep backtest with all datas avaibles and the best modelization that zig-zag indicator happens to be modelized too. For instance, Every zig-zag value is computed by my EA for its purposes. At instant 1, I have zig-zag at 158.90, e...
I attached an EA to the EUR/USD 15 mins chart that's supposed to initiate a BUY order when a bullish engulfing candle is formed. (The right hand corner shows a smiley face, and the settings is set to "Allow Live Trading") However, I realised that no BUY order was opened on 14th Mar 10:15am even...