Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Basic Programing Q?

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

    Basic Programing Q?

    Hi,

    I have zero experience programing, so this is probably an easy one. I am using PriorDayOHLC and CurrentOHL and want to combine the two, so I can use PriorDayHLC and CurrentO. And, I want the lines to extend at PD-HLC and CD-O farther into the current day. Right now, they only paint as the bars paint from bar one. Can I get the line to show about five bars ahead and then start painting as bars are painting?

    Thanks for any help,
    GS

    #2
    GS,

    This would require some involved tweaking of the indicator codes. Might I suggest one of these 3rd party NinjaScript Consultants: http://www.ninjatrader.com/webnew/pa...injaScript.htm
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      NT Josh,

      It would be nice to combine them, but my primary concern would be to extend the lines farther into the current day. Can I manage?

      GS

      Comment


        #4
        stratiG,

        Unfortunately still would require some relatively involved tweaking of the indicator programming to achieve.

        Essentially you would want to replace the indicator logic for checking session breaks and such to prevent redrawing and continue drawing as is.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        153 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        89 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        133 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        128 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        107 views
        0 likes
        Last Post CarlTrading  
        Working...
        X