Skip to main content

Set Lorentzian Classification History, Neighbors, and Model Inputs

These controls affect the distance comparison, available history, neighbor selection, and exit display in Lorentzian Classification Premium. Start with the defaults in your installed version and record them before experimenting. The original open-source indicator does not expose every Premium training control.

Interactive Settings Explorer​

Use the information buttons to explore each setting. This documentation sandbox does not run the classifier, save a preset, or change TradingView. Its displayed values are examples; read the defaults from your installed version.

Lorentzian Classification settings example

Documentation example. Changes stay on this page and do not update TradingView or calculate signals. Check your installed version for current labels, defaults, and available controls.

🔧 GENERAL SETTINGS

Setting Help

Select a setting to view its help information

Detailed Settings Reference​

ControlWhat to inspect
Reduce Price-Time WarpingSwitches the distance comparison toward Euclidean geometry. This is a mathematical choice, not automatic detection of news or physical market curvature.
SourceChooses the price series used by the relevant calculations. It does not replace every enabled feature with that price.
Neighbors CountChanges how many selected historical labels contribute to the vote. More neighbors are not automatically more accurate.
Max Bars BackChanges the historical comparison scope and computational work. It is not a guarantee of sufficient training data.
Show Default ExitsControls whether exit crosses are drawn. A displayed exit is an indicator event, not a broker fill.
Use Dynamic ExitsUses kernel-based exit conditions where compatible. Enhanced kernel smoothing disables this mode in Premium v3.1.
Reset FactorAdjusts the distance threshold used while maintaining the neighbor collection. It is not a market-regime reset timer.
Use DownsamplingChanges the historical candidate sampling. Compare both runtime and signals; it can change the result.
Include Full HistoryExtends the available comparison history. Earlier versions use the label “Use Remote Fractals”; this does not mean a remote server or a higher-timeframe data feed.

Max Bars Back does not download more TradingView data. The script can compare only the history actually available to it, subject to its implementation and platform limits. A longer comparison scope can change the candidate set and execution time without adding independent evidence.

Verify the Exit Mode​

Check Use Dynamic Exits together with Enhance Kernel Smoothing, which AI Edge Optimizer calls Use Kernel Smoothing. In Premium v3.1, smoothing forces strict four-bar exit logic even when dynamic exits are selected. The original open-source script also restricts dynamic exits when its EMA or SMA filter is enabled. These version-specific rules should not be assumed identical.

Show Default Exits controls the exit crosses. Hiding the crosses does not disable entry or exit alert conditions. When evaluating exits, use the relevant condition and check the alert snapshot, rather than relying on marker visibility.

Calibration Statistics​

Show Trade Stats exposes the indicator's calibration summary, titled Calibration Panel on the chart in Premium v3.1. It includes no fees, slippage, or position sizing. Use Worst Case Estimates prices that summary's trades at each bar's Source value (the close by default), as if you waited for the bar to close, instead of at an estimated mid-bar price. It does not make the classifier produce fewer false signals. “Worst case” is the name of an estimation mode, not a bound on real-world losses.

In Premium v3.1, the summary's Sharpe Ratio and Sortino Ratio come from the chart symbol's monthly price returns, not from the indicator's trades. Changing features, neighbors, or filters does not change them; Use Worst Case Estimates and Source can, because they choose the price that is measured.

To evaluate a strategy, use a backtest that states its entry, exit, cost, and fill rules. Keep those rules the same when you compare settings. The Optimizer scores a signal at bar close, without fees or position sizing, so its scores compare settings with each other; they are not expected profit. See core concepts and your first Optimizer study.

A Controlled Comparison​

Record your baseline symbol, timeframe, history, and version. Change Neighbors Count alone, inspect which vote labels and events change, then restore it. Repeat with a history control. Changing several controls together makes it harder to identify the cause of a difference. There is no universal preset for “safe” trading or profitable scalping.