Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

changing color and plotstyle

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

    changing color and plotstyle

    I want to change the color and plot style depending on certain conditions.

    I start by
    Add(new Plot(Color.FromKnownColor(KnownColor.Blue), PlotStyle.Bar, "SQ1");

    When is display this by the statement:SQ1[0] it displays a nice blue dot.

    If certain conditions are met, I want to change its appearance to :
    • Red TriangleDown
    • width of 5


    Any help would be appreciated

    #2
    Hello,

    Thanks for your note.

    Is this NinjaTrader 7 or NinjaTrader 6.5?

    I look forward to assisting you further.
    BrettNinjaTrader Product Management

    Comment


      #3
      Thanks for your reply:

      I'm referring to

      NT7

      Comment


        #4
        Hello,

        Thanks, we changed how you do this in NinjaTrader 7 so you will want to follow the Ninjatrader 7 side on how to do this and use the following sample to guide you. Let me know if you have any questions.



        Let me know if I can be of further assistance.
        BrettNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, Yesterday, 10:06 AM
        0 responses
        22 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        19 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        14 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        10 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        41 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X