Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Need help optimizing onrender performance
Collapse
X
-
Need help optimizing onrender performance
Attached AnchoredVWAP works nicely when it spans a screen worth of candles. However, as the anchor is moved further to the left (over 1k of bars), calculating VWAP for more candles, there's noticeable lag when dragging the chart left or right or when repositioning the anchor.Tags: None
-
Hello MiCe1999,
Run logic only for the bars within view and re-use objects where possible.
Join the official NinjaScript Developer Community for comprehensive resources, documentation, and community support. Build custom indicators and automated strategies for the NinjaTrader platforms with our extensive guides and APIs.
Below are links to examples you may find helpful.
Simple script that adds a background watermark of the instrument symbol (and expiry if a future) to the chart. (Updated July 10th, 2018 ‐ The opacity needed to be casted as a double and divided by 100 to be between 0 and 1) (Update: August 24th, 2021 – Subtracted the ChartPanel.Y so indicator can be […]Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
325 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
207 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
194 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
283 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
241 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment