Indicator: HawkEye Volume Indicator

HawkEye volume , developed by Nigel Hawks, is supposed to be a premier VSA indicator. Documentation on this is scarce (looks like the training seminars/sessions conducted by the parent company cover this in detail), if you come across any (other than what I have mentioned on that chart) do let me know.

I am not sure how much this resembles the commercial indicator out there as I don't have access to one (noticed the "clone" part? :) ). This is a direct port of a similar MT4 indicator. If you have access to the commercial indicator in another platform, do post some comparison results.

More info:
從常用腳本中移除 新增至常用腳本
// @author LazyBear
// If you use this code, in its original or modified form, do drop me a note. Thx. 
study("HawkEye Volume Indicator [LazyBear]", shorttitle="HVI_LB")

volumeA=sma(volume, length)


u1 = mid1 + (high1-low1)/divisor
d1 = mid1 - (high1-low1)/divisor

r_enabled1 = (range > rangeAvg) and (close < d1) and volume > volumeA
r_enabled2 = close < mid1
r_enabled = r_enabled1 or r_enabled2

g_enabled1 = close > mid1
g_enabled2 = (range > rangeAvg) and (close > u1) and (volume > volumeA)
g_enabled3 = (high > high1) and (range < rangeAvg/1.5) and (volume < volumeA)
g_enabled4 = (low < low1) and (range < rangeAvg/1.5) and (volume > volumeA)
g_enabled = g_enabled1 or g_enabled2 or g_enabled3 or g_enabled4

gr_enabled1 = (range > rangeAvg) and (close > d1) and (close < u1) and (volume > volumeA) and (volume < volumeA*1.5) and (volume > volume[1])
gr_enabled2 = (range < rangeAvg/1.5) and (volume < volumeA/1.5)
gr_enabled3 = (close > d1) and (close < u1)
gr_enabled = gr_enabled1 or gr_enabled2 or gr_enabled3

v_color=gr_enabled ? gray : g_enabled ? green : r_enabled ? red : blue
plot(volume, style=histogram, color=v_color, linewidth=5)
List of my free indicators:
List of my indicators at Appstore:


How do I add an ema on to it? When I write it in the code I just get a line
+5 回覆
HI what is the divisor for? I have hawkeye on mt4 but this divisor makes it more accurate
+3 回覆
I'm so glad you've added this... I wanted a clean volume indicator :)
+1 回覆
Awesome stuff, thanks!
+1 回覆
Hi Thanks for the indicator looks really good :)

I was wondering if a lot of people are still using this in 2018?
@Onxy1, I am using it
@MONEYMENOW, works well on dailyTF bitcoin on bitfinex
Hi Lazy! I got the Hawkeye volume module. But not the working mq4 files. Do You have it? My friend is also a coder.
If i got the real code He can code me to multi time frame. It is very useful and according with the Hawkeye method.
And how can i download indicators from you? You have great stuffs! Congratulation!
LazyBear creatives.dsd
Try searching in the publich scripts section. Press "Indicators" when in chartview and type the script name in the search box.

If you dont find the script there, but if you have a chart published with that indicator, use the following guide to import the indicator in to your chart.

This is the complete list of my indicators:

Many of these are not in the public scripts section yet.
LazyBear LazyBear
MQ4 is not available at TV. It has its own language called "Pine" for coding indicators.
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 如何運作 圖表功能 價格 推薦朋友 網站規則 幫助中心 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 部落格 & 新聞 推特
概覽 個人資料設定 賬戶和賬單 推薦朋友 代幣 我的客服工單 幫助中心 發表的想法 粉絲 正在關注 私人訊息 在線聊天 登出