This 3 Day Lookback indicator aims to display key information about price with respect to its previous 3 day highs and lows. It was built with the intention of being compact in order to not take up a lot of chart space.
The core component of this indicator is the table. From this table, we look at price with respect to the ranges from 1, 2, and 3 days ago, and assign it a color code. By default, we use 🟢, 🟡, and 🔴 to indicate that price is above, stuck inside, or below these ranges, respectively.
Take the following chart as an example. We manually drew these boxes to encompass the range of each day, from high to low. The leftmost box from 3 days ago is colored red to reflect the fact that price is below that day's low. This is why the table indicates a state of 🔴 for the range from 3 days ago. Then, the following two days are colored yellow to indicate that price is currently trading inside their ranges, which is why the state for both of those days is indicated as 🟡 in the table.
In a similar example below, we can see that price is clearly above the high from 3 days ago and the high from 2 days ago, which is reflected in the table with a state of 🟢 for both. However, since price is currently trading within the range from 1 day ago, it is assigned a state of 🟡 in the table.
As you may have noticed in the above examples, each day's high and low is indicated with labels (ex. "2H" and "2L" for the high and low from 2 days ago). These are optional and can be turned off in the indicator's settings. The lines tracking the previous 3 day highs and lows may also be turned off so that you're just left with the table, as is shown in the below example.
With this minimalistic table, users can get a quick glance at how price is trading with respect to the last few days of price action. Hopefully this proves useful for mobile users as well, since the indicator can be reduced to a simple table that doesn't take up much chart space.
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.