QuantNomad

Fibonacci Bollinger Bands Strategy [QuantNomad]

QuantNomad 已更新   
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.


版本注释:
Small adjustments to the inputs styling.
Strategy catches recent moves in crypto pretty nicely.
Performance is displayed for investing 20% with 0.1% commissions
版本注释:
Updating strategy to v5, adding Take Profit feature.
版本注释:
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
仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请与QuantNomad联系以获取更多信息,或按照以下作者的说明进行操作。

在您100%信任脚本作者并了解脚本的工作原理之前,TradingView不建议您购买脚本并使用它。在很多情况下,您可以在我们的公共指标库中免费找到一个不错的开源替代品。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

作者的说明

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

想在图表上使用此脚本?

警告:请阅读,然后再请求访问权限。