The ForceRefresh() method is not accessible from any function in ninjascript. How can I use it? Any way to refresh asynchronously like I saw people use in NT7 (Cbi.Globals.SynchronizeInvoke.AsyncInvoke)?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Using ForceRefresh in NS
Collapse
X
-
Hello ToMer_K,
Thank you for your post.
You can find details on ForceRefresh() at the following link: http://ninjatrader.com/support/helpG...rcerefresh.htm
You can use Dispatcher.InvokeAsync in NinjaTrader 8. Please visit the following link for more details: https://msdn.microsoft.com/en-us/lib...v=vs.110).aspx
-
I have no indicator in my strategy and I think it is a waste to instantiate an indicator just for using the refresh function... It takes more resources and adds redundant event calls. I need my strategy to run as fast as possible.Originally posted by ToMer_K View PostAnyway to access it without instantiating an Indicator?
If there is no way to do so I recommend you to add this function to strategies as well because many of them use visualizations here and there that may need faster refresh.Last edited by ToMer_K; 06-28-2016, 07:52 PM.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
668 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
377 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
110 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
575 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
580 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment