Skip to main content

Buy and Sell buttons, directly on the Ninjatrader chart

By January 24, 2018August 9th, 2019Tech, Trading

pjsBuySellButtons – A first draft of on-chart order buttons for Ninjatrader 8

This strategy places buy and sell buttons on your chart, per the below image.

What I wanted…

Sometimes you just want to stab the Buy or Sell button, don’t you?  I don’t have space nor want a DOM running for everything. The inbuilt ‘CharTrader’ (as shown below) wastes soooo much chart space. My version is more space efficient, for me, at least.  I don’t want a 3rd of my chart space filled with the empty space the CharTrader sidebar uses.

Ninjatrader 8 On chart buy and sell buttons

Things you need to know

This is an early ALPHA. I built it to see if I find it useful and to get some ideas of what to build for production. It is in no way intended for use on LIVE accounts! You heard me. Any losses incurred during it’s use are entirely your own.

In order to access Ninjatrader’s order management, this app needs to be installed as a strategy on the chart and not as an indicator. Right click your chart, go to strategies, install it and make sure you ‘Enable’ it.

The avg price reported is the price Ninjatrader calculates. If you scalp in and out maintaining a position, it is useless. I will probably change this to add a proper theoretical average, maybe even plot a BE line and risk management.

It currently places market orders only. This is likely fine on ES etc, but beware if trading thin, widely spread instruments.

Make a game of it

Think you can swing trade? Make a game of it. If you have replay data, load up your chart, add your favourite indicators, add the buttons to the chart, turn on market replay, turn up the speed and stab away. When you finally get bored, go look at the trade statistics and see if you made any money. This is a surprisingly entertaining and revealing exercise, especially on long term charts/trends.

What do you think? Have any ideas? Let me know in the comments section below.

You might like to take a look at some of my other Ninjatrader bits and pieces.


Ninjatrader 8


None yet


New download COMING SOON

As usual, let me know below if any issues and I will try to resolve, time permitting.

If you download it, and like it, please do me a favour and give it a little like above so I know. Thanks!


Remember, I need to eat too 🙂

This tool, per most of my tools is free for non-commercial use (I define that as a ‘private’ investor with your own funds), but if you find it useful and wish to donate beer money, you can do so Via Bitcoin or PayPal. Any amount (no matter how small) will give you a warm fuzzy feeling and help me keep the power on. Be fair, just donate what you think is right. Thank you.

Bitcoin to  1PsQP6ECsevKRck4NPNJ3ZLnGaSJLxNyUT

PayPal to pjs DOT guernsey AT gmail DOT com

Commercial arrangements and custom versions are available if you wish to re-distribute or use for commercial purposes.  Please do not redistribute this, but feel free to link to it here.

At the very least, if you liked this or found it useful, please let me know in the comments section below or give it a like/share above. Thanks!

Contact me

Email me via the web site if you want to get in touch.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.