資源簡介
該文件包含了一個(gè)簡單的matlab均線策略代碼以及數(shù)據(jù),具體可見我博客相應(yīng)內(nèi)容。

代碼片段和文件信息
close?all
clear
clc
%%?第一題腳本,主要在ma_strategy中
tic;
short?=?[1?2?5];
long?=?[20?50?150?200];
band?=?[0?0.01];
for?i=?1:length(short)
????for?j?=?1:length(long)
????????for?k?=?1:length(band)
????????????ma_strategy(short(i)long(j)band(k))
????????end
????end
end
toc
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件?????388058??2018-10-25?09:21??股票日度數(shù)據(jù).txt
?????文件????????293??2018-10-26?18:21??demo1.m
?????文件????????444??2018-10-26?18:28??loaddata.m
?????文件???????1339??2018-10-26?18:36??ma_strategy.m
?????文件????????273??2018-10-26?18:34??myma.m
-----------?---------??----------?-----??----
???????????????390407????????????????????5
評論
共有 條評論