OPEN-SOURCE SCRIPT
Major Swings

This is an indicator that shows minor and major swing highs and lows.
With the help of Average True Range it is calculating if stop order bulls are able to make money buying above swing highs and if bears are able to make money selling below swing lows.
Assumption is that if they are able to make money ( at least a scalp that is a size of an average bar based on atr ) the trend is strong and the opposite swing point is therefore major.
It is possible to change the amount of bars that indicator compares to find swing points as well as atr period, label colors and show/hide minor swing points.
With the help of Average True Range it is calculating if stop order bulls are able to make money buying above swing highs and if bears are able to make money selling below swing lows.
Assumption is that if they are able to make money ( at least a scalp that is a size of an average bar based on atr ) the trend is strong and the opposite swing point is therefore major.
It is possible to change the amount of bars that indicator compares to find swing points as well as atr period, label colors and show/hide minor swing points.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.