Session Levels Predictor

Jan 30, 2024

Static chart image
Price Action Based
Support and Resistance
Forecasting
Time Based
Works on the following platforms:
tradingviewSymbolTradingView
For free use on the TradingView platform
ninjatraderNinjaTrader
For free use on the NinjaTrader platform
metatrader4MetaTrader 4
For free use on the MetaTrader 4 platform
metatrader5MetaTrader 5
For free use on the MetaTrader 5 platform
thinkorswimThinkorswim
For free use on the Thinkorswim platform

The "Session Levels Predictor" is a powerful trading indicator designed to forecast maximum and minimum price levels during a user-defined trading session. It provides valuable insights for setting take profit and stop loss levels by offering a visual representation of expected price extremities. By displaying hit rate percentages, traders can evaluate the accuracy of the predicted levels, making it an essential tool for effective trade management.

How to Trade with the Session Levels Predictor

Session Levels Predictor

The Session Levels Predictor enables traders to estimate expected highs and lows within their defined session, which is crucial for setting strategic take profits and stop losses. With projections displayed at the session's start, traders can gain clarity on potential price movements within the given timeframe, enhancing their trading strategy.

Session Visualization

Up to three upper and lower extrema can be visualized on the trading chart, providing a detailed insight into market dynamics. Traders have the flexibility to adjust these levels based on their individualized percentile settings—the closer the percentile is to 100, the more distant these levels will appear from the session's opening price.

Dynamic Level Prediction

By effectively predicting these levels, traders identify robust support and resistance zones, crucial for breakout and reversal strategies. Furthermore, these levels can persist beyond the session timeframe, offering usefulness as potential support or resistance zones for subsequent sessions.

Insights into Prediction Mechanics

For accurate predictions, the indicator records the distance between session peaks and the opening price. This data-driven approach allows traders to spot where maximum and minimum occurrences align within a session's lifecycle.

Employing the percentile_nearest_rank() function, the indicator draws price levels from the session's opening snapshot. If these levels are reached, the event is logged for future accuracy assessments.

Hit Rate Statistics

Session Analysis

The indicator further illustrates a percentage-based hit rate at session openings—an informative statistic, guiding traders on the probability of these levels being achieved within forthcoming sessions.

Probability Visual

Level Achievement

Understanding array.percentile_nearest_rank()

The array.percentile_nearest_rank() function is pivotal, providing values where a specified percentage of array entries (percentile score) falls under or meets a criterion, all via the nearest-rank calculation.

For contextual clarity, invoking a 75th percentile from captured data—relating to the gap between peak session levels and the open price—pinpoints a threshold where 75% of the distances fall below.

Percentile Illustration

The same applies to lower (green) session openings—providing traders a comprehensive view.

Session Opener

Configuring the Session Levels Predictor

  • Session: Define your session's timeframe, with local timezone awareness to better align with trade objectives.
  • Percentile (Levels 1-3): Configurable percentiles which assist in setting the distance of projected levels, where higher percentiles increase the projection distance.
  • Max Population: Determines the sample size within which percentiles are calculated, influencing the precision of level predictions.

Enhancing Trade Visuals

  • Extend Middle Line: A toggle feature to prolong the visibility of the blue middle line into subsequent sessions, although disabled by default.

Frequently Asked Questions (FAQ)

What is the Session Levels Predictor, and how can it improve my trading strategy? The Session Levels Predictor forecasts the maximum and minimum levels during user-defined trading sessions, assisting in determining take profit and stop loss zones.

How does the hit rate percentage assist me as a trader? It facilitates a statistical view of how often expected levels are met during a trading session, refining strategy accuracy.

How can I access the Session Levels Predictor? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

Trading is risky and many will lose money in connection with trading activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other markets involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools for charting platforms, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content or tool we provide.

Charts used on this site are by TradingView in which the majority of our tools are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com. TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2025 LuxAlgo Global, LLC.