RicardoSantos

FunctionArrayNextPrevious

Library "FunctionArrayNextPrevious"
Methods to iterate through a array by a fixed anchor point.

array_next(array, start_index) retrieves the next value of the internal pointer index.
  Parameters:
    array: (any array type), array to iterate.
    start_index: int, anchor index to start indexing.

array_previous(array, start_index) retrieves the previous value of the internal pointer index.
  Parameters:
    array: (any array type), array to iterate.
    start_index: int, anchor index to start indexing.

note: regrettably is not possible to have global reference index without juggling it in the parameters and tracking it externally to switch between next/previous
Biblioteca Pine

Siguiendo el verdadero espíritu de TradingView, el autor de este código de Pine lo ha publicado como biblioteca de código abierto, para que el resto de programadores de Pine de esta comunidad puedan volver a utilizarlo. ¡Un hurra por el autor! Puede utilizar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero debe ceñirse a lo establecido en las Normas internas.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar esta biblioteca?

Copie la siguiente línea y péguela en su script.