PSI SQUARE • case study • algorithmic trading

NinjaTrader 8 Session-Level Automated Trading Strategy

A custom NinjaTrader 8 automated strategy that dynamically calculates and plots Day Open, Session Range, Previous Day High/Low, and key reference zones — then executes breakout and reversal trades from those levels automatically with configurable risk management.

NinjaTrader 8C#Market StructureSession LevelsAutomation
THE CHALLENGE

The challenge

A prop trader needed a NinjaTrader 8 strategy that could dynamically calculate and plot critical session-based levels and execute trades from them automatically — replacing a fully manual process of marking levels each session and watching for breakouts by hand.

Key Project Constraints & Requirements

Dynamic Session Calculation

Must calculate and plot Day Open, Day Close, Session Range, and Previous Day High/Low in real time across session boundaries.

Dual Signal Execution Logic

Engineered to identify and execute both high-momentum breakout and mean-reverting reversal setups automatically.

Intraday Price Action Filters

Configurable volatility, spread, and time window filters to eliminate false breakouts and low-volume chop.

Precision Risk Management

Rule-based stop loss, profit targets, and dynamic position sizing adapted to session range expansion.

Zero Manual Chart Input

Replaces manual chart drawing with fully automated level calculation and strategy execution from market open.

THE SOLUTION

The solution

A custom NinjaTrader 8 automated trading strategy that dynamically calculates and plots all key market structure and session reference levels — Day Open, Day Close, Session Range, Previous Day High/Low, and user-defined reference zones. The system identifies high-probability breakout and reversal setups from those levels and executes trades with precise entry and exit logic. Configurable filters, full risk management controls, and adaptive conditions based on intraday price action are included.

Level Calculation

Dynamic Session Level Engine

Calculates and plots Day Open, Day Close, Session Range, PDH/PDL, and custom reference zones automatically on bar load and live tick updates.

Signal Logic

Breakout & Reversal Core

Evaluates real-time price action around session levels to trigger instant market or limit entries on confirmed breakout or rejection patterns.

Filter Engine

Adaptive Price Action Filter

Incorporates session timing filters and volatility envelopes to ensure entries are only generated under high-probability market conditions.

Risk Management

NinjaScript ATM & Risk Controller

Integrates native NinjaTrader ATM functionality for automated trailing stops, multi-target profit scaling, and hard drawdown protection.

THE ARCHITECTURE

Technical architecture

A breakdown of the core platform specifications, execution framework, and risk controls engineered for this production deployment.

Platform
NinjaTrader 8
Language
C# (NinjaScript)
Levels plotted
Day Open, Day Close, Session Range, PDH/PDL, custom zones
Signal types
Breakout and reversal from key levels
Filters
Configurable intraday price action conditions
Risk management
Configurable stop loss, target, and position sizing
VERIFIED OUTCOME

Verified outcome

Measured results and performance benchmarks validated in live market execution.

Fully automated
Session level plotting
Levels calculated and plotted each session
2 signal types
Adaptive strategy
Breakout and reversal from session levels
Zero manual input
Hands-off execution
Entry, management, and exit automated

Automated Level Calculation & Precise Execution

Key session levels are calculated and plotted automatically at the start of each session. The strategy executes breakout and reversal trades from those levels with configurable risk parameters — replacing a fully manual process with consistent, rule-based automation.

GET IN TOUCH

Ready to build your NinjaTrader strategy?

Whether you need a custom session indicator, an automated NinjaScript breakout system, or full prop firm risk integration — tell us what you're building. We'll scope it, design it and deliver it to production standard.

Or email info@psi-square.net · Phone +44 (0) 20 3872 7195 · We reply within 24 hours · NDA available on request