QuantNomad

Fibonacci Bollinger Bands Strategy [QuantNomad]

QuantNomad Updated   
This strategy is modified Stanard Bollinger Bands Strategy. Instead of using standard deviation, I use a metric of how big is the range for the last X bars. Also, I’m using Fibonacci levels as multipliers for BB.

In this strategy you have a choice of 3 different Trailing Stop Loss types:

  • Standard % – standard percent based TSL
  • Fibonacci Level – close your position on another Fibonacci level or basis line of BB.
  • Parabolic SAR – Parabolic SAR adapted as trailing stop loss.

For Standard % and Parabolic SAR, you can use the “TSL Offset” parameter to set an initial offset for trailing stop loss.

Parameters

  • BB Length – Bolinger Bands Length
  • Fib Entry Level – Entry BB Multiplier level. Can be one of Fibonacci levels: 0.236, 0.382, 0.5, 0.618, 0.786, 1.000
  • Trailing SL Type – Type of Trailing Stop Loss used to close positions. Can be one of 3 types: “Standard %”, “Fibonacci Level”, “Parabolic SAR”
  • TSL Offset (%) – Initial offset for TSL. Applicable to “Standard %” and “Parabolic SAR”
  • TSL Fib Level – Fibonacci level used for “Fibonacci level” type of TSL
  • TSL PSAR Start / Increment / Maximum – parameters for PSAR type of TSL.
  • Strategy side – you can choose the side of the strategy. You can require strategy to go only Long, Short to Both sides.
  • From/To Day/Month/Year – you can use these parameters to set backtesting range to check the performance of your strategy on a specific range

It's a pro indicator, you can have access to it for a small fee. Link to my PRO indicators you can find in my signature.



Disclaimer

Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.


Release Notes:
Small adjustments to the inputs styling.
Strategy catches recent moves in crypto pretty nicely.
Performance is displayed for investing 20% with 0.1% commissions
Release Notes:
Updating strategy to v5, adding Take Profit feature.
Release Notes:
code cleaning

My First Live Course: qntly.com/101
Pine Programming v5: qntly.com/pineprog
Adv.Pine Use-Cases: qntly.com/advpine

Hire Me: qntly.com/hirepine
Telegram: qntly.com/tel
Invite-only script

Access to this script is restricted to users authorized by the author and usually requires payment. You can add it to your favorites, but you will only be able to use it after requesting permission and obtaining it from its author. Contact QuantNomad for more information, or follow the author's instructions below.

TradingView does not suggest paying for a script and using it unless you 100% trust its author and understand how the script works. In many cases you can find a good open-source alternative for free in our Community Scripts.

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.

Author's instructions

To request access to this indicator, follow this link: qntly.com/fbb

Want to use this script on a chart?

Warning: please read before requesting access.