Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Alert Reset commands

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

    Alert Reset commands

    There are two Alert Reset commands in the help file:
    ResetAlert(string id) & ResetAlerts()


    The second one gives error while compiling.
    May be the second one also is:
    ResetAlert(), without any parameter, in which case it may reset the rearm time of all alerts.


    Please confirm / clarify.


    Regards.
    murthymsr

    #2
    Hello murthymsr,

    It looks like there was an error in the documentation and we will get this corrected.

    The two methods for this are:
    ResetAlert(string Id); //for specific alert
    ResetAlerts(); //all alerts

    Note that ResetAlerts() will reset all alerts and will not accept anything as input.
    Ryan M.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by samish18, Today, 01:01 PM
    0 responses
    4 views
    0 likes
    Last Post samish18  
    Started by WHICKED, Today, 12:56 PM
    0 responses
    7 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by Spiderbird, Today, 12:15 PM
    2 responses
    11 views
    0 likes
    Last Post Spiderbird  
    Started by WHICKED, Today, 12:45 PM
    0 responses
    7 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by FrazMann, Today, 11:21 AM
    2 responses
    8 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Working...
    X