![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2007
Location: , ,
Posts: 250
Thanks: 1
Thanked 2 times in 1 post
|
Hi,
Can an indicator be coded to perform the equivalent of an "F5" refresh if certain conditions are met? If so what is the relevant code syntax? Also, is there a way an indicator can be coded to detect if the chart perriodicity or bar type has changed? Thankyou |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
rt-trader,
Unfortunately you cannot programmatically call "F5". You can check bar period with this: http://www.ninjatrader-support.com/H...V6/Period.html As far as detecting a change, you will need to store the value somewhere (perhaps a text file) and then reading it back.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jan 2007
Location: , ,
Posts: 250
Thanks: 1
Thanked 2 times in 1 post
|
OK -
Thanks for the quick reply Josh.. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Timer Refresh | bigbopper | Charting | 1 | 02-05-2009 12:47 PM |
| Automatic REFRESH button??????????????? | mdsvtr | Miscellaneous Support | 1 | 12-18-2008 04:02 PM |
| Auto-Refresh | mdsvtr | Miscellaneous Support | 1 | 12-16-2008 08:24 PM |
| Refresh (F5) | mydet | General Programming | 3 | 07-24-2008 04:48 AM |
| Refresh problem | MrBaffalo | Indicator Development | 5 | 01-23-2007 10:32 AM |