PROTECTED SOURCE SCRIPT
Aggiornato Chop-meter

- it finds the first three bars.
- if second bar's low is higher than first bar's low and third bar's low is higher or equal to second bar's low, a positive point is marked for this trio.
- if second bar's high is lower than first bar's high and third bar's high is lower or equal to second bar's high, a positive point is marked for this trio.
- if second bar's low is higher than first bar's low and third bar's low is lower than second bar's low, a negative point is marked for this trio.
- if second bar's high is lower than first bar's high and third bar's high is higher than second bar's high, a negative point is marked for this trio.
- if second bar's low is higher than first bar's low and the third bar's low is lower than the first bar's low, another negative point is marked for this trio.
- if second bar's high is lower than first bar's high and the third bar's high is higher than the first bar's high, another negative point is marked for this trio.
- then the indicator moves one bar right. now the second bar becomes the first, the third becomes the second and the next bar becomes the third bar.
- if the second bar's high is higher than the first bar's high AND the second bar's low is lower than the first bar's low, add a negative point to the trio.
- if the second bar's high is lower than the first bar's high AND the second bar's low is higher than the first bar's low, add a negative point to the trio. (because that condition already receives 2 points, and i want it to receive only one point since this is consolidation)
- if we run out of bars the indicator stops the process. if we had less than 3 bars, the indicator does nothing. if it has three bars, there is one trio. if we have 4 bars we have 2 trios and so forth.
- the points of all trios are added together and the number of overall trios is counted.
- the output is the percentage of overall points to overall trios.
- the theory is that the higher that percentage is, the less choppy the graph is. the lower the percentage is, the more it is choppy. the final value is an inverted value - the higher it is, the choppier the graph is.
- if second bar's low is higher than first bar's low and third bar's low is higher or equal to second bar's low, a positive point is marked for this trio.
- if second bar's high is lower than first bar's high and third bar's high is lower or equal to second bar's high, a positive point is marked for this trio.
- if second bar's low is higher than first bar's low and third bar's low is lower than second bar's low, a negative point is marked for this trio.
- if second bar's high is lower than first bar's high and third bar's high is higher than second bar's high, a negative point is marked for this trio.
- if second bar's low is higher than first bar's low and the third bar's low is lower than the first bar's low, another negative point is marked for this trio.
- if second bar's high is lower than first bar's high and the third bar's high is higher than the first bar's high, another negative point is marked for this trio.
- then the indicator moves one bar right. now the second bar becomes the first, the third becomes the second and the next bar becomes the third bar.
- if the second bar's high is higher than the first bar's high AND the second bar's low is lower than the first bar's low, add a negative point to the trio.
- if the second bar's high is lower than the first bar's high AND the second bar's low is higher than the first bar's low, add a negative point to the trio. (because that condition already receives 2 points, and i want it to receive only one point since this is consolidation)
- if we run out of bars the indicator stops the process. if we had less than 3 bars, the indicator does nothing. if it has three bars, there is one trio. if we have 4 bars we have 2 trios and so forth.
- the points of all trios are added together and the number of overall trios is counted.
- the output is the percentage of overall points to overall trios.
- the theory is that the higher that percentage is, the less choppy the graph is. the lower the percentage is, the more it is choppy. the final value is an inverted value - the higher it is, the choppier the graph is.
Note di rilascio
changed menusNote di rilascio
simplifyingScript protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.