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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    54 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    72 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X