Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Function key F5
Collapse
X
-
Automating the Refresh Key F5
Hello,
I want automate the refresh key, F5, in an indicator.
What would be the code to activate the function key, F5 in the OnUpdate() section?
Thanks
Comment
-
Originally posted by rcsingleton View PostHello,
I want automate the refresh key, F5, in an indicator.
What would be the code to activate the function key, F5 in the OnUpdate() section?
ThanksAs NinjaTrader_Bertrand says, you cannot expect any support/help to make it work. It is standard C#, but there is plenty of standard C# that is not supported NinjaScript.Code:System.Windows.Forms.SendKeys.Send("{F5}");
You have to be very careful to make sure that you have suitable escape conditions, or you will find yourself in an endless loop if you use it in OnBarUpdate().Last edited by koganam; 02-17-2011, 04:02 AM.
Comment
-
Thank you for your response.Originally posted by koganam View PostAs NinjaTrader_Bertrand says, you cannot expect any support/help to make it work. It is standard C#, but there is plenty of standard C# that is not supported NinjaScript.Code:System.Windows.Forms.SendKeys.Send("{F5}");
You have to be very careful to make sure that you have suitable escape conditions, or you will find yourself in an endless loop if you use it in OnBarUpdate().
The refresh key is something I could use. I will give it a try.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
88 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
48 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
31 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
34 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
69 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment