• 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

Global Object Display on Different TimeFrames

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

    Global Object Display on Different TimeFrames

    Hello

    I want to draw a horizontal support line which is calculated on the daily chart and is globally visible on all time frames for the same instrument.

    So

    I am drawing a calculated horizontal line on a daily chart using the DrawLine function in my custom Ninja indicator. I have given it an object tag e.g @S1 so that it can be seen globally on all other time frames.

    The indicator displays it only on the current daily time frame where I am running the indicator but not on any other time frames of the same instrument.
    How do I get it to display on all other time frames ?

    I can do this manually when I draw the object and attach it to all charts of the same instrument but cannot replicate the behaviour in my indicator code.


    Thanks

    sun100

    #2
    Hello sun100,

    Thank you for your post.

    It is not supported to draw global lines from an indicator or strategy at this time. You would need to add the indicator to each chart.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Chelsea

      Thank you for your reply.
      Do you know if this feature is or will be available in Ninja Trader 8 when it is released to live production.
      Is there any unsupported feature currently available which I can look at to accomplish this ?
      If not, I will have to try to come up with a workaround.

      Thanks

      Sun100

      Comment


        #4
        Hello Sun100,

        You would need to add the indicator to each chart and have the indicator calculate using a secondary series of whatever the primary chart is.

        The indicator would draw the object on each chart.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello Chelsea

          Thank you for your reply.
          I will try coding it the way you have suggested and see how I get on .

          Thanks

          sun100

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by sergey_z, Today, 05:44 AM
          0 responses
          3 views
          0 likes
          Last Post sergey_z  
          Started by NinjaCustomer, Today, 12:29 AM
          1 response
          10 views
          0 likes
          Last Post NinjaTrader_ChrisSch  
          Started by ronaldgreene828, Yesterday, 07:50 PM
          1 response
          15 views
          0 likes
          Last Post NinjaTrader_EricB  
          Started by nailz420, 07-17-2019, 08:38 AM
          2 responses
          14 views
          0 likes
          Last Post nailz420  
          Started by bouncetherubble, Yesterday, 06:56 PM
          0 responses
          9 views
          0 likes
          Last Post bouncetherubble  
          Working...
          X