• 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 AxelrodWins, Today, 09:56 PM
        0 responses
        2 views
        0 likes
        Last Post AxelrodWins  
        Started by trader14, Today, 08:12 PM
        0 responses
        7 views
        0 likes
        Last Post trader14  
        Started by ypbtrainer, Today, 05:38 PM
        0 responses
        2 views
        0 likes
        Last Post ypbtrainer  
        Started by GARZONJ, Yesterday, 11:22 PM
        1 response
        14 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by mike09, Yesterday, 07:37 PM
        1 response
        24 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Working...
        X