I have prepared this code to better understand the trending starts and sudden ups and downs. Therefore, it uses a unit change function in terms of RSI to visualize the changing points. It is not accurate, but it only provides a means for potential buy and sell points.

This code can be better used in short term tradings. It may not work well in longer term tradings. It has not been tested for variable market conditions yet. Hopefully, when i learn to write a strategy on top of this one, i can manage to test its performance also.

there are 3 output variables. The first one is ema5 which is the 5 day moving average exponential for the unit RSI. The second one is std5 which is the variation in this unit RSI values in 5 days. and the last one is sec variable, which is the selected output function. this so called "sec" can be 0 or 0.5 or 1. A value of 0 means a potentially buy point, whereas a value of 1 means a potentially sell point. and, a value of 0.5 means a constant wait or hold condition.

again, i am not a professional. i just like to play with the numbers and mathematics for trying to ease the selection process for tradings. if you like these new variables, and want to improve the performance, please do not hesitate to contact me.

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?