LazyBear

Indicator: Volatility Quality Index [VQI]

Volatility Quality Index (VQI), by Thomas Stridsman, points out the difference between bad and good volatility in order to identify better trade opportunities in the market.

This plots 3 lines:
- Red line is the VQI (actually, sum of VQI).
- Green line is the 9-period SMA of sum_of_VQI.
- Orange line is the 200-period SMA of sum_of_VQI.

Stridsman suggested to buy when VQI has increased in the previous 10 bars (use the SMAs) and sell when it has decreased in the previous 10 bars. IMO, use this with your other indicators as a confirmation signal.

More info: www.3pips.com/volati...ty-quality-index-vq/

To use this indicator in your charts, click on "Share" button (top right on the chart). Click on "Make it mine" button on the dialog that pops up. Now, you will have a copy of this chart with the indicator's source code in it. Click on "{}" to open the source code of VQI_LB and save it to your custom scripts section.

List of my free indicators: bit.ly/1LQaPK8
List of my indicators at Appstore: blog.tradingview.com/?p=970
오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?
//
// @author LazyBear
// @credits Thomas Stridsman - http://www.3pips.com/volatility-quality-index-vq/
// If you use this code in its original/modified form, do drop me a note. 
//
study("Volatility Quality Index [LazyBear]", shorttitle="VQI_LB")
length_slow=input(9, title="Fast EMA Length")
length_fast=input(200, title="Slow EMA Length")
vqi_t=iff((tr != 0) and ((high - low) != 0) ,(((close-close[1])/tr)+((close-open)/(high-low)))*0.5,nz(vqi_t[1]))
vqi = abs(vqi_t) * ((close - close[1] + (close - open)) * 0.5)
vqi_sum=cum(vqi)
plot(vqi_sum, color=red, linewidth=2)
plot(sma(vqi_sum,length_slow), color=green, linewidth=2)
plot(sma(vqi_sum,length_fast),color=orange, linewidth=2)