mks17

Linear Regression Trendlines & Channels

mks17 Zaktualizowano   
This new script came to me one night all of a sudden and it seems to be common knowledge for how good it works.

The script utilizes linear regression to determine trendlines and channels, identifying instances where closing prices closely align with the regression line. When a significant number of closing prices fall within proximity to the regression line, trendlines are displayed or generated.

Users have the flexibility to customize the proximity criteria by adjusting the margin and percentage thresholds. These parameters allow for precise control over how closely the closing prices should adhere to the regression line, as well as the minimum percentage of closing prices required to fit within the specified margin.

Moreover, the script is adaptable to logarithmic scales, ensuring compatibility with various chart configurations. Additionally, it stores all relevant data in an array for convenient access in future scripts or analyses.
Informacje o Wersji:
Remove the array part and republish for better showing

Skrypt chroniony
Ten skrypt został opublikowany z zamkniętym kodem źródłowym i możesz z niego dowolnie korzystać. Możesz go dodać do ulubionych, żeby używać go na wykresie. Nie możesz przeglądać ani modyfikować jego kodu źródłowego.
Wyłączenie odpowiedzialności

Informacje i publikacje przygotowane przez TradingView lub jego użytkowników, prezentowane na tej stronie, nie stanowią rekomendacji ani porad handlowych, inwestycyjnych i finansowych i nie powinny być w ten sposób traktowane ani wykorzystywane. Więcej informacji na ten temat znajdziesz w naszym Regulaminie.

Chcesz użyć tego skryptu na wykresie?