MetaTrader 5 Python User Group - как использовать Python в Метатрейдере - страница 65
Вы упускаете торговые возможности:
- Бесплатные приложения для трейдинга
- 8 000+ сигналов для копирования
- Экономические новости для анализа финансовых рынков
Регистрация
Вход
Вы принимаете политику сайта и условия использования
Если у вас нет учетной записи, зарегистрируйтесь
Обновил до версии 2432.
Но ошибка всё равно остаётся..
Уже перепробовал на разных брокерах даже..
copy_rates_from не предоставляет достаточно данных на таймфрейме M1.
Это правильный курс действий?
copy_rates_range не предоставляет достаточно данных на таймфрейме M1.
Это правильный курс действий?
Pay attention at Note on copy rates range
Note
See the CopyRates() function for more information.
MetaTrader 5 terminal provides bars only within a history available to a user on charts. The number of bars available to users is set in the "Max. bars in chart" parameter.
When creating the 'datetime' object, Python uses the local time zone, while MetaTrader 5 stores tick and bar open time in UTC time zone (without the shift). Therefore, 'datetime' should be created in UTC time for executing functions that use time. Data received from the MetaTrader 5 terminal has UTC time.
Pay attention at Note on copy rates range
There is a bug in copy rates. I posted this several times but nobody has acknowledged it.
I have a script that ran for a few hours. but then I start getting these errors, Invalid_Stops, and then it does not open anymore trades.
Can anybody please help direct where to start looking for this issue?
Thank you
I have a script that ran for a few hours. but then I start getting these errors, Invalid_Stops, and then it does not open anymore trades.
Can anybody please help direct where to start looking for this issue?
Thank you
А какие были текущие цены (Bid и Ask)? Какой был уровень заморозки (SYMBOL_TRADE_FREEZE_LEVEL)?