PINE LIBRARY
已更新 MLPivotsBreakouts

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 [series float, series float, series int]: Lower and higher prediction bands plus pivot signal, 1 for ph and -1 for pl.
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 [series float, series float, series int]: Lower and higher prediction bands plus pivot signal, 1 for ph and -1 for pl.
發行說明
v2Updated: Compiler annotations
發行說明
v3Updated:
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: [series float, series float, series int]: Lower and higher prediction bands plus pivot signal, 1 for ph and -1 for pl.
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。