Forum

Is it possible to launch a .vbs using command in mql5 ?

I just try with a classic ShellExecuteW(NULL,"open","C:\\Users\\name\\Desktop\\loul\\LauncherPushB.vbs",NULL,NULL,1); command and it doesn't do anything I think it's related to admin rights or something , i'm trying to run a "exe" file , that press a "B" keyboard touch. it works when i launch the

Is it possible to "copy orders" from mt5 to tradingview ?

Is there a pretty easy way to copy trades took from mt5 on a broker to tradingview with another broker

Size of Order Book , hole in tab ? , [programmation for future contracts]

Hello, I actually have some questions about the "book" variable in MQL5 (If we declare MqlBookInfo book[] for example). I was programming some Experts for @MES future contract (Micro E mini S&P 500). My broker was only offering me the informations about volume from book[0] to book[19] So 0 was

Can a EA catch Swap data historic ?

Hi, When trying to get the swap long of a CFD's in the past(3 months ago) , the expert returns to me the actual value of the swap (which means , i don't varies with time and remain the same for my EA); Is it a problem coming from my broker or is it a data that cannot be find in the past ? (I'm

Optimization and DOM

Hi , I've understood that it is impossible to backtest a strategy on strategy tester using Depth of Market because brokers don't offers enough data to do it (correct me if i'm wrong) , my question is , how can we deal with that problem , to benchtest and optimize a strategy based on order book

Would MT5 support two processors for optimization ?

Hi, As said in the title , I would be curious to know if mt5 would recognize and be able to use two processors (like 2 * intel xeon as example , seems the most common for dual processor config,) for optimization ? It may not be that useful because 1 better processor could be as powerful ,and as a

Genetic optimization mode automatically turning on...

Hi, I was trying to optimize my expert advisor. I was surprise to see the results i got were absolutely nonsense (the optimization results were showing no case could bring profit despite the fact i know a parameter that should be tested is making profit). So i noticed the optimization was "stopping

Using Opencl for optimization

Hi, I have read this topic https://www.mql5.com/en/articles/690#NVidia that deals with using OPENCL to use gpu for computations , However , it has been written in 2013 , so i guess supported hardware is not up to date, My graphic card is a RTX 2060 , i have downloaded latest drivers but mt5 do not

Simples questions about mql5

Hello, I'm pretty new with this programming language , I've searched answers to my questions on the internet but couldn't find very clear answers; 1) Is the ontick function launching at every tick ? Basically , if i want to count number of ticks that appears as a example, i would simple have to do

About optimisation

Hi all and thanks for reading, I have some questions about optimisation and mt4 : Firstly how do you guys can run optimisation of a ea for time like a year ? I have like a pretty good computer and even like 2 weeks optimisation is pretty long (idk like 15,20min , depends of the optimisation) , so