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

chart controled by indicator

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

    chart controled by indicator

    I have a custom indicator I am working on which makes only sense if run on a bar chart. Besides I'd like to help my user by defaulting a few chart settings like trading hrs, exclude SatSun and the like. Is there a way to do that from code in the indicator?

    Thanks ahead!
    tb

    #2
    You can check Time[0] property which has properties/methods for checking calendar days I am sure. Check the DateTime class/structure in C# DOC.

    For checking chart type, this currently not supported.
    RayNinjaTrader Customer Service

    Comment


      #3
      Oops...I misread...

      You can not control the chart properties.
      RayNinjaTrader Customer Service

      Comment


        #4
        OK -> wishlist I see. Would really be great if you could expose more of the NT object model....
        Cheers
        Theo

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by James650, Today, 08:25 AM
        1 response
        2 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by Rogers101, 05-05-2024, 11:30 AM
        14 responses
        40 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by MSerag, Yesterday, 11:52 PM
        2 responses
        21 views
        0 likes
        Last Post MSerag
        by MSerag
         
        Started by ETFVoyageur, 04-30-2024, 06:05 PM
        11 responses
        80 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by dcriador, Yesterday, 01:43 AM
        4 responses
        26 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Working...
        X