Yep you are correct all the way MaxDoom, of coarse I will be checking through the first dimension to find out where the market is in relation to my array and will change sforth and i forth to slast and dlast lol you turned my double into an integer grrr just kidding, am so appreciative of your help, you have took the time to really understand what I am trying to do and gave genuine advice. Actually I may need to work with 4 variables dlastabove slastabove dlastbelow slastbelow, but you have the lines layed out of how I should get there. My next problem is getting the real picture if the price comes to a pivot hovers on it for a few hours bounces of then goes just outside move away value of say 25 pips then comes crashing back through and move on another 50 pips or so the more i think about this the more complicated it seems to get. That reminds me of when i used to keep moving my stop further away then got to a point where i thought well if it goes that far it will keep going, so leave it then price hit and say f you and changes direction, price has a way with words!