Protected Highs & Lows Indicator

NinjaTrader 8 Indicator Published 31 Mar 2024
FREE

We highly recommend joining our discord community by following this invite link discord-invitation

Description

The NinjaTrader 8 Highs & Lows indicator presents an alternative approach to identify Market Structure. The logic used is inspired from the following highs & lows TradingView indicator Protected Highs & Lows [TFO]

This indicator introduces the new concept of protected swing pivot points that is used to determine Market structure events such as:

  • MSS: Change of strucutre (or Change of Character or Market Structure Shift) that indicates that the trend might change
  • BBOS: Break of Strucutre (or Market Structure Break) that indicates a continuation of the trend

What are protected Swings?

protected-swings-example
Click to enlarge

When price closes below a valid swing low, we look back from the current bar to find the highest high that was made in that range. This becomes our protected high; similarly, when price closes above a valid swing high, we look back from the current bar to find the lowest low that was made in that range, which then becomes our protected low.

If a higher high is established, then the price doesn't close below the last established lower low, that high high is not considered as a protected swing. Same for the low side, if a lower low is established and then the price doesn't close above the last established higher high, that lower low is not a protected swing.

Examples

Here are few examples of how the indicator works:

  • Market Structure Shift & Market Structure Break based on protected swings
  • In this example we see a Chart of MNQ on the 2000 Volume timeframe. The pivot swings arrows that you see in Red and In Green on top and on bottom of the candlesticks are protected swings

    protected-swings-MSS-BOS
    Click to enlarge
    Features

    The Protected Highs & Lows indicator has a set of unique features

    • Free. The indicator is completely free to use.
    • Plots Break of Structure and Change of Stucture
    • Highly customizable, lightweight and can be adapted to wide range of instruments
    Parameters

    We always try to keep the parameters to minimum.

    License
    License This is the free license key you get when you create an account on automated-trading.ch. After creating an account, copy your license key from the billing page. You need to set this parameter only once per month, once the license key is validated it will be remembered for the rest of the billing cycle.
    Swings
    Swing Period Swings are higher lows,higher highs, lower highs and lower lows. After each price bar close, a swing can be detected. But just after that, the next bar can cancel the swing at the previous bar by creating a new swing of the same type. Or this can happen on the second bar, or the third, etc... The swing period sets how many bars is enough to seperate two swings of the same type. The more you increase this parameter, the more you decrease the number of swings overall. The more you decrease this parameter, the more you increase the number of overall swings. I personally use the value of 3 or 4 for this parameter.
    Structures
    Show Structures This parameter sets which market structure to show/hide
    • All: Show both Market Structure Shifts and Break of Structures
    • None: Don't show Market Structures. Show only protected Highs and Lows
    • Break of Structure (BoS): Show only Break of Strcutures
    • Structure Shift (MSS): Show only Structure Shift (MSS)
    Rendering
    Bearish Color Draw Color of bearish items to draw on the chart
    Bullish Color Draw Color of bullish items to draw on the chart
    Download & Installation Instructions

    The indicator can be downloaded for free. To download and install the indicator follow the instructions below

    • Click on the below download button to download the Indicator file
    • This file was downloaded 158 times. Last download was 6 hours ago
    • Import the downloaded .zip file into NinjaTrader using the import NinjaScript menu item
    • how to import add on to NinjaTrader
    • Next, open a new chart window
    • image
    • After installing the indicator and opening a new Chart window you should add the indicator to the chart. Right-click on the chart and click on Indicators...
    • image
    • After adding the indicator to the chart, the indiactor will be run on Historical data loaded in the chart.
    • After that, the indicator is added with success and will continue to run on live market data
    Frequantly Asked Questions
    General
    Can I ask you to modify/add a new feature to this Indicator?

    Yes, If you have an idea that you believe can improve this indicatr, I will be more then happy to hear from you. Please use the contact page to send me a message

    Will I get the source code of the indicator when I download it?

    No, the source code of the indicator is protected for copyright reasons

    Can this indicator be used in a strategy?

    No, this indicator only do rendering and doesn't provide data that can be used from within a strategy. Check out our other strategies for an ICT Concepts based strategy

    Can I use this indicator without the TickReplay mode enabled?

    Yes you can use this indicator without TickReplay

    Release Notes
    Release 1.2.0.0 - 09 Apr 2024

    • Fixed the algorithm of detection of protected highs & lows.
    • Added drawing of retracement, valid swings...
    • Added higher timeframe analysis.

    Release 1.1.0.0 - 31 Mar 2024

    • Fixed the algorithm of detection of market structure by making it based on protected highs & lows only.
    • Added None as a display option

    Release 1.0.0.0 - 30 Mar 2024

    • First Release of the indicator

    User Comments & Feedback