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.
Catatan Rilis
⋅
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.
Thanks for update, is it for 5 minutes timeframe? why my test result is different & 13% return and 5% drawdown?
TOPCLASS2024
⋅
BTCPER NOT?
thinhbtc300929719
⋅
How to connect with 3commas ?
Cherepanov_V
⋅
@thinhbtc300929719, follow the instructions on 3commas and change the code on strings 393,396. You should edit bot_id and email_token on your own in the comment parameter.