roger_taum wrote:
Thank you for the clarification. I hope it is implemented soon:)
When you have your strategy Visual JForex ready, if you want you can hack the generated java code using the editor in jforex platform very carefully:
This explanation won't be enough if you have no experience coding but the essential is this:
Find the the stop loss block(s) that you want to change in the code and there you'll see something similar to this:
argument_1.setStopLossPrice(stopLoss);
Then you can modify the line to set the BID or ASK side as you wish modifying like this:
argument_1.setStopLossPrice(stopLoss, OfferSide.BID);
Or like this:
argument_1.setStopLossPrice(stopLoss, OfferSide.ASK);
Then you have to compile the code and test it very carefully with the backtest module and use a demo account to confirm that works properly.
Remember, use this information at your own risk!
Cheers
Francisco
(Edited for correction)