Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Plot time range/volume candles

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Plot time range/volume candles

    Dear support,

    I'm starting to study the ninjatrader indicators and I have a question that I hope you could solve. I would like to know how long it takes for a range or volume candle to develop. I don't know if there is an indicator already developed for this or if you could help me with this simple code. just plot into bars, for example.

    thank you

    #2
    Hello Bill Right,

    Thanks for your post and welcome to the NinjaTrader forums!

    In NinjaTrader, bars are time-stamped at the end of the bar. You can subtract the end time of one bar from the next to determine the time of the bar.

    There does already exist an indicator that provides bar times in histogram form.

    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.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      Hello Paul,

      wow thanks for the quick reply.
      it's just what i was looking for. great job.

      many thanks

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by morrnel, Today, 06:07 PM
      2 responses
      15 views
      0 likes
      Last Post morrnel
      by morrnel
       
      Started by thumper57, Yesterday, 04:30 PM
      6 responses
      20 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by sastrades, 05-10-2024, 09:59 AM
      3 responses
      55 views
      0 likes
      Last Post rc5781
      by rc5781
       
      Started by guyonabuffalo, Yesterday, 10:01 PM
      2 responses
      22 views
      0 likes
      Last Post guyonabuffalo  
      Started by reynoldsn, 05-10-2024, 07:04 PM
      5 responses
      28 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Working...
      X