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

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 sidlercom80, 10-28-2023, 08:49 AM
    166 responses
    2,233 views
    0 likes
    Last Post sidlercom80  
    Started by thread, Yesterday, 11:58 PM
    0 responses
    1 view
    0 likes
    Last Post thread
    by thread
     
    Started by jclose, Yesterday, 09:37 PM
    0 responses
    6 views
    0 likes
    Last Post jclose
    by jclose
     
    Started by WeyldFalcon, 08-07-2020, 06:13 AM
    10 responses
    1,414 views
    0 likes
    Last Post Traderontheroad  
    Started by firefoxforum12, Yesterday, 08:53 PM
    0 responses
    11 views
    0 likes
    Last Post firefoxforum12  
    Working...
    X