Opens a long position if the PB line (the red line in the oscillator) crossover the low of the band, the zero line or the top of the band. If the PB line makes a crossunder in the top of the band, the zero line or the bottom of the band it closes the long position and immediately opens a short position.
Also, the PB value must be higher than 5 candles before if it is a long position and PB must be lower than 5 candles before to open a short position
I got the BandPass Script from tradingview.com/u/everget/ and made some changes in the configs to adapt the strategy.
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 publications is governed by House rules. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.
Bu komut dosyasını bir grafikte kullanmak ister misiniz?
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.