• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Tracing Failed to call method 'Initialize' for indicator 'FluxInverseBar': Object ref

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

  • Tracing Failed to call method 'Initialize' for indicator 'FluxInverseBar': Object ref

    I found my issue on initialize

    System.Windows.Forms.Control[] controls = ChartControl.Controls.Find("tsrTool", false);

    the indicator does work but where would I place this line of code in order for the output box not displaying this error.

    This code is for my buttons


    SOLVED !!!

    when using button controls put it in
    if (CurrentBar == 2)
    Last edited by ballboy11; 11-16-2017, 05:40 AM.

  • NinjaTrader_PatrickH
    replied
    Hello ballboy11,

    Thank you for your post.

    You may wish to consider the OnStartUp() function as well for this purpose: https://ninjatrader.com/support/help.../onstartup.htm

    Please let me know if you have any questions.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by uiwislth, Yesterday, 11:25 PM
0 responses
4 views
0 likes
Last Post uiwislth  
Started by Steve L, Yesterday, 10:04 PM
0 responses
3 views
0 likes
Last Post Steve L
by Steve L
 
Started by marianfed, Yesterday, 09:47 PM
0 responses
4 views
0 likes
Last Post marianfed  
Started by hir04068, Yesterday, 09:29 PM
0 responses
2 views
0 likes
Last Post hir04068  
Started by iq200, 03-11-2018, 07:49 PM
24 responses
1,017 views
0 likes
Last Post mrlucky1x  
Working...
X