Cherepanov_V

"Buy signal" from Cipher B for 3commas

Cherepanov_V Updated   
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.


Release Notes:
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.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?