Forums › ProRealTime English forum › ProOrder support › Stop loss and take profit › Reply To: Stop loss and take profit
03/29/2018 at 7:40 AM
#66651
Topic moved to automatic trading forum.
Below is an example of how to set a stoploss on the Low of the previous candlestick, minus 2 points below it. With an adjusted takeprofit size calculated with the stoploss distance.
1 2 3 4 5 6 |
if not lononmarket and buycondition then buy 1 contract at market stoploss = close-(Low[1]-2*pointsize) set stop loss stoploss set target profit stoploss*1.5 endif |