INVITE-ONLY SCRIPT
Updated

Infinity Algo

20 429
Release Notes:
Renamed "Dark Indicator" to "Infinity Algo"
Added possible Long/Short coming + Alerts (beta) + History
Added dynamic Take Profits and Stop Loss
Added option to view only Long or Short Trades
Default Leverage changed to 50x
Release Notes
Bux Fix
Release Notes
Fixes
Release Notes
Bug Fixes
Added Beta Take Profits
Release Notes
Added more options to take profits.
Changes to text
Bux Fixes
Release Notes
Bug fix
Release Notes
Fixed reverse trading
Changed Colors
New ribbon and channel bands
Release Notes
Added new Alerts
New Bar Coloring Based on Signal Strenght
New Background Coloring
Order Blocks with Breaks and Exits
Release Notes
Small Fix
Release Notes
-New Smart and Normal Signals option. (You can still use "4" with "Next Signals Must be Opposite," and you will get the same results as with the older version.)
-New Filter for ranging market
-New menu


⚠️Remove the old script and reload the script from invite-only scripts again to get a new version.
📝Docs will be updated in the near future.
👾You can contact us regarding bugs.
Release Notes
-Fixed bug where live chart did not show new generated signals
-Adjusted plotshapes sizing


⚠️Remove the old script and reload the script from invite-only scripts again to get a new version.
📝Docs will be updated in the near future.
👾You can contact us regarding bugs.

Release Notes
Infinity Algo V3.0 - Patch Notes / Changes from V2.0

This update represents a significant evolution from V2.0, introducing powerful new adaptive capabilities and refining existing features.

🚀 Major Updates & New Features:
Pine Script V6 Update: The script has been migrated to Pine Script version 6, leveraging the latest features and potential performance improvements of the platform.

🧠 AI Optimization Engine (Major Addition):

Adaptive Signals: Introduced a new "AI" signal mode (Show Signals Type input). When selected, the indicator dynamically adapts its core parameters based on machine learning analysis of recent market conditions.
Parameter Simulation: The AI engine continuously simulates hundreds of configurations for the primary momentum oscillator (Sensitivity, Upper/Lower Thresholds) on historical data.
Performance Evaluation: Each simulated configuration is scored based on a user-selectable metric (e.g., "Profit Factor \* Sqrt(Trades)", "Win Rate", "Average Profit"). Dedicated AI simulation TP/SL percentages are used for this evaluation.
Volatility Clustering (K-Means): Configurations are automatically grouped (clustered) based on their performance scores. These clusters typically align with different market volatility regimes (Low, Medium, High).
Dynamic Selection: The indicator identifies the current volatility regime and selects the best-performing configuration from the corresponding cluster (with sufficient simulated trades).
Real-time Threshold Adjustment: The selected AI thresholds are further fine-tuned based on immediate volatility fluctuations.
AI Dashboard: An optional on-chart dashboard displays the parameters (Sensitivity, Winrate, Thresholds, Trade Count) of the currently active AI configuration.
New AI Inputs: Added a dedicated 🧠 AI Clustering section in settings to control the AI engine (Enable, Update Frequency, Sensitivity Range, Dashboard, Performance Metric, Simulation TP/SL).

🧹 Removed Features (Moved to New Indicator, Now rolling):
Order Blocks / Buy Sell Zones: The functionality for identifying and displaying Order Blocks (Buy/Sell Zones) has been removed.
Keltner Channel Bands: The optional Keltner Channel visualization has been removed.
Take Profit Exit: Simplified the inputs.

✨ Refinements & Improvements:
Signal Type Input: Changed Show Signals from a number (1-4) to a descriptive dropdown string (Normal + Smart, Normal Only, Smart Only, Regular, AI) for better usability.
Global Settings & Themes:
Consolidated Text Color, Text Size, Color Theme, and Precision inputs into a single "Global Settings" group for better organization.
Introduced a wide array of predefined Color Themes (Default, Dark, High Contrast, Colorblind, Neon Teal, Infinity, etc.) that apply consistent coloring across indicator elements, replacing the simple Bull/Bear color inputs.
TP/SL/Entry Visualization: Changed the plotting style for Take Profit, Stop Loss, and Entry Price levels from individual circles to cleaner dotted lines with associated text labels, which extend forward from the entry bar. Old lines/labels are now correctly deleted when a new position starts.
TP Hit Plotting: Implemented a more efficient system to detect and plot Take Profit hits using small circles, reducing the number of plotshape calls.
"Possible Trade" Indicator: Refined the visual indicator for potential upcoming trades, now using an emoji (➕) and clearer text formatting.

🔔 Alerts:
Added new alert conditions specifically for the "AI" Buy/Sell signals.
Improved Take Profit alert conditions to correctly trigger based on the refined TP hit detection logic when using 'Percentage' exits.
Removed alerts related to Order Blocks.
Code Structure: General code refactoring and organization improvements, including better commenting and grouping of related logic (especially the new AI sections).


We are currently updating the documentation

Note: Bugs may appear
Release Notes
Possible hotfix found for bar time error
Release Notes
Infinity Algo V3.0 - Update Notes

This update focuses on a significant overhaul of the AI engine for more robust performance, the introduction of a brand-new signal mode, and several key usability improvements.

🚀 Major Updates & New Features
  • New "HL Sniper" Signal Mode:



  • The old "Regular" signal type has been replaced with the new, more advanced HL Sniper mode.


  • Completely Overhauled AI Engine:


  • Advanced Performance Simulation:

The AI's back-testing engine has been rebuilt from the ground up. It now runs a more realistic simulation, accounting for Stop Loss, Take Profit, and opposite-signal exits to score each configuration. This provides a far more accurate evaluation of a strategy's true historical performance.

  • Simplified & More Robust AI Selection:

The AI no longer separates strategies into volatility clusters. Instead, it now analyzes all simulated configurations and selects the single best-performing strategy overall, making its choice more direct and reliable.

  • Stable AI Parameters:
Once the best strategy is identified, the AI now uses its parameters (Sensitivity, Thresholds) directly without the previous real-time volatility adjustments. This results in more stable and predictable signal behavior.

Redesigned AI Dashboard:

  • The dashboard has been revamped to display more meaningful, at-a-glance performance data.


  • It now includes leveraged PnL projections (both in % and $), using the script's Leverage input and a simulated starting capital.


  • The "Sim. Metric Val" field has been removed and replaced with the active Leverage setting for better clarity.



✨ Refinements & Improvements
  • Granular Sensitivity Control:

  • The main Sensitivity input now accepts decimal values (e.g., 18.1, 18.5), allowing for finer control over the oscillator's period.

  • Customizable Thresholds:

  • Added Upper Threshold and Lower Threshold inputs. Users can now directly adjust the RSI levels required to trigger buy and sell signals, offering greater control over sensitivity.


  • Removed Ranging Market Filter:

The experimental Ranging Market Filter (Beta) toggle has been removed to simplify settings and focus on the more advanced AI and HL Sniper modes.

  • Cleaner Chart Interface:


  • The redundant "Show Buy/Sell Signals?" toggle has been removed.


  • When a Take Profit level is hit, its price label is now hidden along with the line, preventing chart clutter during an open trade.


  • Consistent Theming:

  • The AI Dashboard text color is now correctly synced with the Global Text Color setting.


❗ Important: How to Update ❗
To ensure you have the latest version, you must remove the existing indicator from your chart and re-add it from the "Invite-Only Scripts" section.

If you require access or have any issues, please feel free to contact us.
Release Notes
Bug Fix: The Sensitivity input step has been corrected to 1 from 0.1 to align with its intended use.
Release Notes
🚀New Alerts

Stop Loss Hit Alerts:

We've added two new alert conditions:
  • 2.2 Stop Loss Long Hit
  • 2.3 Stop Loss Short Hit


You can now create alerts to be notified the instant your Stop Loss level is triggered.

✨ Improvements & Bug Fixes
  • Alert System Overhaul: All alert conditions have been re-structured and re-numbered sequentially for clarity and ease of use. This cleanup includes removing redundant combined alerts and adding back individual Buy/Sell - Normal and Buy/Sell - Smart alerts for more granular control.
  • Corrected "Possible Coming" Signal Logic: Fixed a critical bug where the "Possible Long/Short Coming" alerts would trigger incorrectly when using the AI or HL Sniper signal modes. These pre-signal warnings are now correctly restricted to only the RSI-based modes (Normal & Smart).



❗ Important: How to Update ❗
To ensure you have the latest version, you must remove the existing indicator from your chart and re-add it from the "Invite-Only Scripts" section.

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.