• 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 18

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

Beacon by NinjaTrader Live

18 downloads June 13, 2025

RenkoBarTimer

80 downloads June 4, 2025

Candle percentage change in NinjaTrader 8

56 downloads June 3, 2025

Position Tracker by NTL

127 downloads May 30, 2025

WickedPrice

100 downloads May 28, 2025

Most Popular

UniRenko Universal Renko BarType 8

31180 downloads October 16, 2018

Heiken Ashi 8

29293 downloads October 16, 2018

Vwap (Volume Weighted Average Price)

24380 downloads October 16, 2018

Vwap

22180 downloads March 21, 2022

Automatic Trend Line Detection

21341 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 © 2025. All rights reserved. The NinjaTrader Ecosystem logo is a trademark of the NinjaTrader Ecosystem LLC.

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 Rules 4.41 - 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, such as lack of liquidity. Simulated 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 an affiliated company to NinjaTrader Brokerage which is an NFA registered introducing broker (NFA #0339976) providing brokerage services to traders of futures and foreign exchange products. 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 derivative 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 and the information made available on this Web site 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 if its affiliates. NT or any of its affiliates are not responsible for, do not approve, recommend or endorse any Vendor Content referenced on this website and it’s 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.