There are no instructions like in Amibroker don’t exist in the ProBuilder language. You can save the value and barindex when the event occurs in real time or make a loop in the past to find when it has occurred from the current bar. That’s how I proceed when converting programs from Amibroker.