Expert Advisors and Automated Trading - page 320

HI There I would like to know how to get the Previous days high and low when trading on lowwer time frames. Thanks
GBPJPY from 2007-2017. other pairs also works. << screenshot deleted by moderator >>
If I use the same terminal for multiple accounts with VPS and EAs then they get mixed together and all accounts use all EAs. So do I have to download a separate terminal for each account that I want to use?
Hey all, I've been strategy testing using on close of candle rather than every tick as it's quicker and at the moment I am just getting the code to do what I want it to do before then properly testing with every tick. I have tried every tick a few times and find it takes out less trades than when on...
Hi there, has anyone an idea - sorry, a solution - how to figure out the window handle of the chart window when the tester is running in MT5? Thanks in advance
I'm having multiple issues using my back tester. As I try to solve these problems, another one pops up. My EA runs on daily bars, EXCEPT stop losses and a trailing stop. One of the errors which occurred about 9,000 times on a back test was:    TestGenerator: unmatched data error (volume limit 63362...
  Function to start a EA  (23   1 2 3)
Hey all, is there a way to start a EA out of a class ? I know i could handle multiple instance within a EA but i want a spereate name space and process, means i can detach a specifc EA and don't interrupt other EA's. Or like i have a situation where i want to start a specific EA: EA ea_instance =...
hello Sorry i can not speak english well how can i disable feature popup message box in mql4 i want message box without popup . like Alert thank you
I've looked around for an answer but I cannot find anything that works for me. The following doesn't work on meta trader 5: ZeroMemory(mrequest); mrequest.action = TRADE_ACTION_DEAL;                                  // immediate order execution mrequest.price = NormalizeDouble(latest_price.ask...
I have a trade system that I want to backtest in MT4 however I cannot get the EA to correctly implement the indicator that generates the buy/sell signals.  I have built many EA for testing, including some that use custom indicators, but have never come across this particular issue.   The Trade...
hi i am working with mt5 and now the empty value is double in mt5 and not constant . can any one tell me why meta quote change the empty value :-) Regards Muhammad Mudasir
Hey all, Been looking at using a MA or support resistance indicator to using in my EA but none are as good as me drawing in key support resistance lines. So, is it possible to get an EA to recognize horizontal lines you have manually drawn onto the chart, and what would they be named as standard,...
Hello, Can you help me to calculate the levels of force index for each symbol? The levels for GBPUSD is: top_level=20, bottom_level=-20 The levels for BTCUSD is: top_level=100000, bottom_level=-100000 What is the formula for calculate the levels for each symbol? The formula of force index is: FORCE...
Hello, I'm trying to draw an DRAW_COLOR_SECTION with sections missing or colorless. I tried this code but it's missed. //+------------------------------------------------------------------+//|                                        appDRAW_COLOR_SECTION.mq5...
Hi all, Recently took a rather large loss in my automated trading with an EA operating on a VPS. However, when evaluating and back testing the same EA, on the same currency pair, the error did not occur and in fact took a rather nice profit. The error stems from a trade being opened at an incorrect...
  Last two orders  (1)
Hello! Help please, how can determine that the last two orders were closed by StopLoss?
Hello, could someone convert this code fragment to mql5? Mainly "ObjectSetText" if (waveDirection[i] == 1) {             ObjectCreate(0, volLabel, OBJ_TEXT, 0, time[waveChangeBar], low[waveChangeBar]-shift);             ObjectSet(volLabel, OBJPROP_ANGLE, -90);             ObjectSet(volLabel,...
Hello, [MQL5] I try this script. With F5, Debugging, I got the following error message " Array out of range". Why ? Thanks in advance, Pierre //+------------------------------------------------------------------+//|                                                     TestBars.mq5...
  reverse mode  (2)
can i add reverse mode in any EA?????
Hello, Is it possible to join Python 3.X with Metatrader? I found on internet that links are done only for 2.6-2.7 versions.  And of course none of them are working for Python 3.5 version.
Hi, Is it possible to access the information available in the options board though mql5 code?
For personnel who are having problems filling out order in MT5 (UNSUPPORTED FILLING MODE) I was able to solve with the following changes within the CLASS TRADE. Swap ORDER_FILLING_FOK by ORDER_FILLING_IOC at the beginning of trade.mqh In the trade.PositionOpen and trade.PositionClose functions...
Hi there, I am currently trying to get my first EA to be compiled, but i got som errors, any idea how to fix them? https://pastebin.com/N4EahfUJ Thanks in advance, Ekvationen.
I have a problem that only occurs in the real account: On WIN$D, I operate with ORDER_FILLING_IOC and deviation points = 15. The EA sent a buy order at 74,000, the order ended up buying at 74100. I imagined that point deviation was a parameter that allows MT5 to buy into the market at until 74015,...
Hi, I am just looking for a way to get the day of the week from my LocalTime in a program. Is there a way/function for that please ? Tx in advance;
Went through the directions. Trying to sign up for "Abbey", been trying for a while now and still no dice. Anyone? 
Hi, I found this part of code somewhere here on mql5.com. It looks great as I need to place Trailing Stop in most of my EAs. Nevertheless I am not sure what is exactly the meaning of those 3 parameters : ZeroLevel, TrailingStop, TrailingStep I already placed order (let's say BUY case) with a STOP...
Please would some kind person explain what I'm doing wrong here (MT4 EA). Compile 0 errors and  Charts/Objects/Object List  confirms the object, but no text appears on the chart  (background black for clrWhite). Tried without the if condition also with Time[0], Close[0]  but no difference. Many...
Trades keep opening on my account with the description saying it has been opened by the signal provider. When I close it, another instantly opens. However, on the traders mql profile it says last trade was opened 5 hours ago. so why are these random positions opening up so late? 
<b>Você assinou com sucesso o sinal WDO DOL e Win:</b> <p>Conta 116528 (Rico-Demo), período 2017.12.13 18:36:18-2018.01.13 18:36:18. </p> <p> Por favor, preste atenção, para copiar sinais, a plataforma de negociação do assinante deve estar ligada permanentemente ao servidor com a conta que está registrada para assinar sinais.</p> <p> A plataforma recebe sinais sobre a execução de transações na conta do Provedor e copia automaticamente essas transações para a conta do assinante apenas se estiver conectado ao servidor. </p>