PROTECTED SOURCE SCRIPT
تم تحديثه 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.
ملاحظات الأخبار
changed menusملاحظات الأخبار
simplifyingنص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي محمي
تم نشر هذا النص البرمجي كمصدر مغلق. ومع ذلك، يمكنك استخدامه بحرية ودون أي قيود - تعرف على المزيد هنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.