NinjaTrader 8 Indicators and More - gbTimeSeriesForecastPosNeg
futures io

Categories Help    

NinjaTrader 8 Indicators and More
Indicators and Files in this section are compatible with NinjaTrader 8

gbTimeSeriesForecastPosNeg 5 *
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.

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.

* 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).

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.

Ver 1.1 (03/19/21): Fixed bug with saving template

Category NinjaTrader 8 Indicators and More 
Suggest other entries I might like
Details: gbTimeSeriesForecastPosNeg
Category: NinjaTrader 8 Indicators and More 

March 8th, 2021
Size: 6.85 KB
Downloaded: 214 times


Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada),
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.