Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Daily indicator value within intraday indicator

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

    Daily indicator value within intraday indicator

    Greetings,
    I'm at a loss attempting to obtain the Daily ATR(10) value to use within an intraday indicator. Would anyone be so kind as to provide guidance with regard to the proper syntax to obtain this value? I currently manually input the value in the indicator's setup window, and would like the value to be obtained and updated automatically.

    Thanks in advance, Todd

    #2
    Hello Todd Geiger,

    Thanks for your post.

    Please see the attached example script which demonstrates plotting a Daily ATR. In the script, we add a secondary Daily data series, we add a CurrentBars check to make sure there are enough bars processed for the primary and secondary data series. We check if the added daily series is processing and assign the ATR value to a Series<double> variable. Then, we check if the primary series is processing and assign the Series<double> variable to our plot.

    Note that if the ATR period is set to 10, you would need at least 10 days of data loaded for your primary series.

    Also, see the help guide documentation below for more information.
    MultiTimeFrame and Instruments: https://ninjatrader.com/support/help...nstruments.htm
    CurrentBars: https://ninjatrader.com/support/help...urrentbars.htm
    AddPlot: https://ninjatrader.com/support/help...t8/addplot.htm
    Series<T>: https://ninjatrader.com/support/help...t8/seriest.htm

    Let us know if we may assist further.
    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

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    41 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    66 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