PROTECTED SOURCE SCRIPT

Golden Cross Strategy with Trend Filter

Updated
Here's the English translation:

**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.
Release Notes

・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.



・急激な変動の検知: ローソク足の終値が前のローソク足に比べて2%以上変動した場合に急激な変動と判断します。この条件を満たした場合、現在のポジションをクローズして利益確定します。

・再エントリー: 元々のエントリー条件が再び整った場合に再エントリーが行われます。
Release Notes

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.
Release Notes
BTCUSDT.P
Average Directional Index (ADX)Simple Moving Average (SMA)

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?

Disclaimer