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

Line and Plot

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

    Line and Plot

    Which difference among object derived from the line class and object derrived from plot class ? One of them can be substitute another one ?

    #2
    Hello hozman,

    Thank you for your post.

    A Line is a single value, where a Plot holds multiple objects as it is a DataSeries. These cannot replace each other.

    Comment


      #3
      Originally posted by NinjaTrader_PatrickH View Post
      Hello hozman,

      Thank you for your post.

      A Line is a single value, where a Plot holds multiple objects as it is a DataSeries. These cannot replace each other.
      Hm. And why in standart indicator DEMA using plot, although in it drawing only one line, and accordingly calculated from one solid value....

      Comment


        #4
        Hello hozman,

        Thank you for your response.

        A Plot will be drawn as a line connecting each point to each. This is not the same thing as the Line Class.

        You can see an example if you go to Tools > Edit NinjaScript > Indicator > RSI. The RSI has two plots and two lines used. You will notice the Lines use a static value.

        Please let me know if you have any questions.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Waxavi, Today, 02:10 AM
        0 responses
        2 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by TradeForge, Today, 02:09 AM
        0 responses
        4 views
        0 likes
        Last Post TradeForge  
        Started by Waxavi, Today, 02:00 AM
        0 responses
        2 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by elirion, Today, 01:36 AM
        0 responses
        4 views
        0 likes
        Last Post elirion
        by elirion
         
        Started by gentlebenthebear, Today, 01:30 AM
        0 responses
        4 views
        0 likes
        Last Post gentlebenthebear  
        Working...
        X