This is based on the bot found here. It isn't as smart as gunbot due to limitations of pinescript, but I am posting up for anyone using gunbot as it might help with finding good pairs to trade and good settings for those pairs as you can use this to backtest. Also, I am only guessing at some things that his strategy does, based off the instructions and examples he gave in this thread.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmıştır ve özgürce kullanabilirsiniz. Bir grafikte kullanmak için favorilerinize ekleyebilirsiniz. Kaynak kodunu görüntüleyemez veya değiştiremezsiniz.
Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.

Bu komut dosyasını bir grafikte kullanmak ister misiniz?