Auto trend line indicator and Market Analyzer with crossover alert for NinjaTrader 8
Please note that this purchase is a 1-Year license. About License renew.
The indicator will automatically plot the upper and lower trend lines based on the most recent swing points. It works on all timeframes that officially supported by Ninjatrader 8.
Both indicator and Market Analyzer will alert on the following conditions.
The video below shows how it plots in real time, please note that I used 50x fast-forward in the replay.
Inputs:
"Alert rearm seconds" is the number of seconds an alert will rearm.
For example, if you set it to 90, the alert will not be triggered within the next 90 seconds.
The Strength input is the number of bar on both sides of a swing point, for example, if we set Upper Right Strength to 3 as shown in the image below, it means that there must be at least 3 bars' high is lower than the Upper Right swing point's high on both sides.
The same mechanism also apply to other Strength inputs.
There are 4 plots that can be used from other NinjaScript, such as Strategy and Market Analyzer.
They will show up on current bar, no delay, no repaint or back-paint.
In default, the color is transparent, if you need to see the plots on the chart, just change its color to your desired ones.
For example, I changed the color of plot "Breakup Upper line" to cyan, as shown in the picture below.
Now you will be able to see all the "Breakup Upper line" signal as "cross" above the bars.
Please note that, it will keep both of the most recent and the previous crossover signal plot on the chart as shown in below.
The Market Analyzer makes possible to track price action related to trend lines in any timeframe.
You may want to check this link (How to use ninjatrader Market Analyzer) if you are not familiar with Market Analyzer.
The inputs are similar in the Market Analyzer add-on, just make sure you load enough bars, the number of bars to load should be at least 500.
You can add more than one column with different settings, the following pic is an example of two timeframes in two columns.
You can add more than one indicator with different inputs to the chart.
The following screenshots are taken randomly.
Updated a filter for Auto trend line indicator and Market Analyzer, now you will be able to use it as a scan as well. Please note that AutoTrendLineFilter doesn't have any built-in alert as AutoTrendLineMAC.
You can find both AutoTrendLineFilter and AutoTrendLineMAC under the Columns, not from the indicator.
There are 5 preset conditions in AutoTrendLineFilter which you can use.
+2 = Above upper trend line
+1 = Cross above upper trend line
0 = Inside two trend lines
-1 = Cross below lower trend line
-2 = Below lower trend line
The following pics are examples.
Copyright @ 2023 Patternsmart - All rights reserved
This website is for educational and informational
purposes only and should not be considered a solicitation to buy or sell a
futures contract or make any other type of investment decision. It's not recommended to use any single indicator as sole evaluation criteria. The companies
and services listed on this website are not to be considered a recommendation
and it is the reader's responsibility to evaluate any product, service, or
company. patternsmart is not responsible for the accuracy or content of any
product, service or company linked to on this website.
Futures trading
contains substantial risk and is not for every investor.Please read the following risk disclosure before considering the
trading of this product:
Futures Risk Disclosure. 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.
Trading stocks, options, futures and forex involves
speculation, and the risk of loss can be substantial.Investor must consider all
relevant risk factors, including their own personal financial situation, before
trading. Trading foreign exchange on margin carries a high level of risk, as
well as its own unique risk factors. Forex investments are subject to
counter-party risk, as there is no central clearing organization for these
transactions. Please read the following risk disclosure before considering the
trading of this product:
Forex Risk Disclosure. Spreads, Straddles, and other multiple-leg option
strategies can entail substantial transaction costs, including multiple
commissions, which may impact any potential return. Options are not suitable for
all investors as the special risks inherent to options trading may expose
investors to potentially rapid and substantial losses. Prior to trading options,
you should carefully read
Characteristics and Risks of Standardized Options.
patternsmart.com
will not be held liable for the loss of money or any damage caused from relying
on the information on this site. Any investment decision you make in your account is solely your responsibility.
TESTIMONIAL DISCLOSURE: TESTIMONIALS APPEARING ON OUR SITE MAY NOT BE REPRESENTATIVE OF THE EXPERIENCE OF OTHER CLIENTS OR CUSTOMERS AND IS NOT A GUARANTEE OF FUTURE PERFORMANCE OR SUCCESS.