仕事が完了した
指定
The Objective of Coding/Modifying R-squared is for the following reasons
-
Graphically show mode with words. Ex => Ascending/Descending
-
Calculate Average of selected time frames, and determine, if on average(By adding the values of selected time frames, and dividing by the # of time frames selected, and if Critical value meets 95% confidence, Display if R-squared is ascending or descending, for selected time frames on average, regardless of what time frame indicator is attached too.
-
If only a single time frame is selected, then show/display indicator output for selected time frame ,only if Critical Value has 95% confidence=> Ascending/Descending
-
Be able to determine Reversal
-
You may even consider opening a short-term position opposite the prevailing trend when you observe r-squared rounding off at extreme levels. For example, if the slope is positive and r-squared is above 0.80 and begins to turn down, you may consider selling or opening a short position.
-
If reversal is occurring => Display in Words and arrows to display in which direction, the reversal is going to happen or is happening.
-
This table shows the values of r-squared required for a 95% confidence level at various time periods. If the r-squared value is less than the critical values shown, you should assume that prices show no statistically significant trend.
Number ofPeriods r-squaredCritical Value(95%confidence):
5 0.77
10 0.40
14 0.27
20 0.20
25 0.16
30 0.13
50 0.08
60 0.06
120 0.03
* Let the # periods and critical values are also customizable by user input.
6) When R-squared is >= .75, on a selected timeframe, display Caution. If more than one time frame is selected, take the average value of the selected time frames, and if >= .75, then display Caution. Let User be able to input Values