LeoParticipant
Veteran
Hi all,
Inspired by this video I wonder if it is possible create somthing like this in prorealtime:
Something like create a loop inside a loop to read the past values like range and label it and the outer loop to refine the centroid.
The output can be an integrer value used as a name for the labels.
The initial random centroid can be generated with a pseudo-randome code.
Later on. We can see how can we trade or predict the next candle… If it is some how predictable.
Will you help me in this?
LeoParticipant
Veteran
I try to make a Pseudo code and it looks that we need indeed array support from this language…
I haven’t looked at the video, but it is possible to make nested loop. The code of this indicator is a typical example of how it should look: Bull & Bear Volume-by-Price levels
There are some limitations though, because of the infinite loop memory limit …
LeoParticipant
Veteran
Will have a look in that.