OPEN-SOURCE SCRIPT
Cập nhật Bollinger Bands (Log Scale)

📈 Bollinger Bands on log scale are broken.
Many traders use log charts for better price symmetry—but still apply Bollinger Bands calculated on linear price. That mismatch creates distorted signals.
Here’s what I found:
- Standard deviation becomes misleading on log scale
- Band width no longer reflects true volatility
- Breakout signals lose behavioral clarity
🛠 So I rewrote the logic.
My version calculates Bollinger Bands using log(price) for both mean and deviation, then maps the result back to price. It behaves correctly on log charts and aligns better with behavioral scoring.
Many traders use log charts for better price symmetry—but still apply Bollinger Bands calculated on linear price. That mismatch creates distorted signals.
Here’s what I found:
- Standard deviation becomes misleading on log scale
- Band width no longer reflects true volatility
- Breakout signals lose behavioral clarity
🛠 So I rewrote the logic.
My version calculates Bollinger Bands using log(price) for both mean and deviation, then maps the result back to price. It behaves correctly on log charts and aligns better with behavioral scoring.
Phát hành các Ghi chú
📈 Bollinger Bands on log scale are broken. Many traders use log charts for better price symmetry—but still apply Bollinger Bands calculated on linear price. That mismatch creates distorted signals.
Here’s what I found:
- Standard deviation becomes misleading on log scale
- Band width no longer reflects true volatility
- Breakout signals lose behavioral clarity
🛠 So I rewrote the logic.
My version calculates Bollinger Bands using log(price) for both mean and deviation, then maps the result back to price. It behaves correctly on log charts and aligns better with behavioral scoring.
Phát hành các Ghi chú
📈 Bollinger Bands on log scale are broken. Many traders use log charts for better price symmetry—but still apply Bollinger Bands calculated on linear price. That mismatch creates distorted signals.
Here’s what I found:
- Standard deviation becomes misleading on log scale
- Band width no longer reflects true volatility
- Breakout signals lose behavioral clarity
🛠 So I rewrote the logic.
My version calculates Bollinger Bands using log(price) for both mean and deviation, then maps the result back to price. It behaves correctly on log charts and aligns better with behavioral scoring.
If you value structure, trust, and iterative growth, follow me @LucasLearnTrade on X.com
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.