Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IsSuspendedWhileInactive

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    IsSuspendedWhileInactive

    I looked at IsSuspendedWhileInactive. In the help is written that it is default set to false. Looking at the SMA indicator I see the default is set to TRUE. The sample MAcrossover strategy calls the SMA indictor. Does this finally mean that if I minimize the chart the strategy will not execute any buy or sell signals? If that is the case, it is very dangerous for trading, because there is no indication that IsSuspendedWhileInactive is active in the SMA indicator. It can only be seen in the source code…

    #2
    Originally posted by Sylvestro View Post
    The sample MAcrossover strategy calls the SMA indictor. Does this finally mean that if I minimize the chart the strategy will not execute any buy or sell signals?
    No, because in that scenario the hosting feature is the strategy. A suspension does not occur on a strategy. Your SMA indicator which is coded in the strategy will continue to fire as per usual.

    I just edited the help guide a bit to make this point a little more clear:

    MatthewNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by GussJ, 03-04-2020, 03:11 PM
    13 responses
    3,244 views
    0 likes
    Last Post GussJ
    by GussJ
     
    Started by lorem, Today, 09:18 AM
    0 responses
    2 views
    0 likes
    Last Post lorem
    by lorem
     
    Started by hazylizard, Today, 08:38 AM
    4 responses
    11 views
    0 likes
    Last Post hazylizard  
    Started by geddyisodin, Today, 05:20 AM
    2 responses
    20 views
    0 likes
    Last Post geddyisodin  
    Started by Max238, Today, 01:28 AM
    5 responses
    47 views
    0 likes
    Last Post Max238
    by Max238
     
    Working...
    X