Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Plot Lines for each day

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

    Plot Lines for each day

    Hello,
    Is it possible to plot lines for each day i.e. the plots should not be connected. I don't want to use Dots as it is not clearly showing plot, very comfortable with Line but its clustered for every new day. Any help is appreciated, thanks!

    #2
    Hello s.kinra,

    Thank you for your post.

    You could use an IsFirstBarOfSession check to determine if the current bar processing is the first bar updated in a trading session followed by using a CurrentBar > 0 check and setting the plot to transparent. This hides the previous point so the lines do not connect. Then, a value could be assigned for the plot.

    Please see the attached example indicator demonstrating how to accomplish this.

    Also, I have posted a few help guide links below for more information.

    IsFirstBarOfSession - https://ninjatrader.com/support/help...rofsession.htm

    AddPlot - https://ninjatrader.com/support/help...8/?addplot.htm

    PlotBrushes - https://ninjatrader.com/support/help...nt8/?plots.htm

    Additionally, you could check out the Repeater indicator from our User App Share center - https://ninjatraderecosystem.com/use...load/repeater/

    Please let us know if we may assist further.


    The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
    Attached Files
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Hello Brandon,
      Thanks for your help, I can now get the desired results, I was trying the same logic but missed CurrentBar > 0, much appreciated.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      672 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      379 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      111 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      575 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      582 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X