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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        162 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        313 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        245 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        350 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        179 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X