Good morning,
i have a piece of code for a strategy which has a moving profit target but a fixed stop loss.
i would like some help please that would keep the original target in place but in addition, add a parameter that when a different $profit is hit, the stop loss is moved to ensure i lock in a profit.
example: target profit is 20*AverageTrueRange[15](close)
however, if the trade is in profit say £150, then move the stop loss to £100 in profit and close trade on that pull back.
thanks in advance, hope the above makes sense