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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    48 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    38 views
    0 likes
    Last Post CarlTrading  
    Working...
    X