ROBO_Trading

robotrading linreg

What is Linear Regression?

(English) www.tradingview.com/...ts/linearregression/
(English) www.tradingview...nearregression/?solution=4...
(Russian) Link

This script

Straight lines show the last linear regression channel. The smooth lines show the coordinates of the same channel in the past. This allows you to backtest this strategy using past prices.

It also makes sure that the linear regression channel is useless for the cryptocurrency market :)

Strategy

The limit order to open a long position is on the bottom line (lime color). Limit order to open a short position is on the top line (red). All positions are closed by a limit order when the central line of the channel is crossed (blue). A limit order is also used to close positions.

For

Do not use in the cryptocurrency market.

Skrypt open-source

Zgodnie z prawdziwym duchem TradingView, autor tego skryptu opublikował go jako open-source, aby traderzy mogli go zrozumieć i zweryfikować. Brawo dla autora! Możesz używać go za darmo, ale ponowne wykorzystanie tego kodu w publikacji jest regulowane przez Dobre Praktyki. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

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?