NexusFi: Find Your Edge


Home Menu

 





Lag Timer for NT8 Market Analyzer


Discussion in Traders Hideout

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




 
Search this Thread
  #1 (permalink)
 
EDGE's Avatar
 EDGE 
Saint Louis, Mo., USA
 
Experience: Advanced
Platform: NinjaTrader, Tradestation
Broker: Amp/CQG, Velocity/TT, Kinetick, TS
Trading: Anything That Moves..
Frequency: Daily
Duration: Minutes
Posts: 221 since Aug 2010
Thanks Given: 100
Thanks Received: 409

Here is a simple Lag Timer for Market Analyzer.
Zip includes a MA template for demonstration.

Import Script like normal, template included.

Control Center | New | Market Analyzer
Right Click in MA window | Load Template | HTLagMA

Nothing Special, just easy way to keep eye on Lag.


Do NOT apply this to 1st Column of MA, NT8 has bug!
https://forum.ninjatrader.com/forum/ninjatrader-8/platform-technical-support-aa/1333249-market-analyzer-error-8-0-28-0


Be Safe in this Crazy World!


Attached Files
Elite Membership required to download: HTLagMA.zip
Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
Iran Ceasefire Surges to 19.5% on US 15-Point Plan -- 82 …
Prediction Markets & Event Contracts
El Clasico Draws $9.2M in Prediction Market Action -- Bi …
Prediction Markets & Event Contracts
TradingView Opens Volume Footprint Data to Pine Script - …
TradingView
Cboe Files for Near 24x5 Equities Trading -- December 20 …
Traders Hideout
Kraken Becomes First US Digital Asset Bank With Direct F …
Cryptocurrency
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
22 thanks
2026 Jlab journal
10 thanks
Trying to learn Volume and price action correlation
8 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Lady Vols Primer: Trading Volatility Journal
5 thanks
  #2 (permalink)
 
EDGE's Avatar
 EDGE 
Saint Louis, Mo., USA
 
Experience: Advanced
Platform: NinjaTrader, Tradestation
Broker: Amp/CQG, Velocity/TT, Kinetick, TS
Trading: Anything That Moves..
Frequency: Daily
Duration: Minutes
Posts: 221 since Aug 2010
Thanks Given: 100
Thanks Received: 409

Just a suggestion, but I'd sync to the same time server that CME uses.
Syncing to Windows Time Server might still produce slight differences.

CME is using NTP to sync time for CME Globex and it's Clearing systems.
https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/457217083/Network+Time+Protocol

More info for United States — "us.pool.ntp.org" - found here:
https://www.ntppool.org/zone/us

Very Simple to Check/Change/Verify within Windows 10/11:
Control Panel | Date Time | Internet Time | Change Settings


Be Safe in this Crazy World!


Started this thread Reply With Quote
Thanked by:
  #3 (permalink)
 sg72 
Orange County, CA, USA
 
Experience: Intermediate
Platform: NinjaTrader, Fidelity ATP
Trading: ES/NQ/RTY, Equity ETFs, Options
Posts: 66 since Sep 2018
Thanks Given: 45
Thanks Received: 53


If you're looking for one that prints on the chart window, there's a free one available here.

https://trinitastrading.com/mgi


Reply With Quote
  #4 (permalink)
 
EDGE's Avatar
 EDGE 
Saint Louis, Mo., USA
 
Experience: Advanced
Platform: NinjaTrader, Tradestation
Broker: Amp/CQG, Velocity/TT, Kinetick, TS
Trading: Anything That Moves..
Frequency: Daily
Duration: Minutes
Posts: 221 since Aug 2010
Thanks Given: 100
Thanks Received: 409


sg72 View Post
If you're looking for one that prints on the chart window, there's a free one available here.

Same OnMarketData involved w/Indy as Market Analyzer.
Only now have to use OnRender to Draw value to Chart.

And now you add any rendering lag into the equation.
You will see slight lag differences because of this.

----------------------------------------------------

Here is an example of Price Line w/Bar & Lag Timer.
User Configurable Options to Display One/Any/All.

Price Line follows last bar on chart Historically.
The Bar Timer will only work on TimeBased Charts!

Calculate OnBarClose just fine for what it's doing!
Should be simple enough, just ask if any questions.


Modify timeRecF (X,Y) for different text placement.
(Line 175 and 176) (Place Text wherever you want)



Posted Examples of Drawing, Styling, Rendering here:
https://discourse.ninjatrader.com/t/directx-error-on-workspace-switch-d2derr-wrong-resource-domain-from-onrender-despite-sharpdx-best-practices/2964/6

Example of Rotating Text (great for vertical lines):
https://discourse.ninjatrader.com/t/drawing-tool-for-swing-highs-and-swing-lows/2946/8


Please Be Safe in this Crazy World!


Attached Files
Elite Membership required to download: HTPLwBLTimer.zip
Started this thread Reply With Quote




Last Updated on July 8, 2025


© 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