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 tsantospinto, 04-12-2024, 07:04 PM
    4 responses
    61 views
    0 likes
    Last Post aligator  
    Started by michi08, 10-05-2018, 09:31 AM
    3 responses
    740 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by sightcareclickhere, Today, 01:55 PM
    0 responses
    1 view
    0 likes
    Last Post sightcareclickhere  
    Started by Mindset, 05-06-2023, 09:03 PM
    9 responses
    259 views
    0 likes
    Last Post ender_wiggum  
    Started by Mizzouman1, Today, 07:35 AM
    4 responses
    18 views
    0 likes
    Last Post Mizzouman1  
    Working...
    X