To calculate the Vertical Horizontal Filter:
- Select the number of periods (n) to include in the indicator. This should be based on the length of the cycle that you are analyzing. The most popular is 28 days (for intermediate cycles).
- Determine the highest closing price (HCP) in n periods.
- Determine the lowest closing price (LCP) in n periods.
- Calculate the range of closing prices in n periods:
HCP - LCP - Next, calculate the movement in closing price for each period:
Closing price [today] - Closing price [yesterday] - Add up all price movements for n periods, disregarding whether they are up or down:
Sum of absolute values of ( Close [today] - Close [yesterday] ) for n periods - Divide Step 4 by Step 6:
VHF = (HCP - LCP) / (Sum of absolute values for n periods)
這跟上次貼的ER雜訊比公式完全一模一樣啊:
跟ER一樣,VHF只在0與1之間震盪,當VHF向上時,表示趨勢(向上或向下)愈明確;VHF向下愈接近0時,表示愈接近盤整。VHF可與趨勢指標,如MACD, DMI搭配使用。當然短線就直接看股價,股價與VHF同時向上就做多,股價向下而VHF向上則做空。
1、VHF的值越高,代表目前正處於趨勢行情,應選擇趨勢指標為參考工具。
2、VHF的值越低,代表目前正處於箱型行情,應選擇超買超賣指標為參考工具。
3、VHF處於上升狀態時,代表股價處於趨勢行情。
4、VHF處於下跌狀態時,代表股價處於箱型行情。
VHF指標的圖表上,可以切劃一條中界線,分隔趨勢和箱型的波動範圍。這一條中界線一般位於0.35~0.4之間,但是,不同的個股,其中界線位置稍有差異,讀者應自行設定最佳的中界線。
將中界線視為X軸,另外設一條Y軸與X軸交叉成十字坐標軸,Y軸可任意左右移動。將Y軸移至VHF曲線穿越X軸處,如果VHF曲線位於十字坐標軸的右上方,代表股價處於趨勢行情。如果VHF曲線位於十字坐標軸的右下方,則代表股價處於箱型行情。
5、如果動向指數(DMI)中的+DI值高於-DI值,而VHF曲線向上或向下突破X軸時,為中線買點。
6、如果DMI指標中的+DI值低於-DI值,而VHF曲線向上或向下跌破X軸時,為中線賣點。
沒有留言:
張貼留言