OPEN-SOURCE SCRIPT

AI Kernel Regression Strategy

323
How to Use This Strategy
Paste the Code: Open the Pine Editor, paste the code, and click "Add to chart".

Look for Reversals:

BUY Signal: The price dipped below the green band (oversold) and snapped back up. The script identifies this as a high-probability bounce.

SELL Signal: The price spiked above the red band (overbought) and snapped back down.

Adjust the "Lookback Window":

In the settings (gear icon), if you change Lookback Window to a higher number (e.g., 15-20), the lines become smoother (better for trends).

If you lower it (e.g., 3-5), it becomes very reactive (better for scalping).

Important Note on "Repainting"
This script uses a technique called Regression. In live trading, it works perfectly (the signal appears when the candle closes). However, be aware that "AI" scripts like this are heavy on calculations. If you refresh your browser, the historical lines might shift slightly to fit the data better. Always wait for the candle to close before taking the trade to ensure the signal is locked in.

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。