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 kinfxhk, 07-14-2026, 09:39 AM
|
0 responses
91 views
0 likes
|
Last Post
by kinfxhk
07-14-2026, 09:39 AM
|
||
|
Started by kinfxhk, 07-13-2026, 10:18 AM
|
0 responses
92 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 10:18 AM
|
||
|
Started by kinfxhk, 07-13-2026, 09:50 AM
|
0 responses
70 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 09:50 AM
|
||
|
Started by kinfxhk, 07-13-2026, 07:21 AM
|
0 responses
87 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 07:21 AM
|
||
|
Started by kinfxhk, 07-11-2026, 02:11 AM
|
0 responses
65 views
0 likes
|
Last Post
by kinfxhk
07-11-2026, 02:11 AM
|

Comment