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

  • bltdavid
    replied
    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.

    Leave a comment:


  • NinjaTrader_ChrisL
    replied
    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.

    Leave a comment:


  • 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

Latest Posts

Collapse

Topics Statistics Last Post
Started by carnitron, Today, 08:42 PM
0 responses
5 views
0 likes
Last Post carnitron  
Started by strategist007, Today, 07:51 PM
0 responses
6 views
0 likes
Last Post strategist007  
Started by StockTrader88, 03-06-2021, 08:58 AM
44 responses
3,974 views
3 likes
Last Post jhudas88  
Started by rbeckmann05, Today, 06:48 PM
0 responses
8 views
0 likes
Last Post rbeckmann05  
Started by rhyminkevin, Today, 04:58 PM
4 responses
58 views
0 likes
Last Post dp8282
by dp8282
 
Working...
X