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 Mindset, Today, 06:46 AM
|
0 responses
7 views
0 likes
|
Last Post
by Mindset
Today, 06:46 AM
|
||
|
Started by M4ndoo, Yesterday, 05:21 PM
|
0 responses
11 views
0 likes
|
Last Post
by M4ndoo
Yesterday, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
13 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
81 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
46 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment