Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

MT8 Indicator Build in VS Code

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

    MT8 Indicator Build in VS Code


    Hi,

    I've been building some indicators which are working well. Now I'm trying to move the code into a separate repo and build in them in isolation. I am getting the following error:

    C:\Users\xxxx\GitHub\NinjaTrader\Strategies\xxxx\M odelB.cs(25,22): error CS0234: The type or namespace name 'Forms' does not exist in the namespace 'System.Windows' (are you missing an assembly reference?)​
    C:\Users\xxxx\\GitHub\NinjaTrader\Indicators\xxxx\ ModelV.cs(723,16): error CS0246: The type or namespace name 'Brush' could not be found (are you missing a using directive or an assembly reference?)​


    I'm referencing the NinjaTrader Core dll in the csproj file as follows:

    <Project Sdk="Microsoft.NET.Sdk">
    <PropertyGroup>
    ​ <TargetFramework>net7.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    </PropertyGroup>
    <ItemGroup>
    <Reference Include="NinjaTrader.Core">
    <HintPath>references\NinjaTrader.Core.dll</HintPath>
    </Reference>
    </ItemGroup>
    </Project>

    I'm just using a standard dotnet build command to build.

    I'd really like to get an automated build using GitHub actions.

    Please can you help?


    #2
    Hello, thanks for writing in. Unfortunately, this is not supported and we do not have any examples that I can provide. NinjaTrader uses the CodeDOM module in C# that builds the Custom.DLL file and compiles all the dlls into the Custom DLL file but none of this is described in the help guide, so unfortunately it goes beyond the scope of support I am able to provide.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    637 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    366 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    107 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    569 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    571 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X