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.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.