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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    30 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    17 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    9 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    16 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    19 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X