gbTimeSeriesForecastPosNeg (Ver 1.1) by TraderGB, March 8, 2021
In the process of coding gbMAxMTFx4, I had to go through each average/filter indicator that this script called and see what the minimum value was for length. To my surprise the stock Time Series Forecast (TSF) that comes with NT8 allows the Forecast input to be negative down to -10. I thought that was interesting and is what inspired this indicator.
Concept:
The basic idea here is to plot both a positive and negative time series forecast for a given length. It follows this rule for trend:
* Trend changes to UP when both positive and negative TSF rise together.
* Trend changes to DOWN when both positive and negative TSF fall together.
Input:
* PosForecastValue can be an integer between 1 and 10.
* NegForecastValue can be an integer between -1 and -10.
* Usually you'll want to have the same pos/neg forecast value, one positive and one negative (i.e., 3 and -3). But, this indicator allows you to input different values for this (i.e., 3 and -4).
Options:
There are many options on how you choose to decorate this indicator:
* Allows color/opacity rising or falling for plots, shade area, bar body, bar outline, background, and hi/lo line.
* Hi/Lo Lines are just the lines that extend to the right of both the TSF plots.
* Option to turn on/off coloring for plots, shade area, and bars.
* Hi/Lo lines have options to turn on/off, line style, and line width.
Updates:
Ver 1.1 (03/19/21): Fixed bug with saving template
Category NinjaTrader 8 Indicators and More
|
|
|