ichimoku Span A values

 
HI, im looking for some help.. im not sure if its possible but though to ask the question... im trying to find  a way to get Senkou Span A highest and second highest values aswel as the times of those price level.in order to code into an indicator