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

When strategy draws object other mail alerts stop working

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

    When strategy draws object other mail alerts stop working

    I developed strategy called FibonacciATM20. This strategy (when some conditions are met) draws fibonacci object on chart.

    In other chart I have indicators EmailTrades or NinzaTotalAlert - which send email. Everything works fine, until fibonacci object in strategy is drawn. Emails stop working.. When I use example strategy in NT7 StrategyEmaCrossover everything works fine.

    Do you have idea, what is wrong with my Fibo strategy, that it causes problem - mails stop coming? Is the problem with drawing inside strategy? Or because I add buttons in strategy?
    It does not make sense to me :-/ All files I add as attachments.

    I would appreciate any help.

    Thanks lot

    Pavel Kujal
    Attached Files

    #2
    Hello Pavel,

    Thank you for your post.

    Please check the log tab of your Control Center. Do you have errors coming from there?

    I look forward to your reply.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by kujista View Post
      I developed strategy called FibonacciATM20. This strategy (when some conditions are met) draws fibonacci object on chart.

      In other chart I have indicators EmailTrades or NinzaTotalAlert - which send email. Everything works fine, until fibonacci object in strategy is drawn. Emails stop working.. When I use example strategy in NT7 StrategyEmaCrossover everything works fine.

      Do you have idea, what is wrong with my Fibo strategy, that it causes problem - mails stop coming? Is the problem with drawing inside strategy? Or because I add buttons in strategy?
      It does not make sense to me :-/ All files I add as attachments.

      I would appreciate any help.

      Thanks lot

      Pavel Kujal
      I see you're using the EmailTrades indicator ....

      Have you changed any of your habits of how you bring up NinjaTrader and start
      your strategy?

      Are you connecting to your account before or after you add the EmailTrades indicator
      to a chart?

      First, EmailTrades should be added to a single chart only (just one chart, be careful of
      this) and it needs to be added to that chart before you connect to your broker.

      Next thing is add some Print statements to inside of OnConnection method
      in EmailTrades.cs. You'll want to confirm the OnExecution event handler is being
      properly added to the account.

      Next step, does that OnExecution event handler ever get called?
      Add Print statements to find out.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by bmartz, 03-12-2024, 06:12 AM
      4 responses
      31 views
      0 likes
      Last Post bmartz
      by bmartz
       
      Started by Aviram Y, Today, 05:29 AM
      4 responses
      11 views
      0 likes
      Last Post Aviram Y  
      Started by algospoke, 04-17-2024, 06:40 PM
      3 responses
      28 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by gentlebenthebear, Today, 01:30 AM
      1 response
      8 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by cls71, Today, 04:45 AM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X