Max and Min from dinamic variable

 

I use acurrelation indicator that show me every tick the difference price from two currency pair. so according this info that are constantly changing I need to store from a indicator

the max value. I alread search here but no one info about how to handle it....

I alread use MathMax but not work