Suraj Rohira / Publications
Forum
Strategy Tester Spread
Hi, I currently have an EA that opens and closes positions based on some indicators. The problem I am having is that when testing it on the Strategy Tester , when openingn a position (for example a buy order) if the price is 1.08931 it buys it at a price of 1.08946 (for example). I get that this is
Receive requests infinitely in EA
Hi, I am making an EA that communicates with a C# application using sockets (w/ the help of ZeroMQ), I am using a publisher socket to publish the candle data on each new candle, which is working fine. However, I would like to also, have a response socket that is constantly waiting to receive
Wrong Datetime interval being downloaded
Hi, I have a script that downloads market data using the Bars() CopyRates() functions, the start and end time are converted from a string to datetime , so for example if I want to download market data from 2020 until 2023 I will write something like this: " 2020.01.01 00:00" "2023.01.01 00:00" and
Download Market Data through API?
Hi! I am slightly new in MetaTrader5, and I wanted to know if it is possible to download market data using an API. I am currently doing it manually using the desktop app, but I wanted to know if it can be done through a script or something. More specifically I am interested in downloading the bars