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 kinfxhk, 07-13-2026, 10:18 AM
|
0 responses
24 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 10:18 AM
|
||
|
Started by kinfxhk, 07-13-2026, 09:50 AM
|
0 responses
14 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 09:50 AM
|
||
|
Started by kinfxhk, 07-13-2026, 07:21 AM
|
0 responses
20 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 07:21 AM
|
||
|
Started by kinfxhk, 07-11-2026, 02:11 AM
|
0 responses
20 views
0 likes
|
Last Post
by kinfxhk
07-11-2026, 02:11 AM
|
||
|
Started by SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
135 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|

Comment