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 geotrades1, Today, 10:02 AM
    3 responses
    10 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by rajendrasubedi2023, Today, 09:50 AM
    3 responses
    15 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by lorem, Today, 09:18 AM
    2 responses
    11 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by geddyisodin, Today, 05:20 AM
    4 responses
    29 views
    0 likes
    Last Post geddyisodin  
    Started by ender_wiggum, Today, 09:50 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Working...
    X