Hi peeps just a quick question with indicators

I use volume a hell of a lot in all of my forex trades. trouble is converting my system to a EA is harder then it seems

Basically what I am stuck on is grabbing the min / max range (vertical scale) off the indicators. is there an easy way to do this that anyone knows?

You see seeing if say momentum is lagging volume is harder then it seems as its comparing apples to oranges

I know I can scan back x amount of bars and retrieve it that way however I find that gives dubious results.