Forums ProRealTime English forum ProOrder support Entry, Stop Loss and Profit Target coding question Reply To: Entry, Stop Loss and Profit Target coding question

#95406

Hi Nicolas,

Thanks for your comment.

Meanwhile I’ve been reading in various posts about Stop Losses and it’s surprising how difficult it seems to implement in PRT code what seems like a simple one step stop loss adjustment.

So far I haven’t found any solution for how to code my Stop loss change to breakeven + 1 pip profit.

Stop Loss: When Entry – 2x AverageTrueRange(14) is reached, move Stop Loss to Entry – 1pip.  (meaning 1 pip in profit)

The question is how do you capture or code the moment of entry and then tell PRT to move the stop loss in the desired way?

 

Any feedback is highly appreciated.

Thank you.

Sascha