小幫手好
下面交易策略,用日線做回測時,都會顯示不支援此欄位的頻率,程式碼改成周或月頻率也都不行,
交易模組跟雷達模組回測也都是同樣錯誤
請小幫手協助,謝謝
value1=average(GetsymbolField("tse.tw","融資維持率","D")[1],5)/100;
value2=average(GetsymbolField("tse.tw","融資維持率","D")[1],10)/100;
if position=0 and crossover(value1, value2)=true and currenttime=090000 then setposition(1);
if position=1 and filled=1 and crossunder(value1, value2)=true and currenttime=090000 then setposition(0);

1 評論