Entry for Long Position: Enter a long position only when the 5SMA crosses above the 25SMA and the current price is above the 75SMA.
Entry for Short Position: Enter a short position only when the 5SMA crosses below the 25SMA and the current price is below the 75SMA.
Exit Position: Hold the long position until a short signal is generated, and hold the short position until a long signal is generated.
By using the 75SMA to confirm the trend direction and taking positions only in alignment with that trend, you can enhance trading accuracy and potentially improve the profit factor.
Added Features:
Detection of Sudden Movements: A sudden movement is detected when the closing price of the current candlestick changes by 2% or more compared to the previous candlestick. When this condition is met, the current position is closed to secure profits.
Re-entry: If the original entry conditions are met again, a re-entry will be executed.