PVExtraRegression Channel Indicator
Different polynomial order (not limited) best fit (squared) RegressionChannels drawn, as well extrapolate (=predict) some coming future bars.
Info of the order:Order 0: Actually same as SMA.
Order 1: Similar (=same) as standard RegressionChannel Indicator, straight lines.
Order 2: Nice quadratic curve,
Order 3: a3x^3 + a2x^2 + a1x + a0
Order 4: and so on..
...
You really need to test this yourself, be free, nothing similar is available on the market and fun to watch, and unique! Be free to try it, you might need to restart NT after the first try as at the first try the free trial is enabled.
But most useful are probably those low order values like 2, 3 or 4 as not so much overfitted as larger order curves, which are more like fun and set the period like 40 - 80 at first tests.
Regression is a basic block of many machine learning functions... but this is calculated directly and fast without any slow gradient descent methods here.
Parameters (Default):
- G. FastStartUp (True): Leave True (historical compatibility reasons so it is still there although not needed any more)
- P 1. Period (50): Number of bars to use to calculate regression channel.
- P 2. Polynomial Order (3): Polynomial Order, see some ref: (https://en.wikipedia.org/wiki/Curve_fitting)
- P 3. Width (2): Channel width of standard squared error (stdDev).
- P 4. Extrapolate Bars (4): Extrapolate function to the coming bars. Adjust right side margin from your chart to see the extrapolated values.
Download: NT7 NT8
Purchase (PriceGroup2)
License:
License (=PVSpline) same as in PVBetaGamma, check that too. Included in this download.
Updates:
2016/01/22: v1.03 Defaults more reasonable2016/06/13 v1.0.0.4 Smarter FastStartUp
2016/08/01 v1.0.0.6. new version
2016/10/18 better indication of the direction
2017/10/24 v1.0.0.4 (paintings started 1 bar earlier than should, corrected)
2017/10/24 Added extra "momentum" (and StdDevDiff v1.0.0.5) indication (NT8) (not backpainting) to show direction of predicted coming bars. This is calculated as coming bars direction / ExtrapolateBars, which can be utilized at automated strategies easily (see the values so it can be between those 1 and -1 too if some coming bars are extrapolated up and some down). Added as an extra indicator (same license), diff name: PVExtraRegressionM. See next picture:
2019/02/20 Added an extra PVExtraRegressionP indicator which has two plots, Upper and Lower, for all history and for easier access for automated strategies and so on.
and tested it in one strategy which utilized only that:
This strategy is available (PVExtraRegressionMS, standard strategy model), so you can test your own preferred instrument and find out good parameters if any (hmm, reverse mode seems to work sometimes better!).
Misc:
Same series as PVSpline Indicator, you can use mouse clicks to input values like pick most meaningful ZigZag value there (only NT7).Don't get confused with license name as this PVExtraRegression use PVSpline name as a license key.
Videos:
Random example from the ES:More info from the FDAX:
Example to use some other input like SMA 10 and 20 to predict future price level:
Risk Disclosure: Futures
and forex trading contains substantial risk and is not for every
investor. 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.
Hypothetical Performance Disclosure: Hypothetical
performance results have many inherent limitations, some of which are
described below. no representation is being made that any account will
or is likely to achieve profits or losses similar to those shown; in
fact, there are frequently sharp differences between hypothetical
performance results and the actual results subsequently achieved by any
particular trading program. One of the limitations of hypothetical
performance results is that they are generally prepared with the benefit
of hindsight. In addition, hypothetical trading does not involve
financial risk, and no hypothetical trading record can completely
account for the impact of financial risk of actual trading. for example,
the ability to withstand losses or to adhere to a particular trading
program in spite of trading losses are material points which can also
adversely affect actual trading results. There are numerous other
factors related to the markets in general or to the implementation of
any specific trading program which cannot be fully accounted for in the
preparation of hypothetical performance results and all which can
adversely affect trading results.
Terms of Usage
Terms of Usage
Looks alot like our Hurst Bands Polynomial Regression channels. https://www.youtube.com/watch?v=JioYAbuXokc
ReplyDeleteGreat Jan, it seems that this is created elsewhere too! with much better explanation and video.
ReplyDeleteGenial
ReplyDelete