OPEN-SOURCE SCRIPT

SSL Channel BF

已更新
SSL Channel Close is a great all-rounder based on 2 Simple Moving Averages, one of recent Highs, one of recent Lows.

The calculation prints a channel on the chart consisting of 2 lines.
This strategy gives a Long signal when price closes above the top of these 2 lines and a Short signal when it closes below the bottom.

Trading in choppy sideways markets can compound losses so we avoid that here by using recent ATR to determine relative volatility and refrain from trading when the background is White.

We use a basic 3% stop loss.

Charted on XBT/USD Bitmex Daily chart.

INSTRUCTIONS
  • Green = long
  • Red = short
  • White Background= No trade


The way I have set this strategy up is that if we get stopped out but we are still in a green or red background, we re-enter. Closing the trade only occurs on an opposing signal or if we get stopped out.
發行說明
Removed ROC function, changed SL to 1% fixed and enabled "recalc after every order".
發行說明
After realising that "recalc after order" seems to enter at the best possible point and appears inaccurate, rolling back to previous version. Re-added ROC, SL back to 3%
發行說明
Included commissions for taker positions in Bitmex and changed the ROC settings.
發行說明
Small changes
Simple Moving Average (SMA)SSLsslchannel

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明