Giter VIP home page Giter VIP logo

addonshellproject's Introduction

NinjaTrader AddonShell Project

Screenshot of AddonShellProject

About

AddonShellProject is an add-on for NinjaTrader. It serves as an example of how to use the NinjaTrader add-on framework and demonstrates some of its capabilities. The primary script in this project is called AddonShell, which extends AddOnBase and provides functionality for adding a custom menu item to the Control Center window.

Some technical features and capabilities demonstrated by this add-on include:

  • Adding a custom menu item to the Control Center window
  • Subscribing to events for when a new NTWindow is created or destroyed
  • Checking if a specific NTWindow (in this case, the Control Center) is present
  • Finding existing menu items in the Control Center's main menu
  • Creating a new NTMenuItem with custom text and style
  • Adding a click handler to the new NTMenuItem to perform an action when clicked

This add-on serves as a useful example for developers looking to create their own custom add-ons for NinjaTrader using the add-on framework.

Prerequisites

To use this AddOn, you need to have NinjaTrader 8 installed on your computer. You also need to have basic knowledge of programming in C# and the development environment Visual Studio.

Installation

To install this AddOn, follow these steps:

  • Clone or download this repository to a local folder.
  • Open the file NinjaTraderAddOnProject.sln in Visual Studio.
  • Compile the project and copy the file AddonShellProject.dll generated to the folder Documents\NinjaTrader 8\bin\Custom\AddOns.
  • Restart NinjaTrader 8 and check if the AddOn was loaded correctly.

Usage

To use this AddOn, follow these steps:

  • In the main menu of NinjaTrader 8, select Tools > Options > General > Miscellaneous > Allow custom assembly loading and check the option.
  • In the main menu of NinjaTrader 8, select New > Custom Tab 1 or Custom Tab 2. These are the custom tabs created by the AddOn.
  • In Custom Tab 1, you can see a window with a button that shows a message when clicked. In Custom Tab 2, you can see a window with a simple chart of a time series.

Author

This AddOn is based on the sample code provided by NinjaTrader LLC and modified by Samuel Caldas. Some of the features of this AddOn are inspired by other third-party AddOns for NinjaTrader 8. All credit goes to the original authors of these AddOns.

Todo:

  • Fix Bid and Ask
  • Implement MarketData and MarketDepth output

addonshellproject's People

Contributors

samuelcaldas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.