I need to reset 4 variables 1 time per bar, but the bar is updated by tick.Is it possible in MC.NET?
I have found something similar in MC forum:
Code: Select all
var:
Intrabarpersist playonce(0);
if condition = true
and playonce <> currentbar then
begin
playonce = currentbar;
{-- put your alert here --}
end;
Thank you a lot
mirek