Forum

How to get weekly data from MetaTrader 5 using python

ticks = mt5.copy_rates_range( 'WIN$N', mt5.TIMEFRAME_H1, datetime(2022, 2, 28), datetime(2022, 3, 4), ) I'm using the above script to get weekly data, but I'm getting an empty dataframe. In MetaTrader5 documentation there is nothing about Weekly data, someone knows how to get it

Get historical data from any stock

Hi guys, I'm new to this world of EA and automated trading. I would like to know if MT5 makes it possible to get historical data from any stock. I know that I can get historical data of cryptos using Binance API (as example) Buy if I want to get historical data about a stock? Can i get it without an