OPEN-SOURCE SCRIPT
Jomy's Gyroscopic Bands

Price above white line? Long it. Price below white line? Short it. Tuned to XBTUSD on BitMEX. 12h chart. The bands aren't really needed, but you can also choose to long if the price goes above the band, and short if the price goes below the band. If used on other cryptos you should probably tinker with vara (variable a) until you get a respectable result, as that makes a huge difference when dealing with different prices.
How does it work? I send a particle into the chart, which moves towards the price level like a moon around a planet. It swings around the price like a sine wave . I find the average gyration distance for the last x bars, and plot them like Bollinger Bands around the particle's trajectory from a point x bars ago. This system seems to produce fewer whipsaw trades than classical EMAs.
Just like Bollinger bands, you can expect a big move if the bands tighten for a period of time.
Feel free to tinker with this, and if you get some amazing backtests, please share.
How does it work? I send a particle into the chart, which moves towards the price level like a moon around a planet. It swings around the price like a sine wave . I find the average gyration distance for the last x bars, and plot them like Bollinger Bands around the particle's trajectory from a point x bars ago. This system seems to produce fewer whipsaw trades than classical EMAs.
Just like Bollinger bands, you can expect a big move if the bands tighten for a period of time.
Feel free to tinker with this, and if you get some amazing backtests, please share.
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.