Mql5官网 Direct export to matlab mt4 外汇EA

Mql5官网 Direct export to matlab mt4 外汇EA-EA侦探社 - 全球领先的MQL5官网外汇EA机器人MT4自动化交易EA资源免费分享网站
Mql5官网 Direct export to matlab mt4 外汇EA
此内容为免费资源,请登录后查看
0积分
免费资源

如果免费资源下载的文件为TXT文档

请联系站长更新!站长微信:Lv596999  Telegram:@eapoj

“Mql5官网”板块的EA基本都有,大部分是无限制NODLL版,NODLL版本MT1420升级,大多数不可用!这些EA来源为国外花钱买过来的

有需要,请联系站长!

“EA测评”板块资源全部现有,看见不错的,可以联系站长看EA在确定是否收费

“无限制EA”板块,大部分免费,下载文件全部存在,都可以免费下载

站长硬盘EA太多,因大部分时间做交易,做风控,没太多时间更新下载地址,请谅解!

需要更新下载文件,请联系站长微信!国外朋友请联系Telegram。


Use this script to export the price history to MATLAB mat files from any chart. Optionally, a CSV file can be created. This script allows easily creating and verifying your trading strategy in MATLAB, for example, statistical arbitrage or pairs trading strategies.

Input parameters

  • startDT: start export from this date and time. Can be ‘1970.01.01 00:00:00’ to start from the first available date and time.
  • endDT: the last date and time in the file. Can be ‘1970.01.01 00:00:00’ to export until the most recent available date and time.
  • tryDownloadHistory: try to download history if there is no corresponding history in the terminal.
  • writeCSV: create CSV file as well.

Then simply open the created mat file in MATLAB. Variable name created in MATLAB corresponds to exported symbol name and timeframe. If there are special symbols in the instrument name, then they are replaced with “_”.

The resulting variable has a matrix structure, where the columns are values of the corresponding parameters below:

Matlab serial date number(datenum), Open, High, Low, Close, Tick volume, Spread, Real volume.

To simplify access to corresponding time series scalar, index variables are created: itime, iopen, ihigh, ilow, iclose, itick_volume, ireal_volume. For example, they can be used to plot the chart of Close price relative to time in MATLAB (assuming EURUSD_M1 is the corresponding variable):

plot(datetime(EURUSD_M1(:, itime),’ConvertFrom’,’datenum’)), EURUSD_M1(:, iclose));

The format of CSV file is: Date, Time, Open, High, Low, Close, Tick volume, Spread, Real volume.

© 版权声明
THE END
喜欢就支持一下吧
点赞52 分享