once again, I want to show you a different method for detecting level. Today's approach is similar to the one I posted recently, but the way the level will be detected is different. I call it the multi-timeframe standard deviation level.
How does it work?
The method is similar to the way work. First, the indicator calculates the standard deviation, which can be influenced by the "Sensitivity"- and "Length"-setting.
- Sensitiitiy - the higher the value, the fewer level will be shown
- Length - simply the length for the standard deviation formula
Second, the detected value will be added (for ) or substracted (for ) from the current close. Once the upper or lower boundaries are crossed, a level will appear and keeps moving until the up- or downward movement finishes. Then the level will settle and stay in place.
Again, as seen in my previous indicator, you can control all the different styles and colors for the levels. The best part is, the whole thing works in a multi-timeframe fashion. In an example, you could select the "Daily" level and plot them on a 4-hour chart.
If you find this indicator useful, please leave a "like" and hit that "follow" button :)
Have fun, happy trading and once again Merry Christmas :)))
진정한 TradingView의 정신에 따라, 이 스크립트의 작성자는 스크립트를 오픈소스로 게시했기에 거래자들이 이해하고 확인할 수 있습니다. 작가님께 건배! 스크립트를 무료로 사용할 수 있지만, 게시물에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 당신은 스크립트를 차트에 사용하기 위해 그것을 즐겨찾기 할 수 있습니다.
len = input(20, "Length")
multi = input(2.0, "Sensitivity")
I wish to draw automatic horizontal lines one base line, 10 above and 10 below base line.
Base line is round(sqrt (previous day close),0)^2 on black colour
Upper lines in blue colour
Upper line 1 = (base line+1)^2
Upper line 2 = (base line+2)^2
Upper line 3 = (base line+3)^2 till 10 line
Similarly lower lines in orange
Lower line 1 = (base line-1)^2
Lower line 2 = (base line-2)^2
Lower line 3 = (base line-3)^2 till 10 line
Will you please help me in writing a code in pine editor of tradingview.com
Please reply at my email id firstname.lastname@example.org