No announcement yet.

Partner 728x90


Open-Range indicator for NT8

  • Filter
  • Time
  • Show
Clear All
new posts

    Open-Range indicator for NT8

    Hi all,

    I am looking for an indicator that will allow me to set a pre-defined time range eg. 11:00 to 13:00 o'clock (11am to 01pm in american format) and which in result will plot in a rectangular/box/shape or similar the highs and lows that were reached during this range. That area within the given time-range should be filled with a pre-defined color and transparency to have a good visability inside the chart. The evaluated high/low should extend as horizontal lines. The delta between high and low should be calculated. Then plot additionally a horizontal line under and above that open-range with a pre-defined factor/multiplier. Let's say the high was 3500 and the low was 3450, so the delta is 50. When I enter factor/multiplier=1.0 the upper horizontal line should be plotted at 3550 and the lower line at 3400. When I enter factor=0.7 (50*0.7=35) the upper line should be plotted at 3535 and the lower line at 3415.

    Here's an example screenshot where multi=1.0

    Click image for larger version

Name:	example.png
Views:	59
Size:	141.0 KB
ID:	1119412

    It should be possible to choose the color and transparency for the upper and lower range lines and the fill area for the time range. I have no clue where to start or how to code such an indicator on my own. I am asking if anyone is aware of an existing indicator like that and where I can download it. Otherwise I am kindly asking if anyone of you pro's are able to code such an indicator if it's not too difficult and time-consuming.

    Appreciate any assistance. Thanks a lot in advance

    Hello patricia70,

    Thanks for your post.

    I am not aware of an indicator that will meet all of your needs, however, there are 3 indicators that are freely available in the NT user apps section of the NinjaTrader ecosystem that provide an "Opening range" type function. Perhaps one of these will be helpful or provide a starting point to create your own.

    This indicator is publicly available on our NinjaTrader Ecosystem website:
    Here is a basic guideline of how to Import NinjaScripts.

    To import NinjaScripts you will need the original .zip file.

    To Import
    1. Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
    2. From the Control Center window select the menu Tools>Import>Ninjascript add-on..
    3. Select the downloaded .zip file
    4. NinjaTrader will then confirm if the import has been successful.
    Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'

    Once installed, you may add the indicator to a chart by:
    • Right click your chart > indicators > Select the Indicator from the list on the left > New > OK
    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.

    If none of these meet your needs, another alternative would be to use the services of a professional programmer and we can provide a link to 3rd party programmers in the Ninjatrader ecosystem that can provide that custom service.
    Paul H.NinjaTrader Customer Service


      Hello Paul,

      thank you so much for pointing to that indicators. All of them provide one or more of those feautures I requested, what a pity they are not combined can you point me to the right direction how to start to learn programming indicators and strategies for Ninjatrader? I am aware about the online help when pressing F1 but I'd rather like to see some videos/tutorials or step-by-step beginning basic primers.

      Any clues?

      thanks a lot.


        Hello patricia70,

        Thanks for your reply.

        Ninjascript provides methods and properties to assist you with your trading, be it indicator, strategies or add-ons. Ninjascript is based on C# programming language so the syntax rules of C# are applicable. Leaning C# would be very helpful and there are any number of on-line free resources.

        I would suggest checking out this post

        You may want to also perform an internet search for "Learn NinjaTrader8 Ninjascript" as this can provide other sources that may be helpful.
        Paul H.NinjaTrader Customer Service


        Latest Posts


        Topics Statistics Last Post
        Started by shdjjskhg, Today, 08:55 AM
        0 responses
        1 view
        Last Post shdjjskhg  
        Started by Roman Hrabovskyi, Today, 07:51 AM
        0 responses
        Last Post Roman Hrabovskyi  
        Started by Scotty33, Today, 05:45 AM
        1 response
        Last Post s.kinra
        by s.kinra
        Started by aaajv, Today, 06:45 AM
        0 responses
        Last Post aaajv
        by aaajv
        Started by MarkTee, Today, 02:53 AM
        0 responses
        Last Post MarkTee
        by MarkTee