• 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

  • sun100
    started a topic Global Object Display on Different TimeFrames

    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

  • sun100
    replied
    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

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    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.

    Leave a comment:


  • sun100
    replied
    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

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    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.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by yeshujbp, 07-21-2019, 02:40 PM
2 responses
31 views
0 likes
Last Post omololu
by omololu
 
Started by seagraph, Yesterday, 03:27 PM
1 response
23 views
0 likes
Last Post NinjaTrader_Jesse  
Started by NinjaCustomer, Today, 09:37 AM
1 response
7 views
0 likes
Last Post NinjaTrader_DrewO  
Started by stalt, Today, 07:52 AM
5 responses
16 views
0 likes
Last Post NinjaTrader_PatrickG  
Started by im197, 07-30-2019, 12:29 PM
2 responses
10 views
0 likes
Last Post NinjaTrader_Jesse  
Working...
X