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:
Features
Thanks to the BB Fibo strategy, you can:
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!
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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.