How to determine the value of an indicator at the time of a specific event?

 

For example, I need to know the value of Parabolic SAR (PSAR) when it is below price so that later, when PSAR is above price and x number of bars are formed, I can compare the current price to the PSAR value stored. 

In the image below I used a red arrow to show the last PSAR value before it switches to being above Price. That is the value that I want to store in order to know when price moves above or below that stored value (shown by the yellow line) several bars after PSAR switches above Price. 

I have code for the EA that i'm working on but the code would not be useful as I've only created PSAR and Price but I honestly have no idea how to even start solving this problem. 

I don't want code I just want a link to documentation that can give me ideas. 

Anything helps, thanks in advance!!!


 
Add another psar and change the step in properties
 
Erfan Falah:
Add another psar and change the step in properties
thank you for your reply. I am quite familiar with changing the step properties of an indicator but I don’t see how that would solve the problem. it seems as though I would still have the same problem but with two separate indicators. would you mind explaining a little further please?
Reason: