OPEN-SOURCE SCRIPT

Up or Down?

I read somewhere that candles can easily confuse the eye, making it easy to lose focus. We get distracted by the size of the candle body and the candle's color without paying attention to its true range and how it compares to that of the previous candle.

With Up or Down? you get two signals. The blue arrow below lets you know that the candle's current low and high price are both higher than that of the previous candle -- the range is trending up. Conversely, the red arrow lets you know the low and high are both lower -- the range is trending down.

I designed it with pullbacks in mind. Determine the trend with your favorite indicator. Or use Up or Down? to give you an impression of it. A lot of blue arrows consistently rising broken up by only a few red arrows would indicate an uptrend. Then, wait for signals that don't fit the trend (ie, red arrows in an uptrend). Buy in at the first candle that confirms a return to the trend. (Your mileage may vary.)
candlecandlesCandlestick analysiscandlestickpatternTrend Analysis

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian