OPEN-SOURCE SCRIPT
Sneeze Projection

Along a range of historical price values, this script draws a line from each previous price to the current price and moves the line so it begins at the current price instead of ending at it. The resulting polar array of lines which projects potential price trajectories into the future in a pattern which resembles a sneeze can be used as a visual aid to help anticipate future price direction. Sinus pressure can be adjusted to consider a lesser or greater historical range than the default which is 100 bars and the sneeze trajectory length will reflect the adjustments. I could not get the sneeze lines to be the exact lengths they should be due to type casting difficulties when scaling future delta x to be the same length as past delta x, but they're close enough.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.