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

'customIndecator' is a 'namespace' but used as a 'type'

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

    'customIndecator' is a 'namespace' but used as a 'type'

    I'm trying to use a custom indicator in the strategy builder, and I'm getting the following error while compiling:

    'customIndecator' is a 'namespace' but used as a 'type'

    if I press on the error, it redirects me to the error line in the class level:

    private customIndecator customIndecator1;

    is there a way to fix this error?

    Thanks!

    #2
    Hello fadi9,

    Thanks for your post.

    What version of NinjaTrader are you using? Please provide the entire version number. This can be found under Help -> About (Example: 8.0.?.?​)

    Is the indicator one that you created or was it created by a third-party developer?

    How exactly is the indicator being called in the Strategy Builder strategy?

    If possible, please send me an exported copy of the indicator so I may look into this.

    Please send a screenshot demonstrating how the indicator is being used in the strategy.
    • To send a screenshot with Windows 10 or newer I would recommend using the Windows Snipping Tool.
    • Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screenshot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save it as a jpeg file and send the file as an attachment.
    ​Thanks in advance; I look forward to assisting further.
    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Taddypole, 04-26-2024, 02:47 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Eduardo  
    Started by futtrader, 04-21-2024, 01:50 AM
    6 responses
    58 views
    0 likes
    Last Post futtrader  
    Started by sgordet, Today, 11:48 AM
    0 responses
    4 views
    0 likes
    Last Post sgordet
    by sgordet
     
    Started by Trader146, Today, 11:41 AM
    0 responses
    5 views
    0 likes
    Last Post Trader146  
    Started by jpapa, 04-23-2024, 07:22 AM
    2 responses
    19 views
    0 likes
    Last Post rene69851  
    Working...
    X