Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

reading a file & drawing a region

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

    reading a file & drawing a region

    hello ... i have 2 questions:

    1) can you direct me to a resource that will explain how I can read an external file. I need to read a series of numbers that are support/resistance levels

    2) i want to draw a support/resistance zone (unig the DrawRegion command) that displays up through the most current bar that is being formed. Since I'm running with CalculateOnBarClose = true so as not waste CPU cycles calculating at every tick, my region stops at the preceding (completed) bar. I want it to stop at the most current (incomplete) bar.

    thanks!

    #2
    Hello pman777,

    Thank you for your post.

    1. You can find an example of how to read from an external file at the following link: http://www.ninjatrader.com/support/f...ead.php?t=3476

    2. The only method to have the drawing method stop on the current bar is to set the calculations to CalculateOnBarClose = False.

    Please let me know if I may be of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    581 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    338 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    103 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    554 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    552 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X