PROTECTED SOURCE SCRIPT

Golden Cross Strategy with Trend Filter

Mis à jour
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.
Notes de version

・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%以上変動した場合に急激な変動と判断します。この条件を満たした場合、現在のポジションをクローズして利益確定します。

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

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

Script protégé

Ce script est publié en code source fermé et vous pouvez l'utiliser librement. Vous pouvez le préférer pour l'utiliser sur un graphique. Vous ne pouvez pas visualiser ou modifier son code source.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité