Work related to ⚡ DirectX

Canvas Dots on Mouse Events


1 min read
Cover image

Just a simple demo using the browser Canvas API used to draw graphics on a web page via JavaScript. Dots are created and highlighted by interacting with mouse (or touch) events.

Link

NinjaScript Best Practices - NinjaTrader 8 Help Guide

for NinjaTrader LLC on .NET-C# NinjaTrader DirectX

1 min read
Cover image

Over 6-years of work supporting C# developers and the end-users of custom scripts, I accumulated a nice collection of tribal knowledge. Sometimes, the solutions to common scenarios were not always clear to end-users how to implement custom scripts. To ensure the best performance and maintenance for their users, one of my last assignments for NinjaTrader was compiling a list of common scenarios, gotchas, and workarounds to help optimize the code distributed through the ecosystem.

Link

NinjaScript Lifecycle - NinjaTrader 8 Help Guide


1 min read
Cover image

NinjaTrader provided a custom classes of programming interfaces that were given low-level access to core software objects to make it easy to develop custom add-ons, yet were wrapped in abstract layers that were sometimes not so easy to understand in common debug scenarios. To help with the learning curve, I worked with the team of product managers and engineers to help ensure that 3rd party developers understood how each instance of their custom NinjaScript types would be expected to be handled by core NinjaTrader platform.

Link

Using SharpDX for Custom Chart Rendering - NinjaTrader 8 Help Guide

for NinjaTrader LLC on DirectX

1 min read
Cover image

NinjaTrader 8 Charts used a .NET Library called SharpDX that worked with the native Microsoft DirectX API. This was a major overhaul from the previously used GDI namespace and in efforts to help provide better for support for custom chart rendering, I was tasked with designing a tutorial to help users understand the new information that came along with the updated requirements.

Link

Working with Brushes - NinjaTrader 8 Help Guide

for NinjaTrader LLC on NinjaTrader DirectX

1 min read
Cover image

NinjaTrader used two different APIs for rending UI components, depending on the performance required. This often caused confusion between the types of .NET objects used for certain tasks, and also required a little bit of guidance to help developers understand some of the multi-threaded implications of using certain types across the life cycle of each object.

Link

Drawing Tools - NinjaTrader 8 Help Guide

for NinjaTrader LLC on .NET-C# DirectX

1 min read
Cover image

When looking at technical financial data, it's common to need to annotate certain data points on the chart that can be saved and shared for others - we took this approach one step further and extended access to our class of "Drawing Tools" to allow users to develop unique drawing tools, building off the concepts we designed to implement the standard set of tools that came with the platform. This was the API Reference that enabled a developer to start using this group of methods and types.

Link
Author image

Matthew Hendricks

Content Management Systems and Documentation