• 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

Time Regions

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

    Time Regions

    Hi I found this Time Region indicator here ,it draws colored time regions,but only three regions.
    http://www.ninjatrader.com/support/f...d=1&linkid=274

    Plz help he make changes to this indicator.I need
    multiple regions,(my session time is 6 hours 15 min)
    I want vertical lines every 15 or 30 min
    color not necessary

    regards

    #2
    Originally posted by SLASH View Post
    Hi I found this Time Region indicator here ,it draws colored time regions,but only three regions.
    http://www.ninjatrader.com/support/f...d=1&linkid=274

    Plz help he make changes to this indicator.I need
    multiple regions,(my session time is 6 hours 15 min)
    I want vertical lines every 15 or 30 min
    color not necessary

    regards
    The indicator mentioned does not handle time zones and different daylight savings schedules correctly. You would need to define your trading session by entering begin time, end time and time zone. Then draw vertical lines at a fixed interval within the selected session. Attached is a screenshot of an indicator that shows how it could be done. You could also have a look at the source code of this indicator.

    https://www.bigmiketrading.com/downl...load.html?view
    Attached Files

    Comment


      #3
      I want vertical lines after every few minutes(say 5 min or 15 min or 30 min, or 60 min etc) ,all my session on my volume bar chart .

      Comment


        #4
        Originally posted by SLASH View Post
        I want vertical lines after every few minutes(say 5 min or 15 min or 30 min, or 60 min etc) ,all my session on my volume bar chart .
        Then you would need to identify the session start and add vertical lines as needed. The problem here is that the volume bars will not align to the vertical lines but will overlap from one into the next segment.

        NinjaTrader comes with a script method DrawVerticalLine(), which you can use to achieve what you wish. Best use the syntax

        Code:
        DrawVerticalLine(string tag, DateTime time,  Color  color, DashStyle dashStyle,  int  width)
        Last edited by Harry; 04-22-2015, 07:16 AM.

        Comment


          #5
          Thanks Harry, found this indicator here post 7 http://www.ninjatrader.com/support/f...+vertical+line

          how can I draw these lines to panel 2 and 3 too ?

          Comment


            #6
            Hello SLASH,

            Thank you for your response.

            The indicators can draw on their own panel or the price panel only. Please take a look at the DrawOnPricePanel at the following link: http://www.ninjatrader.com/support/h...pricepanel.htm
            Patrick H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Seastragg, Today, 04:41 PM
            0 responses
            2 views
            0 likes
            Last Post Seastragg  
            Started by n8dogg59, Today, 03:07 PM
            0 responses
            4 views
            0 likes
            Last Post n8dogg59  
            Started by Newtrader101, Today, 10:31 AM
            1 response
            19 views
            0 likes
            Last Post koganam
            by koganam
             
            Started by nepenthean, Today, 12:36 PM
            1 response
            10 views
            0 likes
            Last Post NinjaTrader_ChrisL  
            Started by sun0781, Yesterday, 05:02 PM
            1 response
            25 views
            0 likes
            Last Post NinjaTrader_ChrisL  
            Working...
            X