龙听期货论坛's Archiver

龙听 发表于 2020-5-4 17:35

周间日交易法系统源码[金字塔模型]

模型策略源码:[code]
runmode:0;

if holding=0 then begin

if weekday=2 then

  buyshort(1,1,limitr,open);

end

if holding<0 then begin

sellshort(1,1,limitr,close);

end

收益:(asset-30000)/30000,noaxis,colormagenta;

次数:totaltrade,linethick0;

胜率:percentwin,linethick0;

连亏:maxseqloss,linethick0;

连赢:maxseqwin,linethick0;
[/code]

页: [1]