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 CaptainJack, 05-29-2026, 05:09 AM
    0 responses
    163 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 05-29-2026, 12:02 AM
    0 responses
    83 views
    0 likes
    Last Post CaptainJack  
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    126 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    206 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    185 views
    0 likes
    Last Post CarlTrading  
    Working...
    X