거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Telegram에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
당사 팬 페이지에 가입하십시오
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
- 조회수:
- 3960
- 평가:
- 게시됨:
- 2023.10.21 21:33
-
이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동
Use this simplest class to read CSV file with out any preparations and types casting declarations.
Find the shortest usage example below.
string Filename = "filename.csv"; CDKSimplestCSVReader CSVFile; // Create class object // Read file pass FILE_ANSI for ANSI files or another flag for another codepage. // Give values separator and flag of 1sr line header in the file if (CSVFile.ReadCSV(Filename, FILE_ANSI, ";", true)) { PrintFormat("Successfully read %d lines from CSV file with %d columns: %s", CSVFile.RowCount(), // Return data lines count without header CSVFile.ColumnCount(), // Return columns count from 1st line of the file Filename); // Print all columns of the file from 1st line for (int i = 0; i < CSVFile.ColumnCount(); i++) { PrintFormat(" Column Index=#%d; Name=%s", i, CSVFile.GetColumn(i)); } // Print values from all rows for (int i = 0; i < CSVFile.RowCount(); i++) { PrintFormat("Row %d: Value by column name: CSVFile.GetValue(i, ""Time"")=%s", i, CSVFile.GetValue(i, "Time")); // Get value from i line by column name PrintFormat("Row %d: Value by column index: CSVFile.GetValue(i, 0)=%s", i, CSVFile.GetValue(i, 0)); // Get value from i line by column index } } else PrintFormat("Error reading CSV file or file has now any rows: %s", Filename);
![MT5 CCI with shift parameter](https://c.mql5.com/i/code/indicator.png)
The default CCI in MT5 doesn't have the shift parameter. This script implements the shift.
![Smooth Algorithms - Corrected/Modified - library for MetaTrader 5](https://c.mql5.com/i/code/library.png)
Smooth Algorithms fixed version plus Trade Algorithms plus full operational EA, plus two indicators . So you will get complete project where you be able to see example how to use and implement this libraries
![Keltner Channel code for beginners by William210](https://c.mql5.com/i/code/indicator.png)
Keltner Channel for traders or young developers by William210
![Donchian Channel for beginners by William210](https://c.mql5.com/i/code/indicator.png)
Donchian Channel for traders or young developers by William210