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/Log entry from Indicator

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

    Alert/Log entry from Indicator

    Hello,

    is there a way to create an alert when the input parameters of an indicator are set to illegal values. I would like to inform the user when changing them to legal ones.

    This alert would have to be called only once but whether I put the alert statement in the Initialize() method or for the first bar into the OnBarUpdate() nothing seems to happen. Trying the same for a Log entry produces an actual error message.

    Thanks for input..
    Greg

    #2
    Greg, the alert would only work in realtime on a fresh bar if triggered - I would just restrict the range of possible input values in the properties of the parameter.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by set2win, 08-04-2021, 09:23 AM
    39 responses
    1,000 views
    0 likes
    Last Post WaleeTheRobot  
    Started by md4866, Today, 08:15 PM
    0 responses
    7 views
    0 likes
    Last Post md4866
    by md4866
     
    Started by mjbatts91, Yesterday, 04:48 PM
    2 responses
    23 views
    0 likes
    Last Post mjbatts91  
    Started by pibrew, Today, 06:10 PM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by actualfacts.2021, 07-25-2021, 03:11 PM
    8 responses
    1,188 views
    0 likes
    Last Post linkcou
    by linkcou
     
    Working...
    X