I'm running an automated strategy and rather than going for a fixed or a trailing Stop Profit, I'd like to pin it to a Moving Average. Example:
The strategy enters a long position at the price of 950. The 50 SMA is at 970 at this time, ie the Stop Profit is 970 as well. 30 minutes later, the 50 SMA is at 965 and the market is at 965 as well, ie the market has hit the 50 SMA and this must trigger the Stop Profit. How can such a dynamic Stop Profit be developed?
Thanks.
Comment