How deep is the Rabbit hole? Interesting experiment that finds the RISING HIGHS and FALLING LOWS and place the difference between the highs and lows into separate arrays. == Calculations == In case current high is higher than previous high, we calculate the value by subtracting the current highest high with the previous High (lowest high) into array A, same method for the lows just in Array B. Since we subtract highs and lows it means velocity is taken into consideration with the plotting. After adding a new value we remove the oldest value if the array is bigger than the Look back length. This is done for both lows and highs array. Afterwards we sum up the lows and highs array (separately) and plot them separately, We can also smooth them a bit with Moving averages like HMA, JMA, KAMA and more.
== RULES == When High Lines crosses the Low Line we get a GREEN tunnel. When Low Lines crosses the High line we get the RED tunnel. The Greenish the stronger the up trend. The Redish the stronger the downtrend.
== NOTES == Bars are not colored by default. Better for higher time frames, 1 hour and above. Enjoy and like if you like! Follow up for new scripts: tradingview.com/u/dman103/
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.