Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Reload Ninjascript via code
Collapse
X
-
Originally posted by neoikon View Post
-
Originally posted by sledge View PostYou can add your own button to the toolbar via ChartControl.
But, you'd have to map that callback to the SendKeys
Daniel
Leave a comment:
-
Originally posted by neoikon View PostI use the SendKeys() method as described, but my concern is that this hot key can be changed by the user.
I've used other SendKeys() in the past, but I've stopped and instead "clicked" (from within the code) the tools from the chart's toolbar. Unfortunately, there is no "refresh chart" anywhere on the toolbar for me to "click".
Has anyone come up with a better way to do this from within code?
Thanks!
Daniel
But, you'd have to map that callback to the SendKeys
Leave a comment:
-
I use the SendKeys() method as described, but my concern is that this hot key can be changed by the user.
I've used other SendKeys() in the past, but I've stopped and instead "clicked" (from within the code) the tools from the chart's toolbar. Unfortunately, there is no "refresh chart" anywhere on the toolbar for me to "click".
Has anyone come up with a better way to do this from within code?
Thanks!
Daniel
Leave a comment:
-
Thank you all for the help!!!
You pointed me on the right direction, I tested it on one chart and it worked!!!
But, now I am worried about the focus if I apply this technique to a few charts... will it work? How can I assure that each chart has the focus when the F5 is sent? Any hints?
Thanks again!!
Juan
Leave a comment:
-
yes , I am also using SendKeys in several occasions including reload ninjascript.
It is working, but take care of Focus and such. Sometimes you must run a background thread with SendKeys()
regards
andreas www.zweisteintrading.eu
Leave a comment:
-
Originally posted by jriverac View PostHallo,
I wonder if there is a way to do a "reload ninjascript" (F5) on a chart programatically?
For a number of reasons, I sometimes need to do it on my charts, but to do it manually is virtually impossible, any suggestions on how to achieve this via code?
Thanks.
Juan
Leave a comment:
-
Ok.
Hopefully this gets implemented soon....
Meanwhile, someone has any hints on any unsupported technique???
Thanks
Juan
Leave a comment:
-
Hi Juan,
Unfortunately there is no supported technique for calling Reload NinjaScript programatically. Thank you for the suggestion. We have added this to our internal feature tracking system with ID # 830.Last edited by NinjaTrader_RyanM1; 04-04-2011, 10:03 AM.
Leave a comment:
-
Reload Ninjascript via code
Hallo,
I wonder if there is a way to do a "reload ninjascript" (F5) on a chart programatically?
For a number of reasons, I sometimes need to do it on my charts, but to do it manually is virtually impossible, any suggestions on how to achieve this via code?
Thanks.
JuanTags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by andrewtrades, Today, 04:57 PM
|
1 response
8 views
0 likes
|
Last Post Today, 05:02 PM | ||
Started by chbruno, Today, 04:10 PM
|
0 responses
6 views
0 likes
|
Last Post
by chbruno
Today, 04:10 PM
|
||
Started by josh18955, 03-25-2023, 11:16 AM
|
6 responses
436 views
0 likes
|
Last Post
by Delerium
Today, 03:42 PM
|
||
Started by FAQtrader, Today, 03:35 PM
|
0 responses
7 views
0 likes
|
Last Post
by FAQtrader
Today, 03:35 PM
|
||
Started by rocketman7, Today, 09:41 AM
|
5 responses
19 views
0 likes
|
Last Post Today, 03:33 PM |
Leave a comment: