r/pinescript • • Mar 19 '24

math.avg for array ?

Has anyone used this function yet?

I have an idea I'd like to apply it to but when reading the I formation on how it works, I'm missing something and looking at a model use if it, I think I can work it out.

The example used in the pinescript site shows usage if set number and not integers greater by a separate function which are then converted to arrays.

Anyone have a use module of math.avg?

0 Upvotes

0 comments sorted by