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

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

instrument settings

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

    instrument settings

    I have an indicator that requires the chosen instrument to start Jan 1 of a chosen year, otherwise the calculated graph will not sync with the chart.

    How do I adjust the instrument settings, or format the symbol, to be sure it starts on Jan 1?

    Thank you.

    #2
    Hello,

    Thank you for the question.

    There is no supported method to get the amount of days on the chart from a script, so there really would not be a way to make a condition based on this.

    Also the instrument its self will not decide the days to load on the chart, this is a user selectable option so there would be no setting in the instrument for this.

    In order to get a specific time range on the chart you would need to use the DataSeries window and choose a specific date range. In the DataSeries window you would need to select "Load data based on: Custom Range"

    Please let me know if I may be of additional assistance
    JesseNinjaTrader Customer Service

    Comment


      #3
      I've inserted an image of a Tradestation screen which is exactly what I want to do in NT.

      Will your suggestion give me the comparable result? Thanks.

      Comment


        #4
        Hello,

        Yes, In order to get a specific time range on the chart you would need to use the DataSeries window (File -> New -> Chart OR Right click in a chart -> DataSeries) and choose a specific date range.

        In the DataSeries window you would need to look for "Load data based on:" and select " Custom Range"

        Please let me know if I may be of additional assistance.
        JesseNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by ninjo, Today, 02:42 PM
        0 responses
        2 views
        0 likes
        Last Post ninjo
        by ninjo
         
        Started by Longhornmark, Today, 01:13 PM
        4 responses
        11 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by ntbone, Today, 12:34 PM
        3 responses
        16 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by deltaZ, Today, 12:41 PM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by pjsmith, Today, 12:21 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_PatrickG  
        Working...
        X