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

How do I prevent a plot line from drawing

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

    How do I prevent a plot line from drawing

    Scenario:

    I draw plots in the price action panel. This works fine. Sometimes I change the price the plot draws at basically I am reusing the plot. When I do this I set all the plot bars to Transparent to basically erase it as you would delete a draw object. It does this fine. However it draws a line (they are line plots) from the prior last price to the new price. This is as ninja should do but I don't want this line/bar drawn when I move the plot price. I tried changing the prior plot [1] color to Color.Transparent and even changed the first bar after I changed the plot price to Color.Transparent. I even tried setting them both to transparent but I still get a wick or tail.

    I understand why it does this but can I suppress this action?

    Can send a screen shot but prefer not to post it in the open forum.

    #2
    Hello ct,

    If this is in NinjaTrader 7 and you are not wanting a plot to appear but still have the price marker available in the price margin, use Color.Empty instead of Color.Transparent on each bar in PlotColors including the current bars value.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by TheWhiteDragon, 01-21-2019, 12:44 PM
    4 responses
    541 views
    0 likes
    Last Post PaulMohn  
    Started by GLFX005, Today, 03:23 AM
    0 responses
    2 views
    0 likes
    Last Post GLFX005
    by GLFX005
     
    Started by XXtrader, Yesterday, 11:30 PM
    2 responses
    11 views
    0 likes
    Last Post XXtrader  
    Started by Waxavi, Today, 02:10 AM
    0 responses
    7 views
    0 likes
    Last Post Waxavi
    by Waxavi
     
    Started by TradeForge, Today, 02:09 AM
    0 responses
    14 views
    0 likes
    Last Post TradeForge  
    Working...
    X