Kase Bars Type for Ninja Trader, as described in video-interview-kase-bars
Just import into NT, and restart NT. You should then have a "Kase" type available in the intervals in the data series window. The target range is specified in number of ticks.
Note: latest is V5, which undid the NT65 changes in V4 as it was causing problems, but left the new sortId intact.
NT 6.5: Yes - does not support new bar at session boundary
NT 7.0: Yes
This indicator is the Kaufman Adaptive Moving Average, a/k/a KAMA, but which changes color when the indicator changes direction. This is a direct descendant of the Mov Avg Adaptive indicator that comes with TradeStation.
I like single line indicators that change color when a trend changes, so this is my implementation of the KAMA with those attributes.
Indicator Name: Mov Avg Adaptive Color Change Inputs: Same as a normal KAMA, plus:
UsePlotColoring >>> set to true for coloring; false to turn it off
UpTrendColor >>> self explanatory
DownTrendColor >>> self explanatory
Small Difference in Original Calculation:
I added the Round2Fraction function to the MAA calculation, to round to the nearest minimum move for the chart. This helps filter out minor fluctuations when the indicator is practically flat, that may show a change in trend that isn't there. I don't believe this fundamentally changes anything, from my observations.
Import the ELD and apply to a chart. You're all set!
I am posting a MultiCharts version in that section, as the syntax is slightly different.
This indicator is the Kaufman Adaptive Moving Average, a/k/a KAMA, but which changes color when the indicator changes direction. This is a direct descendant of the Mov Avg Adaptive indicator that comes with MultiCharts.
I like single line indicators that change color when a trend changes, so this is my implementation of the KAMA with those attributes. The screenshot here is actually from TradeStation, but it looks and functions the same in MC.
Indicator Name: Mov Avg Adaptive Color Change Inputs: Same as a normal KAMA, plus:
UsePlotColoring >>> set to true for coloring; false to turn it off
UpTrendColor >>> self explanatory
DownTrendColor >>> self explanatory
Small Difference in Original Calculation:
I added the Round2Fraction function to the MAA calculation, to round to the nearest minimum move for the chart. This helps filter out minor fluctuations when the indicator is practically flat, that may show a change in trend that isn't there. I don't believe this fundamentally changes anything, from my observations.
Import the PLA and apply to a chart. You're all set!
I posted a TradeStation version in that section, as the syntax is slightly different.
This indicator is ported from on FatTails' Kaufman Efficiency Ratio indicator for NinjaTrader 7.
The Kaufman Efficiency Ratio shows the amount of "trendiness" versus chop. When the Efficiency Ratio crosses above the chop line, there is a trend. If the Efficiency Ratio crosses below that, the market is range bound.
Efficiency Ratio's above the horizontal chop line cause this line to be coloured yellow to help with the interpretation of chop vs trend.
The Kaufman Eifficiency Ratio is also know as Fractal Efficiency. It can be used as a filter to differentiate between trending conditions and sideways markets.
The efficiency ratio compares the absolute amount of the n-period momentum to the sum of the absolute amounts of the last n close-to-close changes. If all close-to-close changes pointed in the same direction - meaning either n consecutive upcloses or n consecutive downcloses - the fractal efficiency will take the value 100. This is an indication for a strong trend. If the n-period momentum takes the value 0, the fractal efficiency becomes 0 as well, indicating chop.
The fractal efficiency is used by the Kaufman Adaptive Moving Average to identify chop periods.
This version of the Kaufman Efficiency Ratio has a few additional options:
Chopline: I have added a chopline, which depends on the period of the Kaufman Efficiency Ratio. The formula for the chopline is 100/Sqrt(period).
Signalline: I have added a signalline by using a Hull Moving Average(HMA). The market starts trending, when the Kaufman Efficiency Ratio has crossed both the signalline and the chopline from below.
Classic/Balanded: The indicator allows for two different ways of calculating the Kaufman Efficiency Ratio. The 'Classic' option uses the original formula of Perry Kaufman. The 'Balanced' option replaces the absolute amount of the n-period momentum with the absolute amount of the n-period balanced momentum, which is based on a triangular moving average.
Update June 22, 2013: Minor modification to make indicator compatible with indicators/strategies running in COBC = false.
The first time that I saw KDJ Indicator it was part of the standard charting package on the main page used by TDAmeritrade. KDJ indicator is based on the standard Stochastics but it includes an extra line called J line.
The J line is a measure of divergence between %D and %K. The value of J can go beyond [0, 100] range. Values of J line over 100 or under 0 are supposedly the most bullish or bearish for larger swings (no wonder TDAmeritrade is using it for charting stock prices).
One needs to watch as the %D is in overbought and oversold areas (20 - 80). As long as the J line is beyond 0 and 100 percent and has not hooked up or down the price is going to remain in overbought or oversold area. One needs to consider to sell the overbought or buy the oversold when %D is above 80 or below 20 and J line begins to hook down or up. Other indicators such as momentum, volume, support and resistence, etc. need to be considered for confirmation.
January 31st, 2012
Size: 8.09 KB
Downloaded: 1270 times
1107
aligator
This strategy uses Keltner Channels for buying and selling. If
Buying logic
An entry order to buy at the high price of the current bar will be generated if the current bar crosses the upper band.
Selling Logic
An entry order to sell at the low price of the current bar will be generated if the current bar crosses the lower band.
Here's a list of the inputs you will be able to modify when adding the EA:
Keltner Channel Indicator
Length = 20
Numatrs = 1.5 -> this value is multiplied by the average true range of the current bar to determine the distance from the upper and lower bands to the midline.
Other inputs / default values
Limit = 0
Stop = 0
Use SSL = False
Port = 25
Trailing Stop = 0
Email Alert = False
April 23rd, 2021 05:38 PM vmodus Thanks, this is very cool. There is a zero/div error that may occur from time to time that I corrected. Do you want th
e updated code?
October 14th, 2020 10:26 AM vmodus Great little indicator, thank you!