Current location - Loan Platform Complete Network - Foreign exchange account opening - How to write the average daily price line of straight flush?
How to write the average daily price line of straight flush?
It is impossible to modify the parameters of the moving average, because the moving average is the average of the closing price.

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.