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.