Need help in my strategy

 

Hello everyone, I'm learning java nad want to write strategy for jforex platform, I downloaded simple strategy from dukascopy forum and I'm testing it. But I have one problem, this strategy opens new orders when it reaches stop loss but opens order in the same price as it was previous order. If someone knows java and strategy coding please kust tell me how to add price list to this code to make strategy open different orders. I want it to open orders with the list I give it. Here is the strategy link: https://www.dukascopy.com/wiki/files/SimpleTpSlStrategy.java

Reason: