問題如標題 全部都使用1分K回測
input:ratio(5,"幅度");
if barfreq<>"min"then return;
if getfield("收盤價","D")[2] <= getfield("收盤價","D")[3] *(1-0.01*ratio )
and value3 <= value3 [2]
and value4 [1] >= 1000000000
then begin
if time >=0915
and value5 <= getfield("最高價","D")* (1-0.01*ratio)
then ret = 1 ;
end;
2 評論