New Post has been published on https://www.patternsmart.com/cn/auto-trend-line-indicator-and-market-analyzer-with-crossover-alert-for-ninjatrader-8/
Auto trend line indicator and Market Analyzer with crossover alert for NinjaTrader 8
Auto trend line indicator and Market Analyzer with crossover alert for NinjaTrader 8
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.
Price Cross above upper trend line.
Price Cross below lower trend line.
Price Cross above lower trend line.
Price Cross below upper trend line.
Inputs:
Upper Right Strength: the number of bars on the left and right side of the peak C.
Upper Left Strength: the number of bars on the left and right side of the peak A.
Lower Right Strength: the number of bars on the left and right side of the trough D.
Lower Left Strength: the number of bars on the left and right side of the trough B.
"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.
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 addon, 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.
-














