Algo Studio pro (NinjaTrader) - Designer
The Visual Strategy Designer
Build complex trading strategies visually — no code, no limits, no compromises
The Algo Studio Pro Visual Designer is where your trading ideas become executable strategies. No programming knowledge required. If you can describe your strategy in words, you can build it here — and have it ready to backtest or trade live in minutes, not weeks.
The Visual Designer
At the heart of Algo Studio Pro sits the Visual Designer — a purpose-built strategy construction environment that turns the traditionally code-heavy process of strategy development into something visual, intuitive, and fast. Whether you are a complete beginner or a seasoned trader tired of wrestling with NinjaScript, the Visual Designer puts full strategy authoring power in your hands.
Diagram Editor — Visual Flowchart Builder
See your entire strategy as a visual flowchart. Entry rules, exit rules, conditions, and logic flow are all laid out graphically. Drag nodes, connect conditions, and watch your strategy take shape before your eyes. This is the fastest way to understand complex multi-condition strategies at a glance.
Tree View Editor — Hierarchical Rule Explorer
Prefer a structured, hierarchical view? The Tree View shows every rule as a collapsible node in a tree. Expand and collapse branches, reorder rules, and drill into individual conditions. Perfect for strategies with many layers of logic where a bird’s-eye view of the hierarchy matters more than a flowchart.
Built-In Editing Power
Undo / Redo
Full Ctrl+Z / Ctrl+Y support. Experiment freely — try a new rule combination, undo it if it does not feel right, redo if you change your mind. Every change is tracked, so you never lose work.
Cut / Copy / Paste
Duplicate rules, copy entire condition groups, or cut and rearrange your strategy structure with standard keyboard shortcuts. Saves enormous time when building strategies with repeating patterns or similar entry/exit logic.
Save State & Resume
Close the designer and come back tomorrow. Your entire strategy state is preserved exactly as you left it — every rule, every parameter, every note. No lost work, ever.

No coding. No syntax errors. No debugging. Just pure strategy design.
Building Entry & Exit Rules
Every trading strategy boils down to rules: “When should I enter?” and “When should I exit?” Algo Studio Pro makes rule building dead simple with a consistent, powerful structure that can express anything from a basic moving average crossover to a complex multi-indicator, multi-timeframe trading system.
How Rules Work
Every rule in Algo Studio Pro follows the same intuitive pattern:
Left Operand + Operator + Right Operand
Example: RSI(14) Cross Below 30
Example: Close Greater Than EMA(50)
Example: MACD(12,26,9).Value Cross Above MACD(12,26,9).Avg
Available Operators
| Operator | Symbol | Description | Best For |
|---|---|---|---|
| Greater Than | > | Left value is above right value | Threshold conditions (“RSI above 70”) |
| Less Than | < | Left value is below right value | Oversold conditions (“RSI below 30”) |
| Greater or Equal | >= | Left value is at or above right value | Inclusive boundary checks |
| Less or Equal | <= | Left value is at or below right value | Inclusive boundary checks |
| Equal | = | Left value matches right value | Exact level conditions |
| Not Equal | != | Left value does not match right value | Exclusion filters |
| Cross Above | ↑ | Left crosses from below to above right | Momentum entries, breakouts |
| Cross Below | ↓ | Left crosses from above to below right | Reversal entries, breakdowns |
| Formula | f(x) | Custom math expression using left (a), right (b), and tick size (ticks). True when result > 0 |
Custom math conditions, tick distances, percentage thresholds |
| Is Rising | ↗ | Left value has been rising over the last N bars | Momentum confirmation, trend alignment |
| Is Falling | ↘ | Left value has been falling over the last N bars | Momentum fade, trend exhaustion |
| Is Highest | MAX | Left value is the highest of the last N bars | Breakout detection, new highs |
| Is Lowest | MIN | Left value is the lowest of the last N bars | Support bounces, new lows |
Operand Types
Both the left and right side of a rule can be any of the following:
Combining Multiple Rules
Real trading strategies rarely depend on a single condition. Algo Studio Pro lets you stack multiple rules together using AND logic — every rule must be true simultaneously for the signal to fire. This is how you build confluence-based strategies:
“Enter LONG when RSI(14) crosses above 30 AND Close is above EMA(200) AND the bar is green AND MACD histogram is positive”
Each of those four conditions is a separate rule in the designer. All four must be true on the same bar for the entry signal to trigger. You can add as many rules as you need — there is no arbitrary limit.

Price Conditions
Price is the most fundamental data point in trading, and Algo Studio Pro gives you full access to it as a first-class rule operand. Build pure price action strategies, or use price as a filter alongside your indicators.
Available Price Types
Standard OHLC Prices
Open
The opening price of the bar. Useful for gap strategies and opening range breakouts.
Close
The closing price. The most commonly used price type — represents where the market decided the bar should end.
High
The highest price reached during the bar. Essential for breakout strategies and range analysis.
Low
The lowest price reached during the bar. Key for support-based entries and pullback strategies.
Computed Price Types
Body Top
The higher of Open and Close — the top of the candle body. On a green bar this equals Close; on a red bar it equals Open.
Body Bottom
The lower of Open and Close — the bottom of the candle body. On a green bar this equals Open; on a red bar it equals Close.
Range
High minus Low — the full price range of the bar in price units. Use for volatility filters (“only trade when bar range exceeds X”).
Body Range
Body Top minus Body Bottom — the size of the candle body. Compare to Range to detect dojis (small body, large range) or marubozu bars (body equals range).
Range in Points
Same as Range but expressed in instrument points. Useful for point-based thresholds that stay consistent across tick sizes.
Body Range in Points
Same as Body Range but expressed in instrument points. Compare body size in standardized units across instruments.
Compare Price To Anything
Price operands can be compared against indicators, fixed values, or even other price types:
- Price vs. Indicator: “Close greater than EMA(50)” — trend filter
- Price vs. Fixed Value: “Close greater than 4500” — level-based filter
- Price vs. Price: “Close greater than Open” — green bar detection
- Price vs. ATR: “High minus Low less than ATR(14)” — volatility filter
Previous Bars Lookback
One of the most powerful features: you can reference the price of any previous bar, up to 100 bars back. This unlocks an entire universe of price action patterns:
- “Close > Close[1]” — current close is above the previous bar’s close (momentum confirmation)
- “Low > Low[1]” — higher low pattern (trend structure)
- “High > High[5]” — price broke the 5-bar high (short-term breakout)
- “Close < Open[3]” — current close is below where the market opened 3 bars ago (retracement)
Tutorial: Using Price Conditions

Bar Direction Conditions
Sometimes the simplest filter is the most effective. Bar direction — whether a candle closed green (bullish) or red (bearish) — is a powerful confirmation signal that can dramatically reduce whipsaw trades.
How It Works
Green Bar (Close > Open)
The bar closed higher than it opened. Buyers won the bar. Use this to confirm bullish entries — “only go long when the entry bar itself is bullish.”
Red Bar (Close < Open)
The bar closed lower than it opened. Sellers won the bar. Use this to confirm bearish entries — “only go short when the entry bar confirms selling pressure.”
Use Cases
- As a primary condition: Build a strategy that trades every green bar above the 200 EMA (trend-following momentum)
- As a confirmation filter: Add “bar is green” to an existing long strategy to ensure the entry bar agrees with your direction
- Combined with lookback: “Current bar is green AND previous bar was red” — bullish reversal bar pattern
- Consecutive bars: “Current bar is green AND bar[1] is green AND bar[2] is green” — three consecutive bullish bars (strong momentum)
Tutorial: Using Bar Direction
Swing High/Low Analysis
Swing highs and swing lows are the backbone of price action trading. They define market structure — higher highs and higher lows in an uptrend, lower highs and lower lows in a downtrend. Algo Studio Pro detects these structural points automatically and lets you use them as rule conditions.
What You Can Do With Swing Points
Breakout Strategies
“Enter long when price breaks above the last swing high” — the classic breakout entry. The designer automatically tracks the most recent swing high and compares current price against it in real time.
Reversal Strategies
“Enter long when price touches the last swing low and RSI is oversold” — fade the move at a known structural level with indicator confirmation.
- Swing highs as resistance levels for short entries or long exits
- Swing lows as support levels for long entries or short exits
- Swing point comparisons to detect trend structure (higher highs, lower lows)
- Distance from swing as a measure of how extended the market is
Tutorial Series: Swing High/Low (3 Parts)
This comprehensive 3-part series covers every aspect of using swing points in your strategies:
Part 1: Swing High/Low Basics
Part 2: Advanced Swing Conditions
Part 3: Complete Swing Strategies

Using Any NinjaTrader Indicator
This is where Algo Studio Pro truly sets itself apart from every other visual strategy builder on the market. It does not ship with a fixed, limited list of supported indicators. Instead, it auto-detects every indicator installed on your NinjaTrader platform — built-in, custom, or third party — and makes it available as a rule operand.
Built-in indicators, custom indicators, third-party tools — all of them.
How Indicator Integration Works
Auto-Detection
When you open the designer, Algo Studio Pro scans your NinjaTrader installation and discovers every available indicator. No manual setup, no configuration files, no XML editing. They just appear in the dropdown, ready to use.
Auto-Parameter Discovery
Every indicator’s configurable parameters (Period, Multiplier, Offset, etc.) are automatically discovered and presented with input fields. Change the EMA period from 14 to 50 with a single click. Adjust Bollinger Band standard deviations. Modify any parameter the indicator exposes.
Plot Selection
Many indicators have multiple output plots. Bollinger Bands has Upper, Middle, and Lower. MACD has Value, Avg (Signal), and Diff (Histogram). Algo Studio Pro discovers all plots and lets you choose exactly which one to reference in your rule.
Multiple Instances
Use the same indicator multiple times with different parameters. Fast EMA(9) crossing above slow EMA(21)? Two RSI instances with different periods? No problem. Each instance is independent.
Third-Party Indicator Support
This is a question we get asked constantly: “Does it work with my favorite third-party indicator?”
The answer is yes — as long as the indicator follows standard NinjaTrader development practices and does not repaint or backpaint its signals. This includes indicators from popular vendors, community-developed tools, and custom indicators you have written yourself or had developed for you.

Tutorials: Using Indicators (2 Parts)
Part 1: Built-in & Custom Indicators
Part 2: Advanced Indicator Configuration
Higher & Multiple Timeframes
Professional traders rarely make decisions on a single timeframe. They use the daily chart for trend direction, the 1-hour chart for structure, and the 5-minute chart for entry timing. Algo Studio Pro brings this multi-timeframe confluence approach to automated strategy design.
How It Works
When you add an indicator to a rule, you can specify which data series (timeframe) it should reference. Your chart might be a 5-minute ES chart, but you can tell the EMA to calculate on the daily timeframe. The designer handles all the complexity of managing multiple data series behind the scenes.
Trend Filtering
Use a higher-timeframe indicator as a directional filter. Example: “Only take 5-minute long entries when the Daily EMA(50) is above the Daily EMA(200).” This one filter alone can transform a mediocre strategy into a consistent one by keeping you on the right side of the big picture trend.
Multi-Timeframe Confluence
Require conditions to align across timeframes. “RSI(14) is oversold on the 15-minute AND the 1-hour trend is bullish AND the daily support level is nearby.” Three timeframes, three confirmations, one high-conviction trade.
Automatic Data Series Management
In NinjaScript, managing multiple data series is one of the most error-prone aspects of strategy development. You need to add secondary data series, handle BarsInProgress routing, manage bar indexing differences, and deal with synchronization issues. Algo Studio Pro handles all of this automatically. You just pick the timeframe from a dropdown. The designer generates correct, efficient multi-timeframe code behind the scenes.
Tutorial: Higher & Multiple Timeframes

Formulas & Custom Expressions
Sometimes a simple “A greater than B” comparison is not enough. You need to express more complex mathematical relationships between your left and right operands. The Formula operator lets you write custom math expressions — no NinjaScript coding required.
How It Works
When you set the operator to Formula (instead of Greater, Less, CrossAbove, etc.), you write a mathematical expression using three built-in variables. The condition is true when the formula result is greater than zero.
Available Variables
| Variable | Meaning | Source |
|---|---|---|
a |
The left operand value | Whatever you set as the left side of the rule (Price, Indicator, Volume, Swing, etc.) |
b |
The right operand value | Whatever you set as the right side of the rule (Price, Indicator, Fixed value, etc.) |
ticks |
The instrument’s tick size | Automatically provided (e.g., 0.25 for ES, 1.0 for NQ) |
You can use standard math operators: +, -, *, / and parentheses for grouping. The expression is parsed and evaluated in real time.
Example Formulas
Distance in Ticks
(a - b) / ticks > 10
True when the left operand exceeds the right by more than 10 ticks. Set left to Close and right to SMA(20) — triggers when price pulls 10+ ticks away from the moving average.
Percentage Difference
(a - b) / b > 0.02
True when the left operand is more than 2% above the right. Works with any pair of values — price vs. indicator, indicator vs. indicator, etc.
Range Filter
a - b * 2
Set left to current bar’s Range and right to the previous bar’s Range. Positive (true) when today’s range is more than double yesterday’s — a volatility expansion signal.
Combined Condition
(a - b) / ticks - 5
True only when left exceeds right by more than 5 ticks. The subtraction acts as a threshold — result is positive only above the threshold.
What Can Be Left & Right Operands?
The formula variables a and b take their values from whatever you select as the left and right sides of the rule. This means you can combine any of these data types in a formula:
a, b, and ticks. The condition fires when the result is > 0.
Tutorial: Using Formulas
Retracements
Chasing breakouts is a losing game for most traders. The real edge often lies in entering on pullbacks — waiting for the market to retrace to a favorable level before jumping in with the trend. Algo Studio Pro’s retracement conditions let you automate this disciplined approach.
How It Works
Define retracement-based entry conditions that wait for price to pull back a specified amount before triggering. Instead of buying at the top of a move, your strategy waits for the dip — and enters at a better price with a tighter stop.
Trend Pullbacks
Identify a trend using indicators (EMA direction, ADX strength), then wait for a measured pullback before entering. Classic “buy the dip” approach, fully automated.
Better Risk/Reward
By entering on retracements rather than breakouts, your entry price is closer to the stop loss level. This means smaller stops and larger reward-to-risk ratios on every trade.
Tutorial: Retracements
Continuous vs One-Shot Mode
Not every trader wants the same level of automation. Some want a fully autonomous trading machine. Others want a signal generator that fires once and waits for approval. Algo Studio Pro supports both approaches with its execution mode setting.
Continuous Mode
The strategy keeps trading every signal, indefinitely. When a trade closes (win or loss), the strategy immediately starts watching for the next entry signal. This is fully automated, set-and-forget operation.
- Best for: Proven, backtested strategies you trust
- Best for: Strategies designed to trade frequently
- Best for: Traders who want to step away from the screen
One-Shot Mode
The strategy takes one trade, then pauses. It will not take another trade until you manually reset it. Think of it as a “trade alert with automatic execution” — it fires once, and you decide whether to arm it again.
- Best for: Testing new strategies in live market conditions
- Best for: Traders who want to manually approve each trade
- Best for: News-event trading (arm before the event, trade once)
Tutorial: Continuous vs One-Shot

Exit Rules & Exit Templates
Most traders spend 90% of their time perfecting entries and 10% on exits. But ask any professional trader and they will tell you: exits determine your profitability more than entries. Algo Studio Pro treats exits as first-class citizens with their own independent rule system and reusable templates.
Independent Exit Rules
Your exit rules do not have to mirror your entries. You can enter on an RSI crossover and exit on a MACD signal cross. You can enter on a breakout and exit on a trailing stop condition. The entry and exit sides of your strategy are completely independent — mix and match freely.
Indicator-Based Exits
Exit when RSI reaches overbought. Exit when MACD crosses bearish. Exit when price touches the upper Bollinger Band. Any indicator condition that works for entries also works for exits.
Price-Based Exits
Exit when price closes below the 20 EMA. Exit when the bar closes red after your entry. Exit at a fixed price level. Pure price action exits for maximum simplicity.
Exit Templates: Build Once, Reuse Everywhere
Once you have designed an exit strategy you like, save it as an exit template. Now you can apply that same exit logic to any future strategy with a single click. Build a library of exit approaches — trend-following exits, mean-reversion exits, time-based exits — and pair them with different entry strategies to find the best combinations.
Tutorial: Exit Templates
Save & Load Strategy Templates
A strategy is not just a set of rules — it is a complete package of configuration, parameters, trade management settings, and design notes. Algo Studio Pro’s template system captures everything in a single portable .algo file.
What Gets Saved
All Entry & Exit Rules
Every rule, every operand, every operator, every parameter value. Your complete strategy logic, preserved exactly as designed.
Indicator Configurations
All indicator instances with their specific parameter settings. EMA(50), RSI(14), Bollinger(20,2) — everything is captured.
ATM & Trade Management
Stop loss, profit target, breakeven, trailing stop, and all ATM settings. The entire trade management profile is part of the template.
Execution Settings
Continuous vs One-Shot mode, trade direction (long/short/both), and all execution parameters.
Notes & Documentation
Your personal notes about the strategy — why you built it, what market conditions it targets, what to watch out for. Future-you will thank present-you.
Auto-Upgrade
Templates saved in older versions of Algo Studio Pro are automatically upgraded to the latest format when loaded. Your strategy library never becomes obsolete.
Use Templates In Both Designer & Trader
Load into the Designer
Open a saved strategy in the Visual Designer to continue refining it. Add new rules, change parameters, update trade management. The template is your starting point, not a fixed snapshot.
Load into the Trader
Deploy a saved strategy directly to the Algo Studio Trader for live execution or paper trading. Go from saved template to live trading in seconds.

Price action. Indicators. Multi-timeframe. Formulas. Swing points. Retracements. Templates. All in one visual workspace.
Quick Reference: Designer Capabilities
| Feature | Description | Key Benefit |
|---|---|---|
| Diagram Editor | Visual flowchart-style rule builder | See entire strategy at a glance |
| Tree View | Hierarchical collapsible rule explorer | Navigate complex strategies easily |
| Undo/Redo | Full Ctrl+Z / Ctrl+Y history | Experiment without fear |
| Cut/Copy/Paste | Standard clipboard operations on rules | Duplicate and rearrange quickly |
| Price Conditions | Open, Close, High, Low, Body Top, Body Bottom, Range, Body Range, Range/Body Range in Points — all with lookback | Pure price action strategies |
| Bar Direction | Green/Red bar detection | Candle direction confirmation |
| Swing Points | Automatic swing high/low detection | Structural breakouts & reversals |
| Any Indicator | Auto-detects all installed indicators | No limitations on tools |
| Multi-Timeframe | Reference any timeframe per indicator | Institutional-grade filtering |
| Formulas | Custom mathematical expressions | Quantitative conditions |
| Retracements | Pullback-based entries | Better entry prices |
| Continuous/One-Shot | Two execution modes | Match automation to confidence |
| Exit Templates | Reusable exit logic | Consistent, proven exits |
| .algo Templates | Complete strategy save/load | Strategy library management |
Next: Trade Management & ATM Integration
The Visual Designer builds your entry and exit rules. But what happens between entry and exit? Stop losses, profit targets, breakeven moves, trailing stops — that is where trade management comes in.
Continue to Trade Management →