Hi, my name is Pascal and i'm new on the forum.
I'm actually developping my own strategy and i would like to know if it is possible to add a 'wait' like-funtion in my ExtUpdate(id, source, period) function of my strategy strategy?
For example i want to test the ask price NOW with a delayed ask price:
local Cw1 = instance.ask[instance.ask:size() - 1];
if (Cw1 < MaxValue) then
wait(5000);
local Cw2 = instance.ask[instance.ask:size() - 1];
if (Cw2 > Cw1) then
...
end
end
Is it possible to do such thing in a strategy working in fixed time frame m15?
I use 2 indicators in m15,
their values are updated only every 15 minutes ?
Thank you very much for your precious help !