Below is a link to MyFXBook for an EA I have developed based on the 3 Ducks strategy. I don’t have a take profit set and my stoploss is a trailing stop and is calculted by adding 1 to the daily value of the DeMarker (14) indicator, and multiplying it to the daily ATR (14). All trades stay open for 24hours and after 24hours, if the price has moved opposite any of the SMAs then the trade will close. Otherwise if the pair is still trending after 24hours, the stoploss is set to trail the 5SMA plus\minus the spread.