EMA Cross
A fast EMA crossing a slow EMA publishes buy and sell signals; the confirmation series reports the trend side.
- Settings: fast period, slow period
- Confirmation: 1 while fast > slow, -1 while below
The free B4 Signal API, three ready-to-learn demo indicators and the B4 NinjaTrader 8 skill library for AI-assisted development. Everything you need to publish entry and confirmation signals the B4 way.
// reset, then publish for the current bar b4BuySignal[0] = false; b4SellSignal[0] = false; b4ConfirmationDirection[0] = 0; if (B4UseEntrySignals) { b4BuySignal[0] = CrossAbove(fast, slow, 1); b4SellSignal[0] = CrossBelow(fast, slow, 1); } if (B4UseConfirmations) b4ConfirmationDirection[0] = fast[0] > slow[0] ? 1 : -1;
Add these members to any NinjaTrader 8 indicator and its signals can be read by B4 tools and by any other NinjaScript, exactly like built-in indicator series. The API publishes signals only; it never places orders.
B4UseEntrySignalsbool settingTurns entry signals on or off (default on)B4UseConfirmationsbool settingTurns the confirmation series on or off (default on)B4BuySignalsSeries<bool>true only on the bar that produced a buy signalB4SellSignalsSeries<bool>true only on the bar that produced a sell signalB4ConfirmationDirectionsSeries<int>1 long bias, -1 short bias, 0 none, for the current barReset every bar to false / false / 0, then publish. A signal is true only on the bar it happened.
Tools match by name. Keep the types, the settings group "B4 CoPilot Pro Integration" and the empty setters.
API indicators publish information only. Execution stays with a strategy or tool the trader controls.
Simple, readable NinjaScript written from scratch, each with the B4 Signal API built in. Every signal-affecting value is an adjustable setting.
A fast EMA crossing a slow EMA publishes buy and sell signals; the confirmation series reports the trend side.
RSI climbing back out of oversold publishes a buy; falling back out of overbought publishes a sell.
A close beyond the previous N-bar channel publishes a breakout signal in that direction.
Seven skills for Claude Code and compatible AI coding tools. Each one turns hard-won NinjaTrader 8 engineering practice into a procedure, with templates and checklists.
nt8-indicator-foundationsLifecycle states, plots, Series<T>, properties, bar guards, Calculate modes, anti-repaint and hot-path performance, plus a starter template.
Use when: creating or editing any NT8 indicator.
nt8-b4-signal-apiAdd the five-member B4 Signal API v1 to any indicator, with a copy-paste block and a test checklist.
Use when: an indicator should publish B4 entry and confirmation signals.
nt8-adjustable-parametersNo hard-wired trading values. Turn every threshold, period and offset into a setting without changing behavior.
Use when: writing new code or removing magic numbers.
nt8-build-verificationEight verification gates, real compiles, an error database and an honest build report. No "should work".
Use when: finishing any change, or a compile fails.
nt8-drawing-and-renderingDraw.* overloads and tags, when to move to OnRender with SharpDX, resource lifetime and keeping visuals out of logic.
Use when: adding arrows, zones, labels or custom visuals.
nt8-order-flow-and-dataOnMarketData trade classification, Tick Replay, Level II depth, multiple series and keeping real versus estimated order flow honest.
Use when: building footprint, delta, CVD, profile or DOM tools.
nt8-safe-deploymentBack up, deploy only when flat, understand the automatic compile, reload charts and keep a rollback path.
Use when: installing or updating NinjaScript on a live platform.
Browse the B4 Indicators repository, build your own indicators with an AI coding assistant, and follow what is coming next. B4 proprietary technology stays protected.
A GitHub-style browser for every public project: the B4 Signal API, the demo indicators and the skill library, with source, documentation and downloads.
Open the repositoryDescribe an indicator in plain language; your AI coding assistant builds and verifies it with the skill library and the public API.
Open the StudioAn assistant grounded in data you authorize, and reproducible research on your own ideas. In development; not yet available.
Learn moreA stripped-down, free edition of the B4 execution shell for developers. No B4 filters and no order-flow signals: you plug in your own signal, filter and exit tools through the B4 Signal API and test them in simulation.
B4 CoPilot Dev itself ships as a protected NinjaTrader import, coming soon. Join with the form and you will be emailed when it is ready. It contains no B4 proprietary logic, and B4 CoPilot Pro remains a separate product.
B4BuySignals / B4SellSignals pulses are the entries.B4ConfirmationDirections must agree with the signal, or not oppose it.Ten focused tools for NinjaTrader 8, each built for one job. Pick what you want to do, and the B4 tool that does it. B4 Quantum, the AI trade desk, is coming soon.
Size-tiered time and sales, 36 tape-reading detectors and spoken callouts for sweeps, absorption, refills and tape speed.
Volume profile, point of control, value area, switchable TPO and footprint imbalances at every price.
Every B4 tool feeds the tape, DOM and scanner, with a live readout of which tools are reporting on your instrument.
Each of the 224 spoken commentary lines is explained in plain English, with its directional read.
Liquidity strength lines, trails, bubble markers and hold-or-fail states on your chart. Available now.
Level II depth with stacking and pulling, liquidity walls and order-book imbalance.
Optional GEX levels in the DOM: the gamma flip, call wall and put wall, each labeled with its source and time. Off by default.
Scan a futures list for B4 signals, trend and squeeze conditions on closed bars.
Trend, Ichimoku and VWAP context, machine-learning signals and 24/7 B4 Brackets.
Squeeze and release detection, MACD-BB bands, the Trend Cloud and overbought and oversold zones in one lower panel.
P and Y patterns, Chikou Span analysis, Shoyu and Wave structure and the KISS Pro read.
A clean price line with its halo, support and resistance, and stop and target levels.
Check a setup against a second chart before your strategy responds.
Strategy execution with multi-signal confirmation and trade management.
B4 CoPilot Pro logs every signal as taken or not taken, with the reason, and the tape shows whether CoPilot is armed.
Stop, break-even, trail, exit and flatten controls on the DOM ladder.
Market briefings, evidence fusion and explainable decisions. Coming soon.
The B4 bar type behind the B4 charts, templates and lessons.
Available now
Know the trend, the levels and the context before you take a trade.
Best for: Traders who want one trusted read of the market before anything else goes on the chart.
Available now
Precision Squeeze Detection. Explosive Momentum. Breakout Intelligence.
Best for: Traders who want to find the compression, read the momentum and plan the breakout in one panel.
Available now
See the auction: where the volume traded and who was in control at every price.
New liquidity tools · Available now: Liquidity Strength Lines, Persistent Liquidity Trails, Liquidity Bubble Markers, Hold vs Failure states, Nearest Liquidity Labels, Liquidity Memory
B4 Footprint Pro is now B4 Auction Pro. B4 Auction Pro, with the volume profile, TPO, squeeze, CVD divergence and CVD confirmation modules and the new liquidity tools, is available now with the B4 V4 release.
Best for: Order-flow traders who read the market as an auction and want profile, footprint and liquidity on one chart.
Available now
Price, its halo and the levels that matter. Nothing else.
Best for: Traders who like a clean chart that still knows where the levels are.
Available now
The whole B4 Ichimoku method on one chart.
Best for: Ichimoku traders who want trend, structure and patterns in one indicator.
Available now
Let a second chart confirm a setup before your strategy acts.
Best for: B4 CoPilot Pro users who confirm setups on more than one chart.
Available now
Signals in. Discipline out. Your rules, run the same way every time.
B4 CoPilot Pro V4 is available now.
Best for: Traders who want their rules carried out the same way, every time.
Coming soon
The AI Automated Trade Desk. Coming soon.
Best for: Members who want the whole B4 toolkit working together as one desk.
Available now
Hear the tape, see the liquidity and find the next setup, in one window.
Best for: Order-flow traders who live in the tape and on the ladder.
Available now
Build your charts on the same bars as the B4 charts and lessons.
Best for: Traders who want their charts to match the B4 charts, templates and lessons.
B4 Quantum's models will improve through shared trading data from participating members. Members will be able to voluntarily opt in to share their Sim trading results when this feature is released. Those contributions will help train and refine the ecosystem's models, benefiting all B4 members. Data sharing will be optional and can be disabled by the member.
All members benefit from collective model improvements; only members who explicitly opt in contribute their Sim results.
Availability: the B4 V4 line-up is available now: B4 Bars, B4 Algo Pro, B4 Indicator Pro, B4 Auction Pro, B4 PriceLine, B4 Ichimoku (with B4 Wave), B4 Confirmation, B4 CoPilot Pro and B4 Order Flow (Tape, DOM Pro and Scanner). B4 Quantum is coming soon and is not for sale yet. Already use B4 Squeeze, B4 Wave, B4 KISS or B4 Shoyu on NinjaTrader 8? In B4 V4, Squeeze runs inside B4 Auction Pro, and Wave, KISS Pro and Shoyu are modules of B4 Ichimoku. The B4 TradingView indicators are discontinued: they are no longer updated or supported. The B4 lineup is built for NinjaTrader 8.
See the full B4 line-up on B4Signals.com.
For educational and research purposes only. Not trading advice. Trading futures and equities involves substantial risk of loss. No indicator, strategy or AI tool can guarantee a trading outcome.
The developer kit is free. B4 memberships add the ten tools of the B4 Quantum Field, including B4 CoPilot Pro and B4 Order Flow, plus the full B4 AMP education program.
Presale: 30% off your first payment with code B4V4PRESALE until November 27, 2026 (Black Friday). Every plan includes the same tools; only the way you pay changes.
Presale: $105 first month with code B4V4PRESALE
The full B4 V4 line-up, available now. Billed monthly.
Buy now ↗Presale: $277.90 first payment with code B4V4PRESALE
Save $53 versus paying monthly. Everything in Monthly. Billed every 3 months.
Buy now ↗Presale: $627.90 first year with code B4V4PRESALE
Best value: save $903 versus paying monthly. Everything in Monthly. Billed annually.
Buy now ↗Presale: $840 with code B4V4PRESALE
A single payment for the current B4 membership products. B4 Quantum is included when it is released; other new products and future major versions may require a separate purchase. Single payment, not a subscription. One-Time Sale terms
B4 Quantum — coming soon. One-Time members get pre-release access when it is available, and B4 Quantum when it is released.
Buy now ↗Available now: the B4 V4 line-up
B4 Quantum — coming soon. One-Time: pre-release access when it is available.
Secure checkout on members.b4signals.com. For educational purposes only. Not trading advice. Trading involves substantial risk.
About B4 memberships and the B4 line-up. The developer kit, repository and Studio on this site are free.
NinjaTrader 8. The B4 line-up is built for NinjaTrader 8. The B4 TradingView indicators are discontinued: they are no longer updated or supported.
Yes. The full B4 V4 line-up is available now in every membership: B4 Bars, B4 Algo Pro, B4 Indicator Pro, B4 Auction Pro, B4 PriceLine, B4 Ichimoku (with B4 Wave), B4 Confirmation, B4 CoPilot Pro and B4 Order Flow (Tape, DOM Pro and Scanner). B4 Quantum is coming soon and is not for sale yet.
The tools are the same. Monthly, Quarterly and Annual are subscriptions billed every month, every 3 months or every year. One-Time is a single payment for the current B4 membership products; B4 Quantum is included when it is released, and other new products and future major versions may require a separate purchase.
Until November 27, 2026 (Black Friday). Enter code B4V4PRESALE at checkout for 30% off your first payment: $105 instead of $150 a month, $277.90 instead of $397 every 3 months, $627.90 instead of $897 a year, or $840 instead of $1,200 one-time. After that, the regular prices apply.
Not yet. B4 Quantum is coming soon, is not for sale and has no price. It is not part of the Monthly, Quarterly or Annual memberships on sale today.
B4 CoPilot Pro is a strategy execution engine: it carries out the rules you configure, through NinjaTrader ATM strategies, the same way every time. You choose the rules and stay responsible for your trading. The B4 Order Flow DOM gives you stop, exit and Flatten All controls for your own manual positions: stops only move tighter, and an exit can never be bigger than your position.
No tool can promise that. No indicator, strategy or AI tool can guarantee a trading outcome. B4 tools are analysis and decision-support software for educational purposes; they are not investment advice. Trading involves substantial risk of loss.
See Cancel Subscription and the Refund Policy. Questions: info@b4signals.com.
.cs file into Documents\NinjaTrader 8\bin\Custom\Indicators\.%USERPROFILE%\.claude\skills\ for personal use, or .claude\skills\ inside a project.The demos place no orders, read no account data and write no files. They are learning material, not trading systems. Community projects built with this kit are third-party work unless B4 reviews and supports them.