Announcement

Collapse
No announcement yet.

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.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X