Expert Advisors and Automated Trading - page 255

Hello, I have several broker accounts, one on MT4, one on MT5 and planning to open another one on MT5. The reason I have many is so that I can run each one with their own Expert Advisor and partition/split my risk - If one EA blows up an account, it won't affect the other ones. I have about 3 VPS
Hey Guys, my issue is the following: I have an EA which has to send out messages via Telegram. If i put him on the chart he does everything right, sends the message out if specific paramters are valid. But if some candles go by and then its again valid, he doesnt send out a message, although he
I'm scouting for an EA to take a trade on the Moving Average of my choice in the time frame of my choice. Also, one that would close a trade upon a MA crossover. An alternative would be to send an alert upon crossing a moving average on a designated time frame. Thanks for any input
Hello everyone, If I have a signal on MQL5.com, can I publish it on other signals pages or is it prohibited? Thanks
  Backtest Modes  (4)
Hello everyone, I am looking for different types of EA. What is the best mode to backtest EA with scalping strategies? 1min OHLC, every tick or based on real ticks? Thanks
  return function  (3)
hi all does the return function go up just one level or all the way to the very top root (ontick) for ex if you have 5 nested loops/ifs, if the 5th one hits a return, will it go back to the ontick or just to the 4th level loop? tnks
  Simple EA not working  (11   1 2)
Hello all, I looked on past posts here and elsewhere, tried, tried and tried but still I am stuck. Can anyone lend a hand? I simply want to write a basic EA that works. This is my code: #include <Trade\PositionInfo.mqh> #include <Trade\SymbolInfo.mqh> #include <Trade\OrderInfo.mqh> #include
Hello all I looked on past posts here and elsewhere, tried, tried and tried but still I am stuck. Can anyone lend a hand? I want to change NaN values with zero. This is simply my code: double a= 5 ; double b= 0 ; double c=a/b; if ( MathIsValidNumber (c)) c=c;
Hello everyone, I have 2 different EAs. Each uses own MTLicenseLib.ex4 File. But now I want to use both EAs in one account. In the "Libraries" folder the MTLicenseLib.ex4 is always queried when the EA starts. Copying the second one and renaming it would not help. What can I do to use the two
I'm trying to get my Expert Advisor to take the amount of recent loser, but add let's say $20 to obtain some level of profit. At this time its breaking even, which isn't a bad thing after a losing trade. But I'd like to see if I can push it further. Here is my code for the MM part: if (lastLot> 0 &&
Hello Guys I want my EA to open only one trade per day. I do not know what code to use.Please help me if you know.،Thanks aLot
Hi, I'm new to automated trading and all these coding stuff. I just learned about parameter optimization. For a long time I've been dreaming of some function like this, and today I just learned MT5 has it built in it. As I think, this is just an ultimate tool. So because not everyone is already
I am trying to follow this article https://www.mql5.com/en/articles/4917 He is setting the optimized parameters as global variables. But how do I use them in my EA? I can't set input parameters to global variables because they require a constant. And if I cancel all the inputs and just make them
I have written an EA to trade using candlestick patterns and I'm mainly testing it on the 4 hour timeframe . Using historical data, the majority of all trades are executed at the expected times - 08:00, 12:00, 16:00, 20:00 But for some reason, there are a significant number of trades at 19:00 I have
I am sure that it is not my fault. The file is normal. I have been notified that the verification has been passed and I can apply for the release of this product , but the release button does not appear. Trying other browsers does not work too. How to solve this problem? Looking forward to your
//+------------------------------------------------------------------+ //| NLT2.mq5 | //| Copyright 2020, MetaQuotes Software Corp. | //| https://www.mql5.com |
My VPS shows that it’s running, but when I try and sync my Signals, Experts and Charts it says “failed to migrate” The last time I was able to successfully synchronise was 06 Nov 2020. Any assistance will be great appreciated! 🙏
Can anyone help, why I am unable to migrate and start my VPS. Before renewing my VPS, it was working. Have tried to reinstall MT5 and EA. Any help will be greatly appreciated
I really confuse in some conditions,EA cannot load indicator parameters. In usual,iCustom function can put indicator parameters and can edit in external variables. but some indicators parameters ,cannot load by EA. It make hang tester. Do you know why? Please suggest some solutions
Hi there I would like to load settings from a diferrent advisor running in the same account, how this could be done
Does anyone know of any EA that has Breakeven and Partial Take Profit? Example (Initial Lots 0.05) when I reach TP1 (20 Pips) he does Breakeven and partially closes 0.02 lots, then when he reaches TP2 closes 0.02 lots and when he reaches TP3 closes the remaining 0.01 lotes , for MT4
Hi all, I use a script to to calculate the liquidity volume on chart and draw trend line on chart based on price, time and volume. Script itself work fine when drop it into chart, i have included this script in EA as a Function and call the function on every new bar. On the first run of this
  Errorhandling in MQL5  (19   1 2)
Hello, is there any way to catch an error? Since there is no try..catch mechanism in mql5, a program will crash upon creating an error. This seems to be a major design flaw in the mql5 language. Once the program detects an error it knows it will deliberately crash. One can try to miminize damage...
Hi, Looking for a code of a simple Martingale function EA with manual entries : Setting : 1-Direction of trade : Buy or Sell 2-lot size entered 3-Gap no of pips : X pips 4-No of lots to be added each X price move upside Thanks
[Deleted]
Hello Guys, I'm developing some EA for myself and realize one detail: Example: When I run my EA with 100 EUR, some profit trade gives me 0.50 cents, ok! When I run again my EA, but with 1000 EUR, the same profit trade give me the same 0.50 cents. I want to know what should I do in the programing to
Hi everybody! Is there a way to code 1 EA Martingale with a pip step by Fibo sequence number? for example starting is 8-13-21-34
I need to open a file as SHAREDREAD that running on another EA. I can't understand why is possible yo open it by Ecel or other app, and not by another EA. Is there a way to make that? Is possible to open a file as Read Only
Hello Guys, I want a algorithm which trades periods of time. It should open a Trade on every 26th of a month except on January&Juli. And close this Trade on every 5th Month of next. with no Stoploss. I came so far.. //////////////////////////////// #include<Trade\Trade.mqh> CTrade trade; void OnTick
Hi, Does anyone know the logic behind the SYMBOL_SPREAD in MT4 and MT5? When checking its return value in MT4 and MT5 its different results on exact same symbol in the same period. In MT4 it seems like its a fixed value but in MT5 it seems to be the the "real" spread which is changing accordingly
Has there been any study about the best strategies to optimize? Right now I'm asking myself if it's best to test over a long period of time (a few months) or to re-test once a day over a short period of a couple of weeks. Testing over a short period will give the most profit per day, but the