Expert Advisors and Automated Trading - page 210

I have been trying to get an answer from search engines and various websites but am unable to verify the existence of these perimeters. I am looking to back test using the built-in strategy tester in MT5, and I would like to omit certain dates(news events) in my back-testing but I'm unable to
Hi everybody, I need to get the current datetime in a string, possibly in a SQL format (e.g. 2019-04-07 15:37:02). I've tried three methods of MQL5 standard library:  TimeCurrent, TimeGMT, TimeLocal but during backtest they all return the same date that is not the actual date. I need to get the...
Hello, from a custom EA I would like to check whether another EA is attached to another chart. I wasn’t able to find anything helpful in the documentation regarding getting an attached EA or the list of all active EA’s. Only how to get the indicators attached to a chart. Is there any possibility to
Hi, Probably newbie question (that's what i am), I would like to do certain actions (like check price, change variables) based on Candle close actions rather than on each tick. Could somebody provide me with sample code or another post for me to learn. Found some topics but i'm confused It would
Hi, I'm not an expert in programming, but I do not know much about it.How can I block or deactivate sales order?Try to change the Include but it does not work or I do not know how to do it well since I do not know how the matter works (I do not know what some things mean in programming)Is it...
Hi I'm trying to post the below to my express js endpoint I have a function below but it's posting an invalid JSON body to my express js. void PostOrderStatusAPI() { if ( MQLInfoInteger ( MQL_TESTER )) { } else { // JSON text to send string strJsonText = "{\"key\": \"value\"}" ; //
I have a robot I am writing and I want to use several rsi values of previous candles in the robot Please tell me how I access and the amount of the previous rsi
Hello Guys, I am looking for an indicator or an EA that can suggest new trades (Not place orders) tpo be part of my existing manual trading system. Just to give you an idea i am looking for something like this (or exactly this if possible ). Any suggestions will be appriciated
[Deleted]
Hi guys...i just got this multi oscilliator divergence ea...has a bunch of oscilliators for trading divergences, it however still lacks a crucial one that i use..." macd oscilliator".....is there a way to input this oscilliator into the source file(which i would gladly share here). would be glad for
Hello, just what the title says, I want to sell an EA that uses custom indicator, can somebody teach me how? Best Regards.
Hi, I cannot start the Strategy Tester because there is no Start button. Pls see the attached JPG. Where am I wrong? Thanks in advance, Janos
Hi, I don't know whether this one is possible : Let's say our EA is doing trading operations on the M15 chart. Can we check for example the 200MA price & direction on the D1 within the EA, knowing it is working on the M15
Hi, I would like to know if I can use two Ea on the same graph and I think the answer is no. Right? So I wonder why I use one Ea that opens and closes orders according to certain rules, can I use another Ea on another chart to manage the trailing stop
Hello, I'm trying to build an EA that do some stuff, i need to put an editable textbox on the chart and use the value of this textbox as a LOT in my orders. thank you for you help
Hi everyone, Before I go off down a blind alley can anyone give me any guidance on how best to control MT5 strategy tester from python then get the optimisation results back into python. I see you can run MT5 using the command line which will work but interested to hear if anyone has done this
Hello How can I assign custom indicator's final value to a variable and use it in my EA. e.g. I want to get an ATR value and assign it to my stoploss variable? How can I assign
I use this trading setup in paper trading, can you help me to back test it. Open a buy position when the third candle is up the moving average . complete candel short when the third complete candel is down.... close the position when the first open candel is down or up the moving average. help me
I have the following results table. I'm not sure which one to prefer. My testing was done on a 500 euros account. The first row has the most profit in forward testing, but the backtest is at a small loss. The third raw has profit in both forward and backtest but it has a low sharpe ratio. The eight
Hi, is it possible to have OnTradeTransaction() in Service? I have a service that buys and sells (with TP and SP, and I don't need to attached it to a chart ), but I am not able to check how the position was closed. It should have the same behaviour OnTradeTransaction() has in EAs (even if it is
In the documentation, it's said that MT5 caches optimization results for each testing parameters such as period in order to not repeat them. https://www.metatrader5.com/en/terminal/help/algotrading/strategy_optimization What if my "to date" is today's date? Is it still cached and not retested
Hi, I need help to open order buy/sell every 10 seconds based on the difference between current price and price from 10 seconds back. Thanks
  Migration failed  (10)
Hey, I have a bunch of EA´s running on my 8 MQL VPS´s and one of them stopped working. I´ve tried migrating it again and I keep getting an error message that sais " migration failure, check the platform log". That has been going on since Saturday night and there is no way around it. I´ve tried
Hi All, I've been going round in circles all day trying to figure this one out, so it is time to consult the blessed Forum masters. I have a break even function that is called when a position is open, but it's not functioning correctly. Here is the function code, all variables used are globals (bad
void OnTick (){ //+------------------------------------------------------------------+ //| Lógica para realização parcial e breakeven compra 1| //+------------------------------------------------------------------+ if ( PositionsTotal () == 1 && PositionGetInteger (
Hi Guys, I'm fairly new to MQL5 as a language having mainly been coding with python and associated languages in my day to day work but I'm trying to learn MQL5. I've been following a lot of the tutorials etc to get a general grasp on the language but I'm strugging with modifying the stop's on a
hi everyone i trying to find if a order closed with the hitting the TP in mql5 i see the DEAL_REASON_TP but i can not how i can use it ? I'm more looking an example for using it thanks
Hello Community, I have written an Expert Advisor on my home PC. I would like to have the inputs set by the strategy tester. For my VPS I created the project again in the MetaEditor, inserted the code there and compiled it. I use the same ".set" file for the Strategy Tester on my home PC and my VPS
I am not sure, if push notification requires the intermediate server (for example, with static IP address) to receive the message from our computer and to resend the message to our phone. My question is if this push notification can be slow down just like a website can slow down due to high incoming
Hello , After the windows update, I can no longer start the Geasy Rider on MT 4 and MT 5 on my computer. I no longer have a free license for a new installation. What can I do? Sincerely yours
I upgraded the window from PC. suddenly, it says again again that it can't upload the ea that I used after purchasing it. there was nothing download left. but, other ea can load. What's wrong? Check , please