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 לקבלת מידע נוסף, או עקוב אחר הוראות המחבר בהמשך.

TradingView אינה מציעה לשלם עבור סקריפט ולהשתמש בו עד ש- 100 % אתה סומך על המחבר שלו ומבין איך עובד הסקריפט. במקרים רבים ניתן למצוא למצוא חלופה טובה עם קוד פתוח בחינם ב בסקריפטי הקהילה שלנו.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

הוראות המחבר

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

רוצה להשתמש בסקריפ זה בגרף?

אזהרה: אנא קרא את לפני שתבקש גישה.