Announcement

Collapse
No announcement yet.

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.

    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 Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      580 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      335 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
      554 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      552 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X