• International Apps
    • German
    • Russian
    • Spanish
    • French
    • Portuguese
  • Submit Your App
  • Get NinjaTrader
NinjaTrader Ecosystem
  • NinjaTrader Ecosystem
  • BROKERS
  • MARKET DATA
  • WEBINARS
  • SEARCH
    • Apps & Services
    • User App Share

Beacon by NinjaTrader Live

Beacon Indicator by NinjaTrader Live
Overview
The Beacon indicator is a dynamic support and resistance indicator that uses Bollinger Bands to identify key price levels and divides the Bollinger range into percentage-based zones. The indicator features intelligent line visibility that adapts based on price action.

Core Calculation Logic
Support and Resistance Detection

  1. Peak Detection: The indicator identifies pivot highs in the upper Bollinger Band
    • When BB.Upper[1] > BB.Upper[2] AND BB.Upper[1] > BB.Upper[0], a minor peak is detected
    • If this peak exceeds the previous major peak, it becomes the new resistance level
  2. Valley Detection: The indicator identifies pivot lows in the lower Bollinger Band
    • When BB.Lower[1] < BB.Lower[2] AND BB.Lower[1] < BB.Lower[0], a minor valley is detected
    • If this valley is lower than the previous major valley, it becomes the new support level
  3. Level Reset Logic: When a new major peak/valley is found:
    • New Peak: Support resets to the lowest Bollinger Band value in the lookback period
    • New Valley: Resistance resets to the highest Bollinger Band value in the lookback period

Line 50 Calculation and Changes
The 50 line represents the midpoint between support and resistance:
line50 = bbSupport + (bbResistance - bbSupport) * 0.5

When Line 50 Changes:

  • Line 50 changes whenever either support or resistance levels are updated
  • When line 50 changes from its previous value, ALL lines become visible and BeaconDir resets to 0
  • This ensures traders see the new range structure immediately

Percentage Lines
The indicator divides the support-resistance range into three zones:

  • 30 Line: bbSupport + range * 0.3 (30% from support)
  • 50 Line: bbSupport + range * 0.5 (midpoint)
  • 70 Line: bbSupport + range * 0.7 (70% from support)

Input Parameters

Parameter Type Range Default Description
Bollinger Band Length Integer 1-55 20 The period used for Bollinger Band calculation. Determines the lookback window for identifying peaks and valleys
Bollinger Band Std Dev Double 0.25-10 3.0 Standard deviation multiplier for Bollinger Bands. Higher values create wider bands and potentially wider support/resistance ranges
Show All Lines Boolean true/false false When enabled, all lines remain visible regardless of price action or state

Plot Descriptions

Plot Color Style Description
Resistance Level Red Dot Upper boundary based on Bollinger Band peaks
Support Level Blue Dot Lower boundary based on Bollinger Band valleys
70 Line Red Dot Upper percentage level (70% from support)
50 Line Yellow Dot Midpoint between support and resistance
30 Line Blue Dot Lower percentage level (30% from support)

Visibility Rules

  1. Initial State Reset
    • When line 50 changes value, all lines become visible
    • BeaconDir resets to 0
  2. Establishing Direction (BeaconDir = 0)
    • If price breaks below 30 line: Hides 70 line and Resistance
    • If price breaks above 70 line: Hides 30 line and Support
    • Sets BeaconDir = 1
  3. Active Trading State (BeaconDir = 1)
    • If price crosses 50 line (from either direction): Resets to show all lines
    • If price exceeds Resistance: Hides Resistance line
    • If price falls below Support: Hides Support line
  4. Line Removal Summary
    • 30 Line: Hidden when price breaks above 70 line (bullish bias)
    • 70 Line: Hidden when price breaks below 30 line (bearish bias)
    • Support: Hidden when price breaks below it OR when establishing bullish bias
    • Resistance: Hidden when price breaks above it OR when establishing bearish bias

Override Option
When "Show All Lines" is enabled, all visibility rules are bypassed, and all five lines remain visible at all times.

Disclosure
Futures trading and strategy trading involves substantial risk and the potential for loss of capital. The performance results of a trading strategy developed on the NinjaTrader platform may not be indicative of future real-time trading performance. Sample strategies and indicators provided by NinjaTrader, LLC are designed to teach strategy trading and development concepts. All NinjaScript code contained herein is provided by NinjaTrader, LLC and is for educational and demonstrational purposes only. You alone are responsible for the trading decisions that you make. You can find additional disclosure information on the NinjaTrader.com website.

Download
Created By NTEducationTeam
NinjaTrader Version 8
File Size 7.4 KB
Create Date 06/13/2025
# of Downloads 734

Importing to NinjaTrader 8 is Easy!

To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:

  1. Download the app or add-on file to your desktop
  2. From the NinjaTrader Control Center window, select the menu Tools > Import > NinjaScript Add-On…
  3. Select the downloaded file from your desktop

Questions?

Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.

New Additions

Copy Trade up to 20 accounts Simple design

440 downloads December 26, 2025

AB Complete Chart Trader - Easy Click Trading

258 downloads December 26, 2025

PnL Decorator

364 downloads December 23, 2025

Simple Trade Copier V2

808 downloads December 16, 2025

Gap Detector

723 downloads November 25, 2025

Most Popular

UniRenko Universal Renko BarType 8

34874 downloads October 16, 2018

Heiken Ashi 8

31596 downloads October 16, 2018

Vwap

28138 downloads March 21, 2022

Vwap (Volume Weighted Average Price)

25629 downloads October 16, 2018

Automatic Trend Line Detection

22532 downloads October 23, 2018

Interested in becoming a NinjaTrader Ecosystem 3rd party Vendor? Contact Us to learn more.

  • Quick Search
  • NinjaTrader Indicators
  • Automated Strategies
  • Ecosystem Insights
  • Free Trading Webinars
  • Spanish Trading Apps
  • Get NinjaTrader
  • User App Share
  • Trend Line Detection
  • Fibonacci Cluster
  • Renko Bar Type
  • Heiken Ashi
  • Ichimoku Cloud
  • Accumulation Distribution
  • Free Trading Indicators
  • Delta Momentum Indicator
  • Wave Trend Oscillator
  • Open Range Indicator
  • Risk Reward Indicator
  • VPA Indicator
  • Pivot Zones
  • Free Trading Videos
  • Swing Trading Volume Profile
  • Volume Leading Indicator
  • How to Use Volume Profile
  • Combine Order Flow
  • Buy Sell Signals
  • Market Profile

Copyright © 2026 NinjaTrader, LLC. All Rights Reserved.

Please note that NinjaTrader Ecosystem does not have a Telegram or LinkedIn account

Futures, foreign currency and options trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing one’s financial security or lifestyle. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results. View Full Risk Disclosure.

CFTC Rule 4.41: SIMULATED OR HYPOTHETICAL PERFORMANCE RESULTS HAVE CERTAIN INHERENT LIMITATIONS. UNLIKE THE RESULTS SHOWN IN AN ACTUAL PERFORMANCE RECORD, SIMULATED OR HYPOTHETICAL PERFORMANCE RESULTS DO NOT REPRESENT ACTUAL TRADING. ALSO, BECAUSE SIMULATED OR HYPOTHETIC TRADES HAVE NOT ACTUALLY BEEN EXECUTED, SIMULATED OR HYPOTHETICAL PERFORMANCE RESULTS MAY HAVE UNDER-OR-OVER-COMPENSATED FOR THE IMPACT, IF ANY, OF CERTAIN MARKET FACTORS, SUCH AS LACK OF LIQUIDITY. SIMULATED OR HYPOTHETICAL TRADING PROGRAMS IN GENERAL ARE ALSO SUBJECT TO THE FACT THAT THEY ARE DESIGNED WITH THE BENEFIT OF HINDSIGHT. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFIT OR LOSSES SIMILAR TO THOSE SHOWN.

This website is hosted and operated by NinjaTrader, LLC (“NT”), a software development company which owns and supports all proprietary technology relating to and including the NinjaTrader trading platform. NT is affiliated with NinjaTrader Clearing, LLC d/b/a NinjaTrader, Tradovate and Kraken Derivatives US (“NTC”), and NT Technologies, LLC (“NTT”) through NinjaTrader Group, LLC (“NTG”). NTC is registered with the Commodity Futures Trading Commission (“CFTC”) as a futures clearing merchant and swaps firm and is a NFA member firm (NFA No. 0309379). NTT is a company responsible for supporting proprietary trading platform technology and service functions related to the NinjaTrader trading platform.

This website is intended for educational and informational purposes only and should not be viewed as a solicitation or recommendation of any product, service or trading strategy. No offer or solicitation to buy or sell securities, securities derivatives or futures products of any kind, or any type of trading or investment advice, recommendation or strategy, is made, given, or in any manner endorsed by any NT affiliate. The information made available on this website is not an offer or solicitation of any kind. Specific questions related to a brokerage account should be sent to your broker directly.

The content and opinions expressed on this website are those of the authors and do not necessarily reflect the official policy or position of NT or any of its affiliates. View Privacy Policy.

Vendors, along with their websites, products and services (collectively referred to as “Vendor Content”), are independent persons or companies that are in no manner affiliated with NT or any of its affiliates. NT and its affiliates are not responsible for, do not approve, recommend or endorse any Vendor Content referenced on this website, and it is your sole responsibility to evaluate Vendor Content. Please be aware that any performance information provided by a vendor should be considered hypothetical and must contain the disclosures required by NFA Rule 2-29(c). If you are interested in learning more about, or investigating the quality of, any such Vendor Content, you must contact the vendor, provider or seller of such Vendor Content. No person employed by, or associated with, NT or any of its affiliates is authorized to provide any information about any such Vendor Content.