OPEN-SOURCE SCRIPT

SSL Channel BF

Mis à jour
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.
Notes de version
Removed ROC function, changed SL to 1% fixed and enabled "recalc after every order".
Notes de version
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%
Notes de version
Included commissions for taker positions in Bitmex and changed the ROC settings.
Notes de version
Small changes
Simple Moving Average (SMA)SSLsslchannel

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité