PINE LIBRARY
Atualizado ZV-Resources by ZuperView.com

Library "zuperview"
ComputeMAValue(maType, series, period)
ComputeMAValue
description Computes the moving average (MA) value based on the specified MA type.
Parameters:
maType (string): (string) The type of moving average: "EMA", "SMA", "RMA", "WMA", "HMA", "VWMA", "LinReg".
series (float): (float) The input price series (typically close).
period (simple int): (int) The number of periods used for MA calculation.
Returns: (float) The computed MA value or `na` if maType is invalid.
ComputeATRValue(period)
ComputeATRValue
description Computes the moving average (ATR) value based on the specified ATR type.
Parameters:
period (int): (int) The number of periods used for MA calculation.
Returns: (float) The computed ATR value or `na` if maType is invalid.
Max(src, period)
Parameters:
src (float)
period (int)
Min(src, period)
Parameters:
src (float)
period (int)
ComputeRSIValue(src, period, smooth)
ComputeRSIValue
description Computes the moving average (RSI) value based on the specified RSI type.
Parameters:
src (float): (series) Input series (series float), which can be close (`close`), open (`open`), high (`high`), low (`low`), or any other price-based series.
period (int): (int) The number of periods used for MA calculation.
smooth (int)
Returns: (float) The computed RSI value or `na` if maType is invalid.
ComputeSMMAValue(src, period)
ComputeSMMAValue
description Computes the moving average (SMMA) value based on the specified SMMA type.
Parameters:
src (float): (series) Input series (series float), which can be close (`close`), open (`open`), high (`high`), low (`low`), or any other price-based series.
period (int): (int) The number of periods used for MA calculation.
Returns: (float) The computed SMMA value or `na` if maType is invalid.
ComputeStochasticValue(src, periodD, periodK, smoothingMethod, smoothingPeriod)
ComputeStochasticValue
description Computes the moving average (SMMA) value based on the specified SMMA type.
Parameters:
src (float): (series) Input series (series float), which can be close (`close`), open (`open`), high (`high`), low (`low`), or any other price-based series.
periodD (simple int): (int) The number of periods used for MA calculation.
periodK (int): (int) The number of periods used for MA calculation.
smoothingMethod (string): (string) The type of moving average: "EMA", "SMA", "RMA", "WMA", "HMA", "VWMA", "LinReg".
smoothingPeriod (simple int): (int) The number of periods used for MA calculation.
Returns: (float) The computed Stochastic(K, D) value or `na` if maType is invalid.
ComputeMAValue(maType, series, period)
ComputeMAValue
description Computes the moving average (MA) value based on the specified MA type.
Parameters:
maType (string): (string) The type of moving average: "EMA", "SMA", "RMA", "WMA", "HMA", "VWMA", "LinReg".
series (float): (float) The input price series (typically close).
period (simple int): (int) The number of periods used for MA calculation.
Returns: (float) The computed MA value or `na` if maType is invalid.
ComputeATRValue(period)
ComputeATRValue
description Computes the moving average (ATR) value based on the specified ATR type.
Parameters:
period (int): (int) The number of periods used for MA calculation.
Returns: (float) The computed ATR value or `na` if maType is invalid.
Max(src, period)
Parameters:
src (float)
period (int)
Min(src, period)
Parameters:
src (float)
period (int)
ComputeRSIValue(src, period, smooth)
ComputeRSIValue
description Computes the moving average (RSI) value based on the specified RSI type.
Parameters:
src (float): (series) Input series (series float), which can be close (`close`), open (`open`), high (`high`), low (`low`), or any other price-based series.
period (int): (int) The number of periods used for MA calculation.
smooth (int)
Returns: (float) The computed RSI value or `na` if maType is invalid.
ComputeSMMAValue(src, period)
ComputeSMMAValue
description Computes the moving average (SMMA) value based on the specified SMMA type.
Parameters:
src (float): (series) Input series (series float), which can be close (`close`), open (`open`), high (`high`), low (`low`), or any other price-based series.
period (int): (int) The number of periods used for MA calculation.
Returns: (float) The computed SMMA value or `na` if maType is invalid.
ComputeStochasticValue(src, periodD, periodK, smoothingMethod, smoothingPeriod)
ComputeStochasticValue
description Computes the moving average (SMMA) value based on the specified SMMA type.
Parameters:
src (float): (series) Input series (series float), which can be close (`close`), open (`open`), high (`high`), low (`low`), or any other price-based series.
periodD (simple int): (int) The number of periods used for MA calculation.
periodK (int): (int) The number of periods used for MA calculation.
smoothingMethod (string): (string) The type of moving average: "EMA", "SMA", "RMA", "WMA", "HMA", "VWMA", "LinReg".
smoothingPeriod (simple int): (int) The number of periods used for MA calculation.
Returns: (float) The computed Stochastic(K, D) value or `na` if maType is invalid.
Notas de Lançamento
v2The TEMA & DEMA methods were added
Biblioteca do Pine
No verdadeiro espirito do TradingView, o autor desse código Pine o publicou como uma biblioteca de código aberto, para que outros programadores Pine da nossa comunidade possam reusa-los. Parabéns ao autor! Você pode usar essa biblioteca privadamente ou em outras publicações de código aberto, mas a reutilização desse código em publicações é regida pelas Regras da Casa.
👉 Explore all indicators & systems: zuperview.com/
👉 Join our Discord community: disscord.gg/YKE6ujrw59
Many free indicators will come in the future, stay updated!
👉 Join our Discord community: disscord.gg/YKE6ujrw59
Many free indicators will come in the future, stay updated!
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.
Biblioteca do Pine
No verdadeiro espirito do TradingView, o autor desse código Pine o publicou como uma biblioteca de código aberto, para que outros programadores Pine da nossa comunidade possam reusa-los. Parabéns ao autor! Você pode usar essa biblioteca privadamente ou em outras publicações de código aberto, mas a reutilização desse código em publicações é regida pelas Regras da Casa.
👉 Explore all indicators & systems: zuperview.com/
👉 Join our Discord community: disscord.gg/YKE6ujrw59
Many free indicators will come in the future, stay updated!
👉 Join our Discord community: disscord.gg/YKE6ujrw59
Many free indicators will come in the future, stay updated!
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.