Arciere84 / Publications
Forum
The average of the highest and lowest values in an array
Good morning everyone. I would like to code an indicator based on the TSI that calculates the 2 threshold values (oversold / overbought) by averaging the 10 largest values in the last year ( number of bars to set according to the TF) for the value of Overbought. Opposite for oversold, i.e. average