Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Processing Efficiency Question

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

    Processing Efficiency Question

    I'm planning an indicator that will run on intraday bars and trying to minimize the load on my processing power because it has 16 variables to calculate and I'll be running it on 38 instruments, and my PC is old. Here's my question:

    Part of my indicator calls for me to confirm that High0 is less than the current day high. Is it more efficient to add a daily bar series to the indicator and call the current day high from that, or would it be more resource efficient to just call the High value from the built in CurrentDayOHL indicator?

    I realize this question highlights my ignorance about a variety of issues, however, I'd appreciate any help.

    #2
    Hello,
    Thanks for your post.

    You are correct. It would be the most efficient to add a daily bar series to the indicator and call the current day high from that. It would be important to be familiar with how working with multi time frames is different than one time frame. I am going to include a link to our help documentation on working with multiple time frames, for your convenience.

    Multi-Time Frame & Instruments
    https://ninjatrader.com/support/help...nstruments.htm

    Please let me know if you have any further questions.
    Josh G.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,229 views
    0 likes
    Last Post xiinteractive  
    Started by andrewtrades, Today, 04:57 PM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    7 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    441 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    12 views
    0 likes
    Last Post FAQtrader  
    Working...
    X