LazyBear

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:
https://www.youtube.com/watch?v=qAJeH45vacI
Remove from Favorite Scripts Add to Favorite Scripts
//
// @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")
length=input(200)
range=high-low
rangeAvg=sma(range,length)

volumeA=sma(volume, length)
divisor=input(3.6)

high1=high[1]
low1=low[1]
mid1=hl2[1]

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: http://bit.ly/1LQaPK8
List of my indicators at Appstore: http://blog.tradingview.com/?p=970

Fantastic! One of the best additions to my volume collection in a while.
Reply
LazyBear PRO BuyOnPurple
2 years ago
Thanks.

BTW, heads up -- still more VSA stuff in the pipeline :)
Reply
VenkyRao
2 years ago
fantastico
Reply
creatives.dsd
2 years ago
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!
Z
Reply
LazyBear PRO creatives.dsd
2 years ago
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.
https://drive.google.com/file/d/0Bx48Du_2aPFncUhIemNrZUY1dTA/edit?usp=sharing

This is the complete list of my indicators:
Master Index: List of all my indicators


Many of these are not in the public scripts section yet.
Reply
LazyBear PRO LazyBear
2 years ago
MQ4 is not available at TV. It has its own language called "Pine" for coding indicators.
Reply
creatives.dsd LazyBear
2 years ago
I see! Thank You!
Reply
creatives.dsd creatives.dsd
2 years ago
Hi Lazy! As I examined this is not the original Hawkeye Volume indicator! Unfortunately! It would be great to have the code, but this is nothing to do with real Hawkeye )-: Do You know some decompiler service?
Reply
kltcin2u
2 years ago
Awesome stuff, thanks!
+1 Reply
kosai19 PRO
11 months ago
I'm so glad you've added this... I wanted a clean volume indicator :)
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out