Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Detect Suspended
Collapse
X
-
Detect Suspended
If IsSuspendedWhileInactive is true (which it is, by default), and NinjaTrader is going to suspend the indicator (let's say, perhaps, the user switched another workspace to be active), this should trigger an event in any running NinjaScript before the suspend takes place, and another event when calculations resume. It could look something like this OnIsSuspendedChange(bool IsSuspended). It is not necessary to allow the indicator to abort the suspension - after all, if the indicator did not want to be suspended it would set IsSuspendedWhileInactive to false. But, this gives the indicator a way to detect when it's getting ready to suspend and a cleaner way to detect when it's been resumed - this way, resources can be handled better and it can incorporate any needed custom logic for these situations in the best way.Tags: None
- Likes 1
-
Hello QuantKey_Bruce,
Thanks for your post.
I have submitted your feature request to the Development team. This request is being tracked under the number SFT-6198.
As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted on the Release Notes page of the Help Guide.
Release Notes — https://ninjatrader.com/support/help...ease_notes.htmBrandon H.NinjaTrader Customer Service
-
Originally posted by jeronymite View Post+1 please. I'd even settle for something as simple as a flag for the indicator that indicated its status (IsSuspended). Not unreasonable as an additional way to check these things.
Thanks.
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by fx.practic, 10-15-2013, 12:53 AM
|
5 responses
5,406 views
0 likes
|
Last Post
by Bidder
Today, 12:22 AM
|
||
Started by Shai Samuel, 07-02-2022, 02:46 PM
|
4 responses
98 views
0 likes
|
Last Post
by Bidder
Today, 12:11 AM
|
||
Started by DJ888, Yesterday, 10:57 PM
|
0 responses
8 views
0 likes
|
Last Post
by DJ888
Yesterday, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
160 views
0 likes
|
Last Post Yesterday, 10:23 PM | ||
Started by Belfortbucks, Yesterday, 09:29 PM
|
0 responses
9 views
0 likes
|
Last Post
by Belfortbucks
Yesterday, 09:29 PM
|
Comment