Expert Advisors and Automated Trading - page 109

Hi guyz, Please I'm new to Mql5 language, I wrote a comment line, but while running the backtester the comment is not available. If the EA is placed on the actual chart, the comment shows. Is this an mql5 thing, i don't experience such with mql4, and i need the comment to always get more info about
i am thinking of buying a robot on the market of mql5 can any one give me advice of how to setup a demo so i can test before i buy
As a newbie, I want EA to open maximum of three positions each with a difference of 100 point when condition is met. Anyone who could help us with a general idea, which will help us all thank you
hello dear programmers!! Can someone program an Ea for Metatrader 4 from a Trading View indicator
hi my friends I wrote an expert that works well and has no errors and I checked it in the backtest But when I want to put the codes in the base code section, I get an error Can anyone help
I have been currently testing my EA with difffernt brokers to gather data. However I got this weird error: [ market closed ] With metatrader demo, it was working fine. Below was for Oanda demo, but I had the same with Vantage demo as well. Build version 3550. For extra info I did create the demo
I am trying to make my EA based on the Fractals sample form the Indicator-->Examples folder. Here is the code that I tried: #include<Trade\Trade.mqh> CTrade trade; void OnTick () { int test = iCustom ( _Symbol , _Period , "Examples\\Fractals" ); MqlRates rates_price[]; if (rates_price.high ==
Good day All! I am trying to create a method to check if trading is allowed, if the trading context is busy, if the symbol has restrictions (long only/short only), etc. Here is what I came up with, I am wondering if anyone would have some suggestions concerning other Account/Symbol related prechecks
Hi! For an EA I use a custom indicator with iCustom. It works fine so far. But for the strategy I need to change the indicators parameters at some point of time. I can get a new indicatorhandel with iCustom(...) with the new indicator settings. this works fine too. But then I will have two...
  EA
<Deleted> <ex5 file Deleted > Moderator's note: If you want to discuss your EA in the forum, you must attach the source code
  disable trading  (5)
Hi everyone , I trade using a trade assistant EA and wondered if it is possible to restrict trading on my account / EA once 1 position is opened not allowing me to open further positions until it is closed ? Kind regards
how can i solve this problem. When backtesting an expert I received this error message in the log C:\Users\MARG\AppData\Roaming\MetaQuotes\Terminal\BB16F565FAAA6B23A20C26C49416FF05\MQL5\Indicators\Indicators\Examples\CustomMACD.ex5 open error [3]
Building artificial intelligence in MetaQuotes involves developing algorithms that can learn from data and make predictions or decisions based on that data. In order to build AI in MetaQuotes, you will need to have a solid understanding of machine learning, programming, and the MetaQuotes
how to specify the number of decimal places that should be kept after performing operations with data of type double
I place pending orders on a certain price level, however sometimes these pending orders are close to the live price which (I think) causes the pending order to be invalid. How can I fix this problem
So I have been testing a Expert advisor for a bit. I was using metaquotes demo as it was the most convenient. However now I am switching to other brokers. For the first I tried switching to Forex.com demo. However the data I get seems to be confusing. Strategy tester is build 3550, using Every tick
Hi, i am writing an ea based on the zigzag indicator. I dont understand what happens here but for some reason, sometimes price is zero and date = 1970 , I do check the buffer if its empty to zero //+------------------------------------------------------------------+ //| searching for candle lows &
Hello fellow programmers, first of all thanks for reading. I have a dilemma, the thing is that I use the "Only Open Prices" modeling in the strategy tester and in the optimizer for more speed. The issue is that since I can only use temporalities that are non-multiple timeframes as it says in this
Hi, first time asking here, thanks in advance. As the title implies I am looking for a script/function to account trade deals as "net lots" or "net position" per symbol, while working in a MT5 Hedging account. One good thing about this requirement is that its a conversion for complex to simple (as
I want to hedge but my ea will only open trades both(buy & sell) at the same instead of 10 pips. please help if you know the problem #property copyright "Copyright 2022, MetaQuotes Ltd." #property link "https://www.mql5.com" #property version "1.00" #property strict #include
I have loop with variable begin date-time, what move to the future time ... Example: totalTicks = numpy.array([]) while True: utcBegan += timedelta(hour= 4 ) ticks = mt5.copy_ticks_range( Symbol , utcYearBegan, utcYearEnd, mt5. COPY_TICKS_ALL ) totalTicks += ticks or
hi, can anyone help with the inputs of my purchased EA. its not making profits
[Deleted]
DoesWebRequest works in backtest
if using agents or multiple cores for optimising parameters, more than one year. Mt5 generates \tester\Agent*\temp\bar*.tmp files. every run. It slowly gnaw/nibble SSD storage. In mt4 read only fxt files was a solution. How about mt5 ? if using multiple cores,mt5 generates files for every local
Hello, Greeting, I want to change a number according to the changes in the prices of ask and bid. It means that, for example, for every two point change in each of these two ask and bid prices, my number changes by one point, just like what happens in the trail of a position. Can you tell which
Hi, my broker has mini lots forex 0.01 while for indices 0.1. Doing an expert test on GBPUSD 0.01 and 0.1 profits correspond to lot size. With indices the results are huge, as if it were a whole lot. Who has this happened to and what could be the problem? I can't test the indexes correctly thank
i am getting this error during verification 2020.02 . 03 00 : 02 : 30 current account state: Balance: 1.00 , Credit: 0.00 , Commission: 0.00 , Accumulated: 0.00 , Assets: 0.00 , Liabilities: 0.00 , Equity 1.00 , Margin: 0.00 , FreeMargin: 1.00 2020.02 . 03 00 : 02 : 30 calculated account state
Hello I was wondering if spreads were taken into account when backtesting in Metatrader 5