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 bmartz, Today, 09:30 AM
        2 responses
        11 views
        0 likes
        Last Post bltdavid  
        Started by f.saeidi, Today, 11:02 AM
        1 response
        3 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by geotrades1, Today, 10:02 AM
        4 responses
        12 views
        0 likes
        Last Post geotrades1  
        Started by rajendrasubedi2023, Today, 09:50 AM
        3 responses
        16 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by lorem, Today, 09:18 AM
        2 responses
        11 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X