Has anybody seen Hawkeye indicator equivalent in afl?

#1
hi friends
here is a video on volume based codes ,but not in amibroker.
The indicators are available for mt4 and tradestation.
Nigel Hawkes presents the Hawkeye Volume indicator, a revolutionary tool used to show when buyers or sellers begin to enter the markets. It can be used in any market or any timeframe, including ticks.

http://www.youtube.com/watch?v=QkDhLE8s4yM


http://www.youtube.com/watch?v=qAJeH45vacI
The Hawkeye Trend + Stops indicates market direction and gives definitive stop levels. The Hawkeye Trend + Stops tool summarizes and integrates the information generated by the Hawkeye Volume, Hawkeye Adds, Hawkeye Wide Bar, and our pattern recognition tools for entry into one comprehensive indicator to show the market trend. Additionally, the Hawkeye Trend + Stops incorporates two stops; the Hawkeye Stop and a new money management stop, the Hawkeye Crash Barrier. The Hawkeye Trend + Stops work on all Futures, Stock and Forex markets, as well as monthly, weekly, daily, minutes time frames, tick charts and volume bar data.

Nigel Hawk observed
Volume is a leading indicator. it forms the fuel that drives the price engine.Hawkeye trend indicator, hawkeyevolume,hawkeye heatmap,hawkeye trenddots are something different.
During 1930, there were three great legends of trading present.
Gann, Elliott and Richard Wyckoff. Gann things were complex and Nobody seemed to make real big profits with-Eliott wave thing.
But WYCKOFF was different, his things worked and profits were made. he had a clear principles to drive the trading process.
Based on Wyckoff basics TOM WILLIAMS came in with tradeguider,which needs digesting 450 basic rules.Nigel Hawkes used wyckoff basics but in a realatively less complex manner to trader.

WYCKOFF STUDIED VOLUME AND PRICE IN DEPTH.
Nigel travelled to usa and bought the wyckoff material from his family.


After lot of study NIGEL found,one thing went missing in that material.
Standard vsa doesnt consider the open price.


Suppose take an auction process the opening price is the reference for what follows.
NIGEL CONSIDERED THE "OPENING PRICE "AS PARAMOUNT IMPORTANCE TO TRADING PROCESS ANALYSIS.

NIGEL FINDS PRICE MOVES THRU PHASES
ACCUMULATION-PRICE MOVE-OVERBOUGHT-DISTRIBUTION-PRICE MOVE TO FAIR VALUE AND FAIR VALUE-ACCUMULATION--5 PHASES


TREND DOT APPEARS BELOW PRICE BAR AND IT SETS THE IDEA WHAT PRICE IS DOING.
A TRENDDOT FORMS AT HIGH PIVOT OR LOW PIVOT IN 5 BARS. IT prints dot on chart. there are yellow dots showing minor high,low pivots.

if after a 5 bar uprun, now high pivot forms,trend is up. in a downtrend if after 5 bars down no low forms, a downtrend is in progress.

monotoring volume on three timeframes is the key to this analysis. suppos you take hourly,2 hourlyt,daily charts,if trends are down in 2 hour and daily chart,the uptrend in 1 hr chart would die down soon.
see three charts 30min-15min and 5 min
if trend is down on 30min and 15min,and a trend begin on 5 min chart gives you short trade and you must use target lines based on ATR to quickly take profits.
point is trade in harmony with higher timeframes,2 of them above trading timeframe.

we have price bars, green dots,red dots,whitedots above or below price showing the market action-trend up-down-sideways etc.
There is trend accelerator using 7 bar measurement.
Overall ii is something worthwhile.
congestion or sideways market
congestion entrance-exit are shown. if two dots are at equal level,when price closes under a dot,,trend is flat, a congestion entrance begins.
it is not downtrend. then as a higher close than current trend dot occurs consider congestion as over.
trend reversal is occurring when price closes 3 dots below previous high.
trendup is decided after a congestion exit when close is inside top 40% range of the bar and close must be greater than the open.
There is a volume color bars histogram, and there is colored ribbon called trend heat map. the heat map uses a combination of three trend speeds-slow,medium,aggressive and a result is plotted as color ribbon.
price trend-trend pause-reversal-resumption is tracked on price and volume is tracked as neutral,uptrend,downtrend volume.(accumulation-distribution-no moving zone)
buying volume or selling volume is confirmed based on trendspeed result as it looks.
Hope it makes sense

moral of the story
wyckoff seemingly ignored opening price-not a good thing.
5 bar pivots and their relative positions decide trend up-down-or congestion.
you dont need 450 rules to remember unlike tradeguider.



ROAD KILL INDICATOR-TREND RESUMPTION

http://www.youtube.com/watch?v=r2k1H2aa-Vk
will add more soon .
ford
 
Last edited:

traderami

Active Member
#2
Let R = the height (range) of the current candle (in pips)
Let RA = the average height of the last N candles, where N=the value you entered into MA_Length
Let V = the volume of the current candle
Let VA = the average volume of the last N candles
Let C = the close of the current candle
Let H = the high of the current candle
Let L = the low of the current candle

Let H1 = the high of the previous candle
Let L1 = the low of the previous candle
Let V1 = the volume of the previous candle
Let M1 = the midpoint of the previous candle = (H1+L1)/2
Then U1 = M1 + (H1-L1)/3.6
Then D1 = M1 - (H1-L1)/3.6

Now, the current volume bar is painted red if any of the following conditions exist:
1) R>RA AND C<D1 AND V>VA
2) C<M1

Now, the current volume bar is painted green if any of the following conditions exist:
3) C>M1
4) R>RA AND C>U1 AND V>VA
5) H>H1 AND R<RA/1.5 AND V<VA
6) L<L1 AND R<RA/1.5 AND V>VA

Now, the current volume bar is painted white if any of the following conditions exist:
7) R>RA AND D1<C<U1 AND VA<V<VAx1.5 AND V>V1
8) R<RA/1.5 AND V<VA/1.5
9) D1<C<U1
taken from
http://www.forexfactory.com/showthread.php?t=396438
http://hawkeyetraders.com/indicators/volume/
http://hawkeyetraders.com/indicators/trend-stops/
 
Last edited:
#3
hi traderami

it seems the code lines given in reference link are not correct.

HTML:
SetChartBkColor(64);
R= rANGECandle =( H-L);
RA =AVERAGERANGENCANDLES =MA(R,10);
VA = MA(V,10);
H1 =Ref(H,-1);L1 =Ref(L,-1);V1 =Ref(V,-1);
 M1 =0.5*(H1+L1);//MID POINT OF PREV CANDLE
U1=M1 +(H1-L1)/3.6 ;
D1 =M1 -(H1-L1)/3.6 ;
//BARCOLOR
//UPCOLOR =C>M1 AND R>RA AND C>U1 AND V>VA AND H>H1 AND R<RA/1.5   AND L<L1  ;
//UPCOLOR =C>M1 AND R>RA AND C>U1 AND V>VA AND H>H1   AND L>L1  ;
UPCOLOR =C>M1 AND R>RA AND C>U1 AND V>VA AND H>H1 AND L>L1 ;

DNCOLOR =R>RA AND C<D1 AND V>VA AND C<M1;
NEUTRALCOLOR =R>RA AND D1<C<U1 AND VA<V<VA*1.5 AND V>V1 AND R<RA/1.5   ;

//BARCOLOR = IIf(UPCOLOR,colorGreen,IIf(DNCOLOR,colorRed,IIf(NEUTRALCOLOR,colorWhite,colorGrey50)));
BARCOLOR = IIf(UPCOLOR,colorGreen,IIf(DNCOLOR,colorRed,colorWhite));

//Plot(C,"CLOSE",BARCOLOR,styleBar,styleThick);
Plot(C,"CLOSE",BARCOLOR,styleCandle);
 
#5
hi traderami

Thanks. no need to be sorry.
you tried and contributed something from your side. that is great.

This indicator group uses Trend dots-green-red-white(uptrend-dntrend-congestion)volume bars,momentum,price trend.
volume and heatmap( trend momentum) are the first obstacles.

then there is stops and crash barrier.
stops seem to use ema13 plus minus atr15*1.5
rest will be tried and sorted out.
It is really an advanced thing and somewhat easy-better than any other vsa stuff that generally kill users brain.

you can see crude oil chart here
A buy signal comes up as Greendot,Green volume bar,Green heatmap comes up. a vertical line marks it.

Trader should take signal on 3min chart only trend is confirmed on sameside on 6min & 12min.

The harmony originates as volume based actions begin,followed by momentum & price in multiple timeframes.



regards
ford
====================================================================================
Summary for Newbee
New trader?
Dont worry if all above did not make sense.
here is what a trader need to know if he uses thwe hkeye indicator thing.
Did you see the awesome trade this morning in my trade room?
chart showed
It was a long trade in Crude Oil Futures (CL).

The basis of the setup was simple:
A steady stream of buying volume on the 3 minute and 6 minute charts, along with a confirmation on the 12 minute chart.

We took a conservative Entry (at 94.09) based on the combination of:

* A Green trend dot
* A Bright Green Heatmap
* A Green Volume confirmation


In order to grab the greatest profits, we applied the Levels ATR indicator to show targets at 3:1, 5:1, and 7:1.

To protect ourselves, we set our stop at 1 ATR below the market.

All 3 targets were hit with $550, $910, and $1280 profits, respectively.

That's a quick profit of $2,740!
=====================================
 
Last edited:
#6
HI THE COLORCODE IS meant for volumebars
volumebars are plotted in a bottom pane with ma100 as reference line.
==================================
numberbars =2500;

N=MAlength =100;
R =H -L ;
RA = MA(R,100);
VA =MA(V,100);
H1 =Ref(H,-1); L1 =Ref(L,-1);V1 =Ref(V,-1);
M1 =(H1+L1)*0.5;
U1 = M1 + (H1-L1)/3.6 ;
D1 = M1 - (H1-L1)/3.6 ;
//VOLUME HISTOGRAM BAR COLOR
VOLUMEBARCOLOR =IIf((R>RA AND C<D1 AND V>VA AND C<M1),colorRed,IIf((C>M1 AND( R>RA AND C>U1 AND V<VA) AND (H>H1 AND R<RA/1.5 AND V<VA ) AND( L<L1 AND R<RA/1.5 AND V>VA)),colorGreen,
IIf((R>RA AND D1<C<U1 AND VA<V<VA*1.5 AND V>V1 AND R<RA/1.5 AND V<VA/1.5 AND D1<C<U1),colorWhite,colorGrey50) ));
Plot(V,"VOLUME",VolumeBARCOLOR,styleHistogram,styleThick);
Plot(MA(V,100),"MA V 100",colorBlue,styleThick);


=========================================================













hi traderami

it seems the code lines given in reference link are not correct.

HTML:
SetChartBkColor(64);
R= rANGECandle =( H-L);
RA =AVERAGERANGENCANDLES =MA(R,10);
VA = MA(V,10);
H1 =Ref(H,-1);L1 =Ref(L,-1);V1 =Ref(V,-1);
 M1 =0.5*(H1+L1);//MID POINT OF PREV CANDLE
U1=M1 +(H1-L1)/3.6 ;
D1 =M1 -(H1-L1)/3.6 ;
//BARCOLOR
//UPCOLOR =C>M1 AND R>RA AND C>U1 AND V>VA AND H>H1 AND R<RA/1.5   AND L<L1  ;
//UPCOLOR =C>M1 AND R>RA AND C>U1 AND V>VA AND H>H1   AND L>L1  ;
UPCOLOR =C>M1 AND R>RA AND C>U1 AND V>VA AND H>H1 AND L>L1 ;

DNCOLOR =R>RA AND C<D1 AND V>VA AND C<M1;
NEUTRALCOLOR =R>RA AND D1<C<U1 AND VA<V<VA*1.5 AND V>V1 AND R<RA/1.5   ;

//BARCOLOR = IIf(UPCOLOR,colorGreen,IIf(DNCOLOR,colorRed,IIf(NEUTRALCOLOR,colorWhite,colorGrey50)));
BARCOLOR = IIf(UPCOLOR,colorGreen,IIf(DNCOLOR,colorRed,colorWhite));

//Plot(C,"CLOSE",BARCOLOR,styleBar,styleThick);
Plot(C,"CLOSE",BARCOLOR,styleCandle);
 
#8
Hi

YOUR QUESTION
iS THIS THE WHOLE AFL?
I can understand your hurry etc.
me too in the same boat.
we look for help,hints,guidelines etc.
can you help?
it needs power thinking and time,lots of it.

jUST READ THE POST AND COMPONENTS NEEDED TO MAKE IT WORK.

There is a mountain to climb and I have just reached the base of it.
nothing started yet .

I just try to begin something that feels worthwhile. It is just an initiative thing to provoke thinking and action in more knowledgeable forum experts sooner or later.
I am a novice and dont know anything really good.

I see the mountain.
long way to go.
whatever I have, I posted and it is not correct.IT IS JUST A TRY.
we will try-one step at a time.
good luck!
 

KelvinHand

Well-Known Member
#9
HI THE COLORCODE IS meant for volumebars
volumebars are plotted in a bottom pane with ma100 as reference line.
==================================
numberbars =2500;

N=MAlength =100;
R =H -L ;
RA = MA(R,100);
VA =MA(V,100);
H1 =Ref(H,-1); L1 =Ref(L,-1);V1 =Ref(V,-1);
M1 =(H1+L1)*0.5;
U1 = M1 + (H1-L1)/3.6 ;
D1 = M1 - (H1-L1)/3.6 ;
//VOLUME HISTOGRAM BAR COLOR
VOLUMEBARCOLOR =IIf((R>RA AND C<D1 AND V>VA AND C<M1),colorRed,IIf((C>M1 AND( R>RA AND C>U1 AND V<VA) AND (H>H1 AND R<RA/1.5 AND V<VA ) AND( L<L1 AND R<RA/1.5 AND V>VA)),colorGreen,
IIf((R>RA AND D1<C<U1 AND VA<V<VA*1.5 AND V>V1 AND R<RA/1.5 AND V<VA/1.5 AND D1<C<U1),colorWhite,colorGrey50) ));
Plot(V,"VOLUME",VolumeBARCOLOR,styleHistogram,styleThick);
Plot(MA(V,100),"MA V 100",colorBlue,styleThick);


=========================================================

I see!
you converted from MT4 to Amibroker.

But I did not seen in Tradestation.
What the name of the indicator ?


PHP:
//+------------------------------------------------------------------+
//|                                                  VOLUME TYPE.mq4 |
//|                                    Copyright © 2008, FOREXflash. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2008, FOREXflash Software Corp."
#property link      "http://www.metaquotes.net"

#property indicator_separate_window
#property indicator_buffers 8

#property indicator_color4 DimGray
#property indicator_color6 Lime
#property indicator_color7 Red
#property indicator_color8 White

#property indicator_width4 1
#property indicator_width6 2
#property indicator_width7 2
#property indicator_width8 2



extern int MA_Length     = 100; 
extern int NumberOfBars  = 2500;

//---- buffers
double ExtMapBuffer1[];
double SPREADHL[];
double AvgSpread[];
double v4[];
double Vol[];
double GREEN[];
double RED[];
double WHITE[];

string  WindowName;
int     PipFactor = 1;
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
{

//---- indicators      
SetIndexBuffer(0,ExtMapBuffer1);
   SetIndexStyle(0,DRAW_NONE);
SetIndexBuffer(1,SPREADHL);
   SetIndexStyle(1,DRAW_NONE);
SetIndexBuffer(2,AvgSpread);     
   SetIndexStyle(2,DRAW_NONE);
SetIndexBuffer(3,v4);
   SetIndexStyle(3,DRAW_LINE,STYLE_DOT);
SetIndexBuffer(4,Vol);
   SetIndexStyle(4,DRAW_NONE);  
     
SetIndexBuffer(5,GREEN);
   SetIndexStyle(5,DRAW_HISTOGRAM); 
SetIndexBuffer(6,RED);
   SetIndexStyle(6,DRAW_HISTOGRAM); 
SetIndexBuffer(7,WHITE);
   SetIndexStyle(7,DRAW_HISTOGRAM);        
      
      
string short_name = "VOLUME TYPE";     
IndicatorShortName(short_name);
WindowName = short_name;
IndicatorDigits(1);

//----
return(1);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
{
//----

//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+

int start()
{
//----
AVGSpread();
//----
AVGVolume();
//----
return(0);
}
//+------------------------------------------------------------------+
//| AvgSpread                                                        |
//+------------------------------------------------------------------+
int AVGSpread()
{
   int    i,nLimit,nCountedBars;
//---- bars count that does not changed after last indicator launch.
   nCountedBars=IndicatorCounted();
//---- last counted bar will be recounted
   if(nCountedBars>0) nCountedBars--;
   nLimit=Bars-nCountedBars;
//----


   for(i=0; i<nLimit; i++) 
   
   SPREADHL[i] =  ((iHigh(NULL, 0, i) - iLow(NULL, 0, i))/Point)/PipFactor;   // SPREAD 
   
   for(i=0; i<nLimit; i++)
   {
   AvgSpread[i] = iMAOnArray(SPREADHL,0,MA_Length,0,MODE_EMA,i);              // AVERAGE SPREAD 
          
   }        
//---- done
   return(0);
}
//+------------------------------------------------------------------+
//| AvgVolume                                                        |
//+------------------------------------------------------------------+
int AVGVolume()
{ 
   double tempv;
   int limit;
   int counted_bars=IndicatorCounted();
//---- last counted bar will be recounted
   if(counted_bars>0) counted_bars--;
   if ( NumberOfBars == 0 ) 
      NumberOfBars = Bars-counted_bars;
   limit=NumberOfBars; //Bars-counted_bars;
   
      
   for(int i=0; i<limit; i++)   
      {
      tempv=0;

         
   for( int n=i;n<i+MA_Length;n++ )
      {
      tempv= Volume[n] + tempv; 
      } 
      v4[i] = NormalizeDouble(tempv/MA_Length,0);                         // AVERAGE VOLUME 
      Vol[i]= iVolume(NULL, 0, i);                                        // CURRENT VOLUME 

      
double MIDDLEOFBAR   = (High[i+1]+Low[i+1])/2;                             // EXACT MIDDLE 
double UPOFBAR       = (High[i+1]+Low[i+1])/2 + (High[i+1]-Low[i+1])/3.6;  // UP CLOSE    
double DOWNOFBAR     = (High[i+1]+Low[i+1])/2 - (High[i+1]-Low[i+1])/3.6;  // DOWN CLOSE  




//----

if (SPREADHL[i] > AvgSpread[i] && Close[i] < DOWNOFBAR && Vol[i] > v4[i])
{
RED[i]= NormalizeDouble(Volume[i],0);
}

if (Close[i] < MIDDLEOFBAR)
{
RED[i]= NormalizeDouble(Volume[i],0);
}

if (Close[i] > MIDDLEOFBAR)
{
GREEN[i]= NormalizeDouble(Volume[i],0);
}

if (SPREADHL[i] > AvgSpread[i] && Close[i] > UPOFBAR && Vol[i] > v4[i])
{
GREEN[i]= NormalizeDouble(Volume[i],0);
}

if (High[i] > High[i+1] && SPREADHL[i] < AvgSpread[i]/1.5 && Vol[i] < v4[i])
{
GREEN[i]= NormalizeDouble(Volume[i],0);
}

if (Low[i] < Low[i+1] && SPREADHL[i] < AvgSpread[i]/1.5 && Vol[i] > v4[i])
{
GREEN[i]= NormalizeDouble(Volume[i],0);
}

if ((SPREADHL[i] > AvgSpread[i] && ( Close[i] > DOWNOFBAR  && Close[i] < UPOFBAR ) && Vol[i] > v4[i] && Vol[i] < v4[i]*1.5 && Vol[i] > Vol[i+1]))
{
WHITE[i]= NormalizeDouble(Volume[i],0);
}

if (SPREADHL[i] < AvgSpread[i]/1.5 && Vol[i] < v4[i]/1.5)
{
WHITE[i]= NormalizeDouble(Volume[i],0);
}

if ( Close[i] > DOWNOFBAR  && Close[i] < UPOFBAR )
{
WHITE[i]= NormalizeDouble(Volume[i],0);
}

}
//----
return(0);
}
//+------------------------------------------------------------------+
 
#10
Hi KelvinHand

Thanks for the attention.

Let me see if I can add ts version as attachment.Sorry-It is not permitting to attach HERE-It says invalid file-it is a rar file and traderji is not equipped to handle this attachment as of now.
Ok here isdownload link may be it is what you need
http://hotfile.com/dl/13918288/79adc36/hawkeye%20toolkit.rar

Please pm your e mail address preferably yahoo.
Volume it seems is valued by measuring standard deviation from a mean or so.
I try to attach a chart for that.

https://community.tradestation.com/discussions/topic.aspx?topic_id=57653


regards
ford
 
Last edited:

Similar threads

Broker Special Offers

Intraday Higher Leverage

Save up to 90% in brokerage and get higher leverage for intraday trades.

Name:Phone:
Email:City:
State:
Are you a day trader?