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 CarlTrading, Yesterday, 11:51 AM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
Yesterday, 11:51 AM
|
||
|
Started by CarlTrading, Yesterday, 11:48 AM
|
0 responses
23 views
0 likes
|
Last Post
by CarlTrading
Yesterday, 11:48 AM
|
||
|
Started by CaptainJack, 03-25-2026, 09:53 PM
|
0 responses
30 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:53 PM
|
||
|
Started by CaptainJack, 03-25-2026, 09:51 PM
|
0 responses
18 views
0 likes
|
Last Post
by CaptainJack
03-25-2026, 09:51 PM
|
||
|
Started by Mindset, 03-23-2026, 11:13 AM
|
0 responses
24 views
0 likes
|
Last Post
by Mindset
03-23-2026, 11:13 AM
|

Comment