TradingDJ - Trading and Trading Strategies Programming Blog
  • Home
  • Author
  • NinjaTrader Programming Course
  • NinjaTrader 8 Indicators

FinancialEducation

A collection of 4 posts
How to Make a Sound Alert in NinjaTrader 8 (Step-by-Step)
NinjaTrader 8

How to Make a Sound Alert in NinjaTrader 8 (Step-by-Step)

Learn how to add sound alerts in NinjaTrader 8 using PlaySound, with user-configurable options and real trading strategy examples based on TradingDJ indicators.
Apr 13, 2025 3 min read
Enhancing the Alternating Body Color Pattern: Adding an ATR Filter for Better Performance
AlgorithmicTrading

Enhancing the Alternating Body Color Pattern: Adding an ATR Filter for Better Performance

To further refine the strategy, I introduced a new filter: the signal bar (the second bar in the alternating body color pattern) must be bigger than the ATR of the last 60 bars. I chose the last 60 bars because, in the game, I observed that when the signal bar is bigger, the results seem better.
Jul 28, 2024 4 min read
Exploring the Power of Alternating Body Color Pattern: Backtesting and Automation with NinjaTrader 8
AlgorithmicTrading

Exploring the Power of Alternating Body Color Pattern: Backtesting and Automation with NinjaTrader 8

The Alternating Body Color pattern is straightforward yet powerful: a green candlestick followed by a red one.
Jul 24, 2024 4 min read
The Ultimate Guide to Backtesting: Elevating Your Futures Trading Strategy
Backtesting

The Ultimate Guide to Backtesting: Elevating Your Futures Trading Strategy

Explore the pivotal role of backtesting in futures trading: the key to validating strategies, managing risks, and securing consistent success.
Mar 3, 2024 3 min read
Page 1 of 1
TradingDJ - Trading and Trading Strategies Programming Blog © 2026

Futures and forex trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones' financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.

Hypothetical performance results have many inherent limitations, some of which are described below. no representation is being made that any account will or is likely to achieve profits or losses similar to those shown; in fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk of actual trading. for example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all which can adversely affect trading results.