Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

@EMA.cs - Compile error

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

    @EMA.cs - Compile error

    I have the following error and I can't find how to fix it.
    @EMA.cs The namespace 'NinjaTrader.NinjaScript.Indicators' already contains a definition for 'EMA' CS0101 35 15

    #2
    Hello,

    Thanks for your post.


    Please check the following items and advise if you have duplicate files listed.
    • Expand the indicators folder on the right side of the NinjaScript Editor and check if you have duplicate files listed.
    • Go to the Documents\NinjaTrader 8\bin\Custom\Indicators folder and check if duplicate files are listed.

    I suspect there will not be duplicates listed and if there is not I would recommend repairing your installation and then compiling.

    Please follow the steps listed below to completely uninstall and reinstall NinjaTrader.
    • Close all running applications.
    • Uninstall NinjaTrader within Windows Control Panel.
    • Reboot your machine.
    • Once these steps are completed, download and install NT8 from the link below.
    • http://ninjatrader.com/PlatformDirect

    Once complete please compile your files in the NinjaScript Editor and advise if the errors are still present.

    I look forward to your response.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    88 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    48 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    30 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    34 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    68 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X