OPEN-SOURCE SCRIPT

Bollinger Bands Fibonacci Ratios Strategy

Hello, everyone!

We have just released an innovative strategy for TradingView. It allows you to identify price pivot points and volatility.


This strategy is:
  • User-friendly

  • Configurable

  • Equipped with Bollinger Bands and smoothed ATR to measure volatility




Features

Thanks to the BB Fibo strategy, you can:

  • Trade stocks and commodities.

  • Identify price pivot points.

  • Choose any band for trading Long or Short positions.

  • Swap upper and lower bands applying Use Reverse Buy/Sell parameters.



Note! The upper bands are for the Long position. The lower bands are for the Short positions.


Parameters

We have equipped our strategy with more than 14 additional parameters. So, you can configure the EA according to your needs!

  • Inputs:
  • Length

  • Source: Open, High, Low, Close, HL2, HLC3, OHLC4

  • Offset

  • Fibonacci Ratio 1 — a Fibonacci factor for the 1st upper and lower indicator lines calculating.

  • Fibonacci Ratio 2 — a Fibonacci factor for the 2nd upper and lower indicator lines calculating.

  • Fibonacci Ratio 3 — a Fibonacci factor for the 3d upper and lower indicator lines calculating.

  • Use Reverse Buy — the strategy will use lower Bollinger bands instead of upper ones.

  • Fibonacci Buy — band selection for opening Long positions conditions.

  • Use Reverse Sell — the strategy will use upper Bollinger bands instead of lower ones.

  • Fibonacci Sell — band selection for opening Short positions conditions.
    • Style:
    • Basis — baseline color and style settings.

    • Upper 3 — the 3d upper line color and style.

    • Upper 2 — the 2nd upper line color and style.

    • Upper 1 — the 1st upper line color and style.

    • Lower 1 — the 1st lower line color and style.

    • Lower 2 — the 2nd lower line color and style.

    • Lower 3 — the 3d upper line color and style.

    • Background — the background color within the 3d upper and 3d lower indicator band.

    • Precision — the number of decimals for BB Fibo values.


      Note! Try BB Fibo on your demo account first before going live.


BBbbandbollingerbandstrategybollingersbandTrend AnalysisVolatilityvolatilityindicator

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian