if oscValue < 0 and difValue > difValue[1] then begin
setposition(1);
end
else if oscValue > 0 and difValue < difValue[1] then begin
setposition(0);
end;
if oscValue > 0 and difValue < difValue[1] then begin
setposition(-1);
end
else if oscValue < 0 and difValue > difValue[1] then begin
setposition(0);
end;
請教前輩,此寫法回測無空單紀錄,是否哪個步驟寫錯請指教 感謝
5 評論