Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unable to cast object of type 'NinjaTrader.Indicator.Assembly to type 'NinjaTrade

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

    Unable to cast object of type 'NinjaTrader.Indicator.Assembly to type 'NinjaTrade

    Hi,

    I have 2 indicators - MainIndicator and SourseIndicator - that works together. Main indicator needs to call Sourse indicator through the chart. They are working perfect as unprotected indicators. But when I save Sourse Indicator as protected Assembly, the Main indicator (unprotected) stops working and gives this error:
    Error on calling 'OnBarUpdate'method for indicator 'MainIndicator' on bar0: Unable to cast object of type 'NinjaTrader.Indicator.SourseIndicator' to type 'NinjaTrader.Indicator.Indicator'
    Last edited by Tatiana; 11-08-2014, 01:55 PM.

    #2
    Hello Tatiana,

    Thank you for your post.

    Can you provide the source files to test on our end? If you prefer you can send them to platformsupport[at]ninjatrader[dot]com with this thread in the subject line: "http://www.ninjatrader.com/support/forum/showthread.php?t=70046"

    Comment

    Latest Posts

    Collapse

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