Expert Advisors and Automated Trading - page 19

without closing any trades. I am a beginner in Mql 5 but I have general understanding of programming in JavaScript and Database programming. Thank you for your help
Hello, I would like to know if it's possible to open a blank chart with no symbol in MT5? I'd like to run an EA on it to control other chart EAs. Any help is appreciated
Boys...this is a big one ! suppose i have multiple EAs running on separate charts and currency pairs (for e.g EA1 : USDJPY, EA2: EURUSD, EA3: AUDCAD) ..... in the event that two (or more) EAs want to open a new position, only one EA should be allowed to open a position based on a pre-defined
Hello, is anyone also experienced some missing tabs in the manager? There is no mql5 cloud network and scheduler tab
  Using named pipes  (15   1 2)
Hi, I'm trying to use this article https://www.mql5.com/en/articles/115 to create a named pipe, but it is not working. Actually the problem happens when I try to create it. Here's the simplified code: cnamedpipes_simple.mqh: //+------------------------------------------------------------------+ //|
Hi! I coded a script where the conditionals analyse both daily and one minute time frames, the one conditionals for one day time frame is to buy when the calculations return a value > 0.5 and to sell when the calculations return a value of < -0.5. When trading yesterday on a demo account, my script
I want to simulate deposits and withdrawals in MT5's backtest. Is there a way to add deposits and withdrawals during backtesting
Hello everyone, I'm currently working on a robot, and I have to say that I'm confused by the issue I'm facing. Let me explain: The robot works perfectly during backtests, there are no, and I know it, "out of range" errors, no division by zero , no infinite loops. Similarly, the #property strict is
I developed an EA on an indicator I purchased. I want to sell this EA. However, can those who download the demo automatically download this indicator as a demo? If the indicator is updated, it may not work correctly in EA. Can you give me an idea about this? I am thinking of warning those who
  Strategy tester  (2)
Hi guy I've seeing on the strategy tester the EA that just created on the tester it on taking buy trades only but when using on demo account it's executed both order buy and sell it that possible but on the tester no sell position but if I put sl it shows sell trades but it not profit on the
Hello, I'm using z-order in ea for trading buttons but every time I change timeframe it seems that object order is messed up and buttons are still behind other elements in my chart
Is there anyway I can detect a new stable version of the client metatrader is available? I'd like my EA notify me when the Live Update has found a new build and it's requesting to be installed. I had issues in the past where I failed to notice a new build available hence failed to install it and it
Hi guys, i keep getting an AttributeError with my code, does anyone know how to fix it, it has got be stumped. Get the last tick for the Crypto is Error but Currency cross is Ok! My code in attachment file. Any support would be great
Hey, everyone could anyone help me and explain the difference between 1 minute OHLC and the every thick backtest, because I have a great and fantastic results in the 1 OHLC modeling even if is a long term backtest, and in the opposite on the other modeling a weak results and negative results? How it
I use an expert advisor on a rented VPS. Is it necessary that 'Algo Trading' is enabled in MT5 on my personal computer? I read somewhere that an EA on a VPS is always active, regardless if algo trading is enabled of disabled. Is this true? If I enable algo trading on my personal computer, could my
Hello everyone, I’m working on an Expert Advisor in MQL5 and I’d like to add a feature where the user can select a predefined set of parameters from a dropdown input. Here’s what I’m trying to achieve: Current Setup I have three parameters in my EA: int Parameter1; int Parameter2; int Parameter3;
Hi! I created a script that is able to update one minute calculations every one minute. It is a multi time frame EA that uses both a daily and one minute time frame. The daily time frame updates but the one minute time frame doesn't update when using a demo live account trading. When using the
Hello everyone. I am trying to update my trading bot but i have theses errors : The thing is, my bot is specialized for AUDCAD. How can I bypass this error? Thank you. Hugo
Hi! I ran my EA on my laptop and the MT5 software shutdown but the laptop was still running. Is there a way to check using the trace and log files if my EA script submitted a trade before the shutdown of the MT5 desktop application? I was trading on a [name] demo account
Hello guys, I want to make an expert which checks if a position was closed by the stoploss. As soon as a position is closed by a stoploss I want to be noticed by an Alert. What is the best way to do this? Would you check the order-history with every tick or is it the better way to use OnTrade() or
When including the header <Generic\ArrayList.mqh> I have encountered an array out of range in 'Introsort.mqh' I had to replicate that error using this script: #include <Generic\ArrayList.mqh> int test_array[]; void OnStart () { int size = 1 e7; // 10 millions ArrayResize (test_array, size);
the condition is when below 200 moving average sell only when above moving average buy only when the yellow signal appear take profit if touch yellow band put stop loss above support and resistance level
Please help me what could cause subjected error while running the strategy tester
Hi! when I use the strategy back tester to test a EA, the back test tab doesn't show. Does anyone know what causes this
I'm new here, can anyone help me get rid of this error in the code. thanks Nathan
Dear experienced traders What is the 2 price in visualize test chart? Is that ask and Bid? Does slippage included? Is that possible to check slippage in back test? Thank you in advance and best wishes, Sky
  ea setting help  (4)
Hi All I'm new to forex trading I brought a moving average cross ea to help scalp on the 15min time frame I set stoploss at 15 pips and take profit at 30 but when a trade is open the stoploss is at 150pips and take profit is at 300pips i have tried entering the amounts in deferent ways in the ea ie
  Read and parse an html page  (25   1 2 3)
Does anyone have experience with reading and parsing an HTML page starting with < meta charset= utf -8> to save the table rows in a csv-file. I try to open the already downloaded, local files with int fHdl = FileOpen (fHTML, FILE_READ | FILE_BIN | FILE_ANSI | FILE_COMMON ); This in the sense the the
For science I decided to run the MetaTester 5 Agents Manager on my 9654 EPYC, but it will only run 32 sessions max when this chip has 96 physical cores and 192GB of memory. I did manage to get it to show 64 sessions after a reboot and when I check the program it seems half the sessions are
Hi everyone and happy New year. I have A Trading robot for me (called EA1), it works well in Some specific time range. I only have the execution file (.ex5). I do not have its script (.mq5) I would like to ask you if there is a way like an EA, code, etc. in mql5 to disable autotrading when The