A Function that returns cluster centers for given data (X,Y) vector points.
_X: Array containing x data points.¹
_Y: Array containing y data points.¹
_number_of_clusters: number of clusters.
¹: _X and _Y size must match.
_centers_x: Array containing x data points.
Volume clusters created from candlestick volumes.
See also "Poor man's volume profile" .
The code is generated using a template. To change the settings, you may need to regenerate the code. The code has a link to the repository with the template.
I was reading about Fibonacci Clusters on investopedia (www.investopedia.com) and couldn't find a script for it on tradingveiw. Apparently some people use it successfully but I found it a little chaotic. This script will mark the retracements in a window's length, and you can set this for six windows. This script isn't very...
This script can show mtf-clusters from higher time frames. Tenkan-sen, Kijun-sen, Senko-span A and Senko-span B are displayed in the current time frame from higher time frames (the range is from 1 minute to the monthly time frame). Sometimes these levels form clusters that act as strong levels of support and resistance.