• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.


No announcement yet.

Partner 728x90


Highlight overnight market on chart

  • Filter
  • Time
  • Show
Clear All
new posts

    Highlight overnight market on chart

    Is there a way to easily highlight the overnight session on a chart with some kind of highlighting/mask on a chart?


    Hello dmking,

    Thanks for your post.

    Manually, you can use the drawing tool (Access through the chart "pencil" icon) Region HighLight X. When selected left click to start the region, move the mouse and click again to draw the region. Once done, double left click on the region to open the region properties. In the region properties (besides changing the colors, opacity, the outline, etc.) you can change the specific dates and times which you can then specify the begin and end session times. You can create as many of these as you wish and can change the start end dates there after as the times would remain the same.

    Automatically, you would need to use an indicator, there are a couple free publicly available that I will provide links for. Both will require some initial set-up and once set should work for you automatically.

    These indicators are 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>Ninjscript 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.
    Paul H.NinjaTrader Customer Service


      Excellent Paul,

      Repeater does exactly what I need. You guys should just make this a standard feature in NT.

      Excellent Customer Service and response time.





        "Repeater does exactly what I need."
        I've used it for this purpose for quite some time. It has some 'foibles' due to how it is coded. Some are contained in the .cs file coder's notes. I'd suggest you check them out to see if they will apply to your use case
        If you are going to use it on a time-based Data Series chart and want to show Range (using Dynamic Range), be aware that your Session Start Time needs to be xx:xx:01 (second) otherwise in certain circumstances the Range High/Low may be incorrect. Took me many hours & contacting PaulH to reverse engineer what was happening. It's called 'expected behaviour' when it works as coded but not as a User would expect it to. May not apply to your use, but if it does hopefully save you some time & frustration.

        "You guys should just make this a standard feature in NT."
        See the following thread -

        Even though a Ninja coded add-on, if you have problems with the stock platform you may be asked to remove ALL add-ons including Ninja ones for troubleshooting (hence desirability that what should be standard (imho, yours and many others') platform features should be in the stock platform)

        "Excellent Customer Service and response time." - ditto.


        Latest Posts


        Topics Statistics Last Post
        Started by Johnny Santiago, 10-11-2019, 08:21 AM
        6 responses
        Last Post 4x777
        by 4x777
        Started by pjsmith, Today, 02:42 AM
        2 responses
        Last Post pjsmith
        by pjsmith
        Started by fimpaljion, Today, 04:37 AM
        0 responses
        Last Post fimpaljion  
        Started by moyerchopra, Yesterday, 11:43 PM
        0 responses
        Last Post moyerchopra  
        Started by ttodua, Yesterday, 11:40 PM
        0 responses
        Last Post ttodua
        by ttodua