OPEN-SOURCE SCRIPT
Atualizado

"Buy signal" from Cipher B for 3commas

7978
This is another modification for cipher B indicator from VuManChu. I also would like to acknowledge "The Art of Trading" channel in youtube for their mastery pine script course.

This script is designed to send alerts to 3commas platform. In strategy.entry in comment option, you can incorporate your token for your bot.

The buy signal accomplishes only when BTC is above simple moving average (SMA).
When BTC crosses down SMA, any position closes immediately.

The parameters were tuned for this particular plot.


Notas de Lançamento
To make it safer I added local trend filter, so position will be opened after "buy signal" from cipher B only when both BTC and pair of interest uptrending. Local trend filter defined as sma function (length=20, timeframe=1H). I modified cancel all function and add the checkbox this option, so your position can be closed if price cross down the sma curve, reflected as yellow on the plot.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.