Rajandran R Creator of OpenAlgo Sketchmaker, RagZ. Building GenAI Applications. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Now the recent curiosity on building Trading AI Agents.

[Ninjascript] Color Coded Stochastic Momentum Oscillator for NinjaTrader

47 sec read

We last time presented simple and modified version of Stochastic Momentum oscillator in color coded histogram format for Amibroker. And this time replicating the same stuff for NinjaTrader. If you understand Stochastic Momentum Oscillator values ranges between +100 to -100. And Generally takes median of High and Low as input. Whereas in the modified version we changed the inputs to median of High, Low and Close. And also the modified version of Stochastic Momentum oscillator has two lookback periods instead of one.

Stochastic Momentum Oscillator

Stochastic Momentum Oscillator is plotted in histogram format and color coded as follows

Green: Increasing Positive Momentum
Blue: Decreasing Positive Momentum (could lead to either potential reversal or sideways action if the trend is really strong)
Red: Increasing Negative Momentum
Yellow: Decreasing Negative Momentum (could lead to either potential reversal or sideways action if the trend is really strong)

OpenAlgo: one API for 35+ Indian brokers

FREE AND OPEN SOURCE

OpenAlgo: one API for 35+ Indian brokers

Self-hosted algo trading platform. Send orders from Python, AmiBroker, TradingView, Excel or a no-code flow through one consistent API.

  • Unified REST and WebSocket API
  • Works with AmiBroker, TradingView, ChartInk and Excel
  • Sandbox mode to test before going live
Get OpenAlgo →by Marketcalls

Requirements

This indicator requires NinjaTrader version 7

Installation Procedure

1)Save the zip-file Download Stochastic Momentum Oscillator for NinjaTrader 7 (no need to unzip) to the location of your choice

2)Go to menu Control Center -> File -> Utilities -> Import NinjaScript…
Import Ninjascript

3)Select the saved zip-file in the opened dialog

4)If everything is OK you will see a confirmation (otherwise an error will be displayed)

Import Ninja Success Message

5)Now to go your charts ->Right click over the chart and Select Indicators -> Select Stochastic Momentum from the list and apply the indicator

Marketcalls Elite Traders Club

MEMBERSHIP

Marketcalls Elite Traders Club

Every Marketcalls course and live mentorship in one membership: 127 courses and 2,500+ hours of learning.

  • Market Profile, Orderflow, AFL, Pine Script and Python
  • Live mentorship and TradEdge trading room
  • Premium tools and the Elite Slack community

Learn by watching: free videos every week

Market Profile, order flow, Python, AI and OpenAlgo tutorials on YouTube.

Rajandran R Creator of OpenAlgo Sketchmaker, RagZ. Building GenAI Applications. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade. Designed and published 100+ open source trading systems on various trading tools. Now the recent curiosity on building Trading AI Agents.

Get Notifications, Alerts on Market Updates, Trading Tools, Automation & More