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

why cannot i see a square

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

    why cannot i see a square

    i plotted this indicator and the code snippet is
    Add(new Plot(Color.FromKnownColor(KnownColor.Black), PlotStyle.Square, "Plot0"));


    Later in the code i do a
    Plot0.Set(1);

    i can see the value 1 in the databox but cannot see the sqare plotted on indicator.
    why?

    #2
    In which panel do you plot this and what is your autoscale setting then?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      autopscale=true
      panel=5

      Comment


        #4
        Ok, if you try this with for example SMA(20)[0] you will notice if you connect a constant value square it will become a line, so this is what you see. Same goes for the hash style.
        BertrandNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by AaronKTradingForum, Today, 03:44 PM
        0 responses
        1 view
        0 likes
        Last Post AaronKTradingForum  
        Started by Felix Reichert, 04-26-2024, 02:12 PM
        11 responses
        72 views
        0 likes
        Last Post Felix Reichert  
        Started by junkone, 04-28-2024, 02:19 PM
        7 responses
        82 views
        1 like
        Last Post junkone
        by junkone
         
        Started by pechtri, 06-22-2023, 02:31 AM
        11 responses
        136 views
        0 likes
        Last Post Nyman
        by Nyman
         
        Started by ageeholdings, 05-01-2024, 05:22 AM
        4 responses
        27 views
        0 likes
        Last Post ageeholdings  
        Working...
        X