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

Custom time period

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

    Custom time period

    Hello guys,

    I have implemented the custom Button for the toolStrip and want to load chart of H4 time frame because by default we dont have such time period in NT.
    Could someone, please, advice what method or class to use to call that functionality.

    To simplify the scope, I would like to implement smth like in attached screen below.

    1) press Ctrl + F
    2) type Value property = 240 (H4 timeframe)
    3) press OK.

    The H4 time period is very usefull for me. It helps to understand the middle trends and what expect on the current trading session. And where can I expect good impulse for the short term trends.

    And, you know, its borring all the time call DataSeries and type Value = 240
    Everything is ready , just need the method/class which responds of this funcionality.

    Will appreciate any advice/help!!!
    Attached Files
    Last edited by akushyn; 09-16-2012, 04:05 PM.

    #2
    You should just be able to type "240" (without quotes), and then hit enter, while viewing a chart, and you should end up on a 240 minute timeframe. Or you could type "4h" followed by enter.

    Comment


      #3
      Originally posted by Radical View Post
      You should just be able to type "240" (without quotes), and then hit enter, while viewing a chart, and you should end up on a 240 minute timeframe. Or you could type "4h" followed by enter.
      Hello, Radical

      Thank you for the reply. I know this method, but I need the solution to do it programmatically.
      Any advice?

      --
      Best regards, Andriy

      Comment


        #4
        Andriy, as hint you could check into the C# SendKeys command for this task.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by kempotrader, Today, 08:56 AM
        0 responses
        6 views
        0 likes
        Last Post kempotrader  
        Started by kempotrader, Today, 08:54 AM
        0 responses
        4 views
        0 likes
        Last Post kempotrader  
        Started by mmenigma, Today, 08:54 AM
        0 responses
        2 views
        0 likes
        Last Post mmenigma  
        Started by halgo_boulder, Today, 08:44 AM
        0 responses
        1 view
        0 likes
        Last Post halgo_boulder  
        Started by drewski1980, Today, 08:24 AM
        0 responses
        4 views
        0 likes
        Last Post drewski1980  
        Working...
        X