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.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。