TradingView
RicardoSantos
19 nov. 2020 09:57

function: Array Downsampling 

U.S. Dollar / Russian RubleFOREX.com

Description

A low cost function to down sample a array.
specially useful for pattern recognition algorithms.

Notes de version

fixed a oversight in the algo x_x.

Notes de version

added comments

Notes de version

updated algo, there is a inherited gap at the last data slice, were the leftover values are averaged down.
Commentaires
nemovern
Saved me a lot of time making one myself...thanks...
racer8
Is there a useful way to trade this indie?
RicardoSantos
@racer8, its not a indicator
Plus