i have tried to use this function:
Code: Select all
if (LastBarOnChart_s = True) then begin
buyReferencePrice = insidebid;
sellReferencePrice = insideask;
RecalcLastBarAfter(0.1);
end;
is really possible to ask MC to recalculate the strategy each second?
maybe sintax is different and RecalcLastBarAfter(0.1) should be ad begin of code?
thank you