There is this indicator in the communication letter, that is, ZX, the center of gravity line, which is equivalent to the one-day average price line. The source code is as follows (flush is available and tested):
AV:0.0 1 * amount/volume;
Note: The index is used in different ways.