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 sjsj2732, Yesterday, 04:31 AM
    0 responses
    28 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    284 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    281 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    132 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    90 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X