OPEN-SOURCE SCRIPT

SSL Channel BF

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

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal