Announcement

Collapse
No announcement yet.

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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    571 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    331 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    549 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    549 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X