【!optimize by Sharpe ratio!】
[code]input: Period(0); {0=monthly, 1=daily}
if LastBarOnChart_s then begin
value1 = SharpeRatio(Period, InterestRate, LastBarOnChart_s, InitialCapital);
SetCustomFitnessValue(value1);
end;
[/code]
页:
[1]
C + + 版 量 化 | 微信: QQ: |