NexusFi: Find Your Edge


Home Menu

 





Indicator taking too long too load.


Discussion in NinjaTrader

Updated
    1. trending_up 1,153 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
lakersfan
Los Angeles, CA
 
Posts: 5 since Apr 2020
Thanks Given: 1
Thanks Received: 0

How do I have my indicator look only at a certain amount of candles?

I've set it max bars 256 vs. infinite, yet it calculates on every bar.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Hungary Called for Magyar at 97pct, Ending 16-Year Orban …
Prediction Markets & Event Contracts
Powell in 48 Hours: Word Markets Give 78% on Inflation, …
Prediction Markets & Event Contracts
Prediction Markets Expiry Day: Trump Eyes War Exit, $230 …
Prediction Markets & Event Contracts
Weekend Update: First Qatari LNG Transit Attempted -- IR …
Traders Hideout
Bookmap Global Plus Lifetime + Lifetime Addons For Sale
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks
  #2 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Interactive Brokers
Trading: Futures & Stocks
Posts: 9,887 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,114


lakersfan View Post
How do I have my indicator look only at a certain amount of candles?

I've set it max bars 256 vs. infinite, yet it calculates on every bar.


Indicators will always calculate for the entire chart. If your indicator takes too long to load it is either badly coded, or you have activated tick replay.

The MaximumBarsLookBack setting is only applied to internal DataSeries for which there is no individual MaximumBarsLookBack setting.


Reply With Quote
  #3 (permalink)
IanC55
Aberdeen Scotland
 
Posts: 5 since Feb 2019
Thanks Given: 0
Thanks Received: 0


I agree with post #2.

If the number of bars / days loaded by the chart are not very high then it is likely your indicator is not coded correctly.

You can check the performance of indicators by loading an Output screen, then right click and select Ninja Script Monitor. If your indicator is high ranking then you need to check the coding.


Reply With Quote




Last Updated on May 18, 2020


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts