The_Brit

SgjoeLibrary

Library "SgjoeLibrary"
Custom functions

highest_when(float, float) Permits a condition to be used with highest(high,condition)
  Parameters:
    float: _high_series The High for the condition
    float: _when The condition such as close > high
  Returns: The high(s) at the point(s) the condition was true

lowest_when(float, float) Permits a condition to be used with lowest(low,condition)
  Parameters:
    float: _low_series The Low for the condition
    float: _when The condition such as close < low
  Returns: The low(s) at the point(s) the condition was true
Biblioteca do Pine

No verdadeiro espírito TradingView, o autor publicou este código de Pine como uma biblioteca de código aberto para que outros programadores de Pine de nossa comunidade possam reutilizá-lo. Um brinde ao autor! Você pode usar esta biblioteca em particular ou em outras publicações de código aberto, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.

Gostaria de usar essa biblioteca?

Copie a seguinte linha e cole-a em seu script.