The idea of a channel similar to Donchian channel but one that expands in trending markets and narrows in a ranging markets was born by Alex Grover on TradingView.
This script is a conversion from original TV script to Ninjascript.
The channel breakout generally indicates beginning of a new trend and pullbacks towards middle of channel are generally reliable trend continuation signals.
I have added multi timeframe version of this script here that shows trend in a higher timeframe and pullbacks in a lower timeframe.
Improvements and additions in this script are welcome.
Hello, This one is a conversion from the d9 particle oscillator for NT7 posted in elite section in2009.
I did not see the NT8 version here so am uploading the NT8 version I converted.
Please see the description of this indicator by original author here https://nexusfi.com/
There were 2 library files in original NT7 version , now in NT8 version there is a single file and the smoothing function of the prediction line is based on a windows graphics function and not on a mathematical formula which I have omitted from NT7. Otherwise theNT8 version looks same as NT7.
after a little escape from coding NT8, I decided to take another go at it and am moving forward with my little project. In order to help track some of these Top-Step rules, I am making a series of indicators, starting with an indicator that tracks the trailing max drawdown and target goal for a Combine.
The SDY_Account_Risk_Targets indicator is designed to keep track of the training max drawdown of an account (not a strategy). It was developed to help traders that have restrictions on the maximum amount they are allowed to lose. For example, in Top Step trading combine, the 50k dollar version has a max trailing loss of 2k and a profit goal of 3k.
I will still need to make an indicator for both the weekly max loss and the daily max loss.
This indicator access the account level not the security level of Ninjatrader and will only work on non-historic data, so like past indicators, members gladly told me that it does not work (when it does) do not try and use this on historic data. Market replay works fine, but not optimization.
To use the indicator, select the account you want to monitor in the drop-down and your risk targets, add the indicator and wait. To read the values of the account it will wait for an account update change (i.e. trading).
Sody
(this indicator is part of a personal project where I am openly building a training system for fun, follow along here)
This indicator monitors the slope of 5 Moving Averages and plots colored lines across the bottom of the chart panel. It also optionally plots a trend signal and arrow on the chart when all 5 moving average slopes are all moving in the same direction.
I originally built this as a companion indicator to the Zombie5EMA indicator, which is shown in the screenshot as well. However, my indicator also allows you to choose between a selection of different Moving Average types, so keep that in mind when you adjust the settings.
The Slope Lengths determine the number of bars used to look back and calculate the slope of each Moving Average with. The background trend colors change when all 5 slopes are pointing up (> 0), or point down (< 0).
One thing you can look for is that the 5 plots will start to create lots of noise as their colors change. This can indicate either a pullback, a trend change, or a ranging market. You may be able to filter out false signals with something else to indicate momentum?
This indicator calculates multiple Laguerre RSIs across two time frames in addition to your chart timeframe, and then plots them horizontally as a visual pullback indicator. It does not plot like a normal Laguerre RSI!
The idea is that your chart would be the "medium" time frame, and you would then select a lower and higher timeframe to compliment your chart.
The indicator allows you to set the Gamma, Upper and Lower threshold for each Laguerre RSI
The indicator allows you to select from any of Ninjatrader's built-in time settings
A long entry would look like this:
- Higher timeframe (lower bar) is showing long (preferably green)
- Chart timeframe (middle bar) has retraced and is showing orange or red
- Lower timeframe (thinner, topmost bar) is crossing back to yellow or green
The default colors are setup like so:
Red - Below the 20 line of the Laguerre RSI (or can be set to your own value)
Orange - Between the lower line and 50
Yellow - Between 50 and the upper line
Green - Above the 50 line
At this time the indicator does not plot a signal, but it most likely will in the near future.
NEW:
3 new signal plots have been added for use with Strategy building. Line1, Line2, and Line3 will return values of 1-4 depending on how they are plotting. All signaling "buy" would be a 4,4,4 combination, and "sell" would be "1,1,1". A pullback for a long entry might look something like "1,3,4", depending on the way you have your lines arranged.
Changelog
1.00 - Initial release
1.10 - Updated first line width
Added ability to change position of the line representing the chart time frame
Added new plots for tracking signals
This indicator plots a Moving Average channel on your chart along with a background color channel and optional plot colors according to the slope of the moving averages.
The Moving Average selection includes these Ninjatrader system indicators:
DEMA,EMA,HMA,LinReg,SMA,TEMA,TMA,VWMA,WMA, and ZLEMA
It also includes the Smitty SMMA indicator so that you can select a Smoothed Moving Average.
This indicator plots up to 5 Donchian Channels at periods that you select.
It also draws a shaded region below the bars, which adds a nice "focusing" effect to the price action. The price will always be in the darkest part of the channel, and the higher-period channels will be less opaque.
It also includes an option to display dynamic support & resistance lines which are based on the fastest Donchian Channel values. As the line intersects with the higher Donchian channel periods, the line width will adjust and grow to indicate the possibility of a stronger move at the next line break.
Thanks to @icedfrosty for sharing his excellent work which has motivated me to share my own.
I am an elite member & this is my first time trying this & for the life of me I can not find the 'appropriate' place to post a question concerning an NT7 indi being created for NT8.
The NT7 indi is listed after download as eWilliams LLMa or eWilliams JMA. I have the code & compared to so many others I have seen it appears fairly 'simple'. My reason for wanting it = SO much simplier to use than the 3 indies put together in NT8. Searched everywhere with no luck for a year and half & finally came here.
ANY help would be greatly appreciated & again I apologize if I am off base asking here.
Screenshots = NT7 with indi & shows how it loads...no idea author. & NT 8 version same time with 'busy' replacements.
well dead in the water already since I am not sure how to post a url of my screenshot...
I took jpg of the code & png of same time frame - 1 shot each of NT7 and NT8 of June 23, 2021.
Appears you have to download the NT7 shot & the NT 8 shows in post or vise versa.
Since I may ultimately be in the wrong place to even ask....will see if someone can help before I push anymore buttons.
THANK YOU ALL for your wonderful contributions.
Lavender
Option for a trailing stop using ATR times a Multiple
Entry rules at this point are very simple,
Enter Long: Close > Open
Enter Long: Close > previous High
Enter Long: fast MA > Slow MA
Enter Short: Close < Open
Enter Short: Close < previous Low
Enter Short: fast MA < Slow MA
Exit Rules:
Exit Long: fast MA < Slow MA
Exit Short: fast MA > Slow MA
06/16/2021 - if you are trying to test the system on non live data you will need to remove: if(State == State.Historical) return;
if(State == State.Historical) return;
This line of code stops the system from accessing historic trades.
This is an untested and barebones template. Use at your own risk. THERE MAY BE BUGS in the system and you are encouraged to adapt and change the model as you see fit. I ASSUME NO RESPONSIBILITY AND NO LIABILITY FOR ANY TRADES OR BAD FILLS. USE AT YOUR OWN RISK.
June 24th, 2021 01:24 AM hedgeplay Each comment I left includes a link for you so be sure to read all three comments. Be sure and Read all Three comments.
Here is the link to the AuLLMA.cs I mention in the first comment.
July 7th, 2024 07:44 PM fishtrade Thank You. Would it be possible to add visual signals to the chart, if we want to trade this visually? Also I have downl
oaded the indicator, do not see an option for highest time frame. My chart is 5 Min, there is a 1 Min & 5 Min. Believe P
os. 1 & 3 are same, 5 Min
January 19th, 2024 08:50 PM Drewski1980 Awesome!! Are you still planning to add signals/alerts? If so could you add an audio alert as well?
October 13th, 2022 09:27 AM Future4 just added your MTFL;
for me a big help to stay in the trend.
Many TY Helli
January 12th, 2022 08:21 PM d1david
November 26th, 2021 07:14 PM topdogtony i will try this out this Thanksgiving weekend. Thank you!!!
July 25th, 2023 10:10 AM BeastModeTrader24 Anyone care to offer a brief explanation of how they incorporate the d9 Partice Oscillator in their trading decisions?
April 21st, 2023 12:54 AM Ganymed thanks great
April 21st, 2023 12:54 AM Ganymed
March 27th, 2023 01:13 PM Zenersev
July 9th, 2022 05:12 PM newell This is a very nice indicator, thank you! I am not sure how I will use it but it does add some confluence to what I alre
September 16th, 2024 12:46 PM tt7777 Thanks for sharing. Ive been all over the place with my trading and I think this will give me better entry points and a
better idea of possible direction.
March 14th, 2024 12:50 PM Ganymed
March 14th, 2024 12:50 PM Ganymed THANKS
February 27th, 2024 07:27 PM Robinhood Good Stuff Thanks