How do you get the sample result as for example seen with the bubbles in the chart here? When I import the library into an empty indicator script and copy the code example at the end into the script (and adding the library name in front of the corresponding function calls) I get absolutely nothing?
Edit: Solved! :-) I just had to look to the right of the last bar of the actual chart symbol.
BobAndrews
⋅
Hello Ricardo, thanks for the great work as always. Red dot 0 does not look like the cenroid of red dots. Or am I not understanding the plot output correctly?
RicardoSantos
⋅
@BobAndrews, nearest to the center, not the center :)
BobAndrews
⋅
@RicardoSantos, Thanks for the reply. You mean closest to the Centroid? I calculated 26.Aug24; 146 for the Centroid. Other points seem to be closer. I'm just saying it because it's very noticeable.
thenandopro
⋅
so im a bit confused on what this actually dose my friend.
RicardoSantos
⋅
@thenandopro, it uses Kmeans Algorithm to identify clusters in the data.