found new buy signals emerge. That is why I would solve such a problem using an exit loop. See code below. If this can be solved using array calculations only I woud not know how, regards, Ed procedure buySell_proc(BuyXX,sellStopProfit,sellStopLoss,initPer) { global BuyAdjusted; global...