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 cre8able, Yesterday, 07:24 PM
|
1 response
13 views
0 likes
|
Last Post Today, 06:55 AM | ||
Started by cocoescala, 10-12-2018, 11:02 PM
|
6 responses
939 views
0 likes
|
Last Post
by Jquiroz1975
Today, 06:51 AM
|
||
Started by gbourque, Today, 06:39 AM
|
1 response
4 views
0 likes
|
Last Post Today, 06:50 AM | ||
Started by cmtjoancolmenero, Yesterday, 03:58 PM
|
1 response
17 views
0 likes
|
Last Post Today, 06:16 AM | ||
Started by benmarkal, Yesterday, 12:52 PM
|
3 responses
23 views
0 likes
|
Last Post Today, 05:22 AM |
Leave a comment: