Forum

Programming touch variable in the averages

I would like to create a variable that when it touches the moving average has the value of 1 and after it performs an operation it becomes 0 and only allows new operations when it is worth 1 (touches the average)