거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Twitter에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
스크립트

Save OHLCV Data from Chart to CSV File - MetaTrader 5용 스크립트

조회수:
3052
평가:
(5)
게시됨:
2024.08.20 20:17
업데이트됨:
2024.11.02 06:39
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The standard method of getting historical data in metatrader5 is to use "View>Symbols>Request" tool as shown in the picture below:

Request Historical Data

However, this sometimes doesn't return all the data available on the chart.

This script saves all the available historical data to a CSV file located in "Files" folder inside the "Common Data Path" directory.

Note: Make sure "Max bars in chart" is set to "Unlimited" in 'Tools>Options>Charts' (see the picture below).

Max bars on chart


Custom Bid Ask lines Custom Bid Ask lines

A customized bid and ask line which is labelled and clear to help visualize the bid and ask prices

Arbitrage Triangle EURGBP-EURUSD-GBPUSD Arbitrage Triangle EURGBP-EURUSD-GBPUSD

The EA identifies discrepancies between theoretical and actual currency exchange rates to execute risk-minimized trading opportunities.

HiLo HiLo

High and Low Line Indicator

Logging Class for both MQL4 and MQL5 Logging Class for both MQL4 and MQL5

The CDebugLogger class is a flexible and comprehensive logging utility designed for use in MQL4/5 environments. It allows developers to log messages at various levels of importance (INFO, WARNING, ERROR, DEBUG) with options to include timestamps, function signatures, file names, and line numbers in the log entries. The class supports logging to both the console and files, with the ability to save logs in a common folder and in CSV format. Additionally, it offers functionality to silence logs based on specific keywords, ensuring that sensitive information is not logged. This class is ideal for developers looking to implement robust logging mechanisms in their MQL4/5 applications, with customizable features that cater to a wide range of debugging and monitoring needs.