• 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

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, 03: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 AldricJC, Today, 04:24 AM
        0 responses
        3 views
        0 likes
        Last Post AldricJC  
        Started by pman777, Today, 03:37 AM
        0 responses
        3 views
        0 likes
        Last Post pman777
        by pman777
         
        Started by tff2011, Today, 02:58 AM
        0 responses
        3 views
        0 likes
        Last Post tff2011
        by tff2011
         
        Started by GrossBitZeCoinTrader, Today, 02:15 AM
        0 responses
        3 views
        0 likes
        Last Post GrossBitZeCoinTrader  
        Started by Papercut110, Yesterday, 09:08 PM
        0 responses
        9 views
        0 likes
        Last Post Papercut110  
        Working...
        X