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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    132 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    74 views
    1 like
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    117 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    113 views
    1 like
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    89 views
    0 likes
    Last Post CarlTrading  
    Working...
    X