TradingRush BeepBoop Indicator converted for Ninja Trader 8 (NT8)

This is a NinjaTrader 8 version of the BeepBoop indicator.
TradingRush made the original BeepBoop Indicator, and he posted source code online for free.
Conversion by tradingcombine @futures.io.

References:
https://www.youtube.com/watch?v=X2Al4ymrNb0
https://www.youtube.com/watch?v=87h2i57FFSY
https://www.patreon.com/posts/improved-beep-be-43750203
https://www.tradingview.com/script/EBTIgGSC-Beep-Boop/
^ source code:

I recommend viewing his videos to see it in action.

TradingRush: "First calculate the histogram value of the MACD indicator.
Then if histogram value is above 0 and price is above the 50 EMA = Green Bars.
If histogram below zero and price below 50 EMA = Red Bars."
################################################## #############
In this indicator, I tried to copy TradingRush's logic.
There are a few differences:
I used the built-in MACD to calculate the histogram. (TradingRush did a manual calculation.)
I used 0.099 (instead of 0.09) so the bar heights would be closer.
I added boring bars as white.
I had to convert some things to decimal before they could be compared.

You can change the colors of the bars at the "State.SetDefaults".
You can change the MACD defaults and EMA length easily in the indicator.

Disclaimer: This is only an indicator. Don't take trading advice from farm equipment.

Created By tradecombine
NinjaTrader Version 8
File Size 6.0 KB
Create Date 03/01/2021
# of Downloads 1253

Importing to NinjaTrader 8 is Easy!

To import your 3rd party app or add-on to NinjaTrader, simply follow these 3 steps:

  1. Download the app or add-on file to your desktop
  2. From the NinjaTrader Control Center window, select the menu Tools > Import > NinjaScript Add-On…
  3. Select the downloaded file from your desktop

Questions?

Visit the NinjaScript File Sharing discussion in the NinjaTrader user forum to interact with fellow traders and the NinjaTrader support team.