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

Bars Up\Bars Down

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

    Bars Up\Bars Down

    I set up a simple strategy with the wizard to send me an email when the Renko has three bars up or 3 bars down; this should run when the bat closes. The problem is, it seems to be sending me two emails every time. Any idea why?

    Thanks in advance!!

    #2
    Hello,

    Thank you for the question.

    I wanted to check if you could provide the strategy for me to see what code is currently being used?

    Based on the description, it seems like everything is working correctly but potentially the SendMail is duplicated in the script or you have multiple instances of the strategy running?

    If you can provide the script, we can look over the syntax to verify that all checks out, if so we could then look into how the strategy is being applied to see where the duplication is happening.

    If you would like to attach the script, please attach the .cs file for the strategy which can be found in the folder: Documents\NinjaTrader 7\bin\Custom\Strategy

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by nicthe, Today, 07:38 AM
    0 responses
    6 views
    0 likes
    Last Post nicthe
    by nicthe
     
    Started by burtoninlondon, 04-28-2024, 12:38 AM
    3 responses
    34 views
    0 likes
    Last Post burtoninlondon  
    Started by burtoninlondon, 05-01-2024, 10:13 AM
    2 responses
    24 views
    0 likes
    Last Post burtoninlondon  
    Started by LillyMarv, Today, 06:47 AM
    0 responses
    4 views
    0 likes
    Last Post LillyMarv  
    Started by Salahinho99, Today, 04:13 AM
    0 responses
    16 views
    0 likes
    Last Post Salahinho99  
    Working...
    X