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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      80 views
      1 like
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      63 views
      2 likes
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      63 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      54 views
      0 likes
      Last Post CarlTrading  
      Working...
      X