• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Add overload of "alert"

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

    Add overload of "alert"

    it would be good to add an overload to alert:
    without re-arm seconds, so, there was some argument to indicate "once in a bar"

    #2
    Hello ttodua,

    Thank you for your post.

    What I would recommend in this case would be to set the re-arm seconds to something greater than the time frame of the bar, then using RearmAlert() once per bar:

    //rearms "myAlert" on the first tick of the bar:

    if (IsFirstTickOfBar)
    RearmAlert("myAlert");

    Here's a link to our help guide that goes over RearmAlert:

    https://ninjatrader.com/support/help...rearmalert.htm

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      yes, but why complications? even, it has many lacks - non-time based charts... also, other drawbacks, which seems only solvable by IsFirstTickOfBar.. however, an overload of alert as i said, would be nice.

      Comment


        #4
        Hello ttodua,

        Thank you for your reply.

        I understand your position and we have put in a feature request for this. We prefer to give immediate solutions when they are available simply because our Feature Request system can take some time if the request is even included in a future release and there is already a method to achieve the same goal.

        This request is being tracked under the number SFT-4657

        As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.

        Release Notes — https://ninjatrader.com/support/help...ease_notes.htm

        Please let us know if we may be of further assistance to you.
        Kate W.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by ahm1992, Today, 12:24 PM
        0 responses
        3 views
        0 likes
        Last Post ahm1992
        by ahm1992
         
        Started by LadGta2018, Today, 11:18 AM
        2 responses
        9 views
        0 likes
        Last Post LadGta2018  
        Started by ricardovejarano, Today, 10:48 AM
        2 responses
        12 views
        0 likes
        Last Post ricardovejarano  
        Started by UncleRyan, Today, 09:11 AM
        2 responses
        19 views
        0 likes
        Last Post UncleRyan  
        Started by login_dejavu, Today, 09:03 AM
        2 responses
        18 views
        0 likes
        Last Post login_dejavu  
        Working...
        X