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

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 usazencort, Today, 01:16 AM
          0 responses
          1 view
          0 likes
          Last Post usazencort  
          Started by kaywai, 09-01-2023, 08:44 PM
          5 responses
          603 views
          0 likes
          Last Post NinjaTrader_Jason  
          Started by xiinteractive, 04-09-2024, 08:08 AM
          6 responses
          23 views
          0 likes
          Last Post xiinteractive  
          Started by Pattontje, Yesterday, 02:10 PM
          2 responses
          22 views
          0 likes
          Last Post Pattontje  
          Started by flybuzz, 04-21-2024, 04:07 PM
          17 responses
          230 views
          0 likes
          Last Post TradingLoss  
          Working...
          X