tkarolak

MLPivotsBreakouts

tkarolak Atualizado   
Library "MLPivotsBreakouts"
Utilizes k-NN machine learning to predict breakout zones from pivot points, aiding traders in identifying potential bullish and bearish market movements. Ideal for trend-following and breakout strategies.

breakouts(source, pivotBars, numNeighbors, maxData, predictionSmoothing)
  Parameters:
    source (float): series float: Price data for analysis.
    pivotBars (int): int: Number of bars for pivot point detection.
    numNeighbors (int): int: Neighbors count for k-NN prediction.
    maxData (int): int: Maximum pivot data points for analysis.
    predictionSmoothing (int): int: Smoothing period for predictions.
@return : Lower and higher prediction bands plus pivot signal, 1 for ph and -1 for pl.
Notas de Lançamento:
v2

Updated: Compiler annotations
Notas de Lançamento:
v3

Updated:
breakouts(pivotBars, numNeighbors, maxData, predictionSmoothing)
  Detects and predicts breakout points from pivot data.
  Parameters:
    pivotBars (int): int: Number of bars for pivot point detection.
    numNeighbors (int): int: Neighbors count for k-NN prediction.
    maxData (int): int: Maximum pivot data points for analysis.
    predictionSmoothing (int): int: Smoothing period for predictions.
  Returns: : Lower and higher prediction bands plus pivot signal, 1 for ph and -1 for pl.

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.