C-Test (Coherency Test) NT 8

An indicator to perform a C-test, or Coherency test, which is a "methodological test for dimensional coherency" as advocated by mathematician William Eckhardt.

This test is used to detect whether or not an indicator may have scaling issues, i.e. the "scale" of the chart may bias the calculations depending on the time frame you pick for your chart. An indicator that doesn't pass the C-test may give inconsistent signals that change based on different time frames.

NOTE: This is not an indicator by itself, it is meant for testing other indicators.

User defined inputs

PlotNumber is the number of the plot in the indicator you wish to test. 1 is the main plot, 2 is the secondary, etc.

For example, a PlotNumber of 1 for the Stochastic is the K line, 2 is for the D line.

Constant doesn't need to be changed, any constant except 1, and no negative numbers, still is a valid test.
TestFunction is a string that defines which indicator you wish to test. It can be any installed indicator so long as it has plots.

I just converting from NT7 to NT8 only.
** Important notes : This indicator is not created 4 plot. What have done is open 1 stochastics, 2 C-Test, 1 MACD

Created By soon123
NinjaTrader Version 8
File Size 3.0 KB
Create Date 12/30/2020
# of Downloads 202

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.