morzor61

Market Trend

This indicator show how is the trend of 40 stock in SET Index Thailand ordered by market capitalization.

RSI, Moving Average and MACD is used to calculate vale of each stocks.

The trend will be assigned and cumulative as 1 represent uptrend while -1 represents downtrend.

For example RSI
If RSI > RSI moving average, it will be uptrend and return 1.
If RSI < RSI moving average, it will be downtrend and return-1.

The calculation will return positive and negative of total 40 stocks (or other tickers).
If positive is greater than negative, it mean that the market is uptrend and vise versa.

Here some examples
RSI

Moving Average

MACD

You can change to other tickers.

Enjoy..

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?