OPEN-SOURCE SCRIPT
Infinity Signal MA Cross Forecast

Infinity Signal MA Cross Forecast is an advanced moving average forecasting and signal confirmation tool built around the relationship between a moving average and its previous value, MA versus MA[1].
The indicator combines real-time MA cross detection, confirmation signals, forward projection modeling, projected crossover forecasting, and adaptive projection inversion into a single chart overlay.
Core Features
• Adjustable Moving Average Length
• MA and MA[1] Cross Detection
• Raw Buy and Sell Cross Markers
• Buy and Sell Confirmation Signals
• Forward Projection Engine
• Potential Buy and Potential Sell Forecast Balloons
• Projected Cross Vertical Markers
• Auto-Flip Projection Technology
• Manual Projection Flip Option
• Ghost Projection Comparison Mode
• Alignment Status Table
• Projection Direction Reporting
• Customizable Colors and Signal Sizes
• TradingView Alert Support
How the Projection Works
The projection engine clones a historical MA pattern and shifts it forward into the future. The projected MA and projected MA[1] are then analyzed for future crossover opportunities.
Potential Buy and Potential Sell balloons appear at projected crossover locations, allowing traders to visualize possible future signal timing before a cross occurs.
Auto-Flip Projection
One of the unique features of this script is Auto-Flip Projection.
When the projected historical pattern disagrees with the current MA direction, the indicator can automatically invert the projection to better align with current market behavior.
Users may also manually flip the projection and compare the flipped version against the original projection using Ghost Projection mode.
Recommended Projection Settings
The projection engine is designed around a one-hundred-twenty-two-day market cycle.
For best results, use the following Pattern Start Bars Back settings:
Timeframe Pattern Start Bars Back
1 Hour 2,928
2 Hour 1,464
4 Hour 732
6 Hour 488
8 Hour 366
12 Hour 244
1 Day 122
Pattern End Bars Back is typically set approximately twenty bars less than Pattern Start Bars Back, although users are encouraged to experiment with alternative settings.
Notes
This script is designed as a forecasting and market structure visualization tool. Projected signals are estimates derived from historical MA behavior and should not be interpreted as guarantees of future market direction.
Always perform your own analysis and risk management before making trading decisions.
The indicator combines real-time MA cross detection, confirmation signals, forward projection modeling, projected crossover forecasting, and adaptive projection inversion into a single chart overlay.
Core Features
• Adjustable Moving Average Length
• MA and MA[1] Cross Detection
• Raw Buy and Sell Cross Markers
• Buy and Sell Confirmation Signals
• Forward Projection Engine
• Potential Buy and Potential Sell Forecast Balloons
• Projected Cross Vertical Markers
• Auto-Flip Projection Technology
• Manual Projection Flip Option
• Ghost Projection Comparison Mode
• Alignment Status Table
• Projection Direction Reporting
• Customizable Colors and Signal Sizes
• TradingView Alert Support
How the Projection Works
The projection engine clones a historical MA pattern and shifts it forward into the future. The projected MA and projected MA[1] are then analyzed for future crossover opportunities.
Potential Buy and Potential Sell balloons appear at projected crossover locations, allowing traders to visualize possible future signal timing before a cross occurs.
Auto-Flip Projection
One of the unique features of this script is Auto-Flip Projection.
When the projected historical pattern disagrees with the current MA direction, the indicator can automatically invert the projection to better align with current market behavior.
Users may also manually flip the projection and compare the flipped version against the original projection using Ghost Projection mode.
Recommended Projection Settings
The projection engine is designed around a one-hundred-twenty-two-day market cycle.
For best results, use the following Pattern Start Bars Back settings:
Timeframe Pattern Start Bars Back
1 Hour 2,928
2 Hour 1,464
4 Hour 732
6 Hour 488
8 Hour 366
12 Hour 244
1 Day 122
Pattern End Bars Back is typically set approximately twenty bars less than Pattern Start Bars Back, although users are encouraged to experiment with alternative settings.
Notes
This script is designed as a forecasting and market structure visualization tool. Projected signals are estimates derived from historical MA behavior and should not be interpreted as guarantees of future market direction.
Always perform your own analysis and risk management before making trading decisions.
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.
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.
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.