hawkeyetraders . com / indicators/
I came across above website, they sell system for around Rs. 2.00 lac
Main indicator of the system is Trend and stop, I have found similar afl to there trend and stop indicator on net.
we are not getting exact same values, but looks is very much similar, can any body tweak to get similar values as of Hawkeye indicator....
Actual Hawkeye indicator on Nifty Fut 15 min chart
Found on net Exact look like a like of Hawkeye indicator on Nifty fut 15 min chart
Super trend line
I came across above website, they sell system for around Rs. 2.00 lac
Main indicator of the system is Trend and stop, I have found similar afl to there trend and stop indicator on net.
we are not getting exact same values, but looks is very much similar, can any body tweak to get similar values as of Hawkeye indicator....
Actual Hawkeye indicator on Nifty Fut 15 min chart
Found on net Exact look like a like of Hawkeye indicator on Nifty fut 15 min chart
Super trend line
Code:
_SECTION_BEGIN("SuperTrendLine");
Factor=Param("Factor",2,1,10,1);
Pd=Param("ATR Periods",10,1,100,1);
Up=(H+L)/2+(Factor*ATR(Pd));
Dn=(H+L)/2-(Factor*ATR(Pd));
aa=Cross(C,LLV(Up,9));
bb=Cross(HHV(Dn,9),C);
Td[0]=1;
for(i=1;i<BarCount;i++ )
{
prev=Td[i-1];
if(aa[i])
{
Td[i]=1;
}
else if(bb[i])
{
Td[i]=-1;
}
else
{
Td[i]=prev;
}
}
aa=Dn==HighestSince(Cross(Td,0),Dn);
Dnx=Dn[0];
for(i=1;i<BarCount;i++ )
{
prev=Dnx[i-1];
if(aa[i])
{
Dnx[i]=Dn[i];
}
else
{
Dnx[i]=prev;
}
}
aa=Up==LowestSince(Cross(0,Td),Up);
Upx=Up[0];
for(i=1;i<BarCount;i++ )
{
prev=Upx[i-1];
if(aa[i])
{
Upx[i]=Up[i];
}
else
{
Upx[i]=prev;
}
}
aa=Td==1;
bb=Td==-1;
ST[0]=1;
trend=Null;
for(i=1;i<BarCount;i++ )
{
prev=ST[i-1];
if(aa[i])
{
ST[i]=Dnx[i];
trend[i]=1;
}
else if(bb[i])
{
ST[i]=Upx[i];
trend[i]=-1;
}
else
{
ST[i]=prev;
trend[i]=trend[i-1];
}
}
Plot(IIf(trend==1,ST,Null),"\nUP",colorGreen,styleDashed);
_SECTION_BEGIN("Price");
SetChartOptions(0,chartShowArrows|chartShowDates);
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));
Plot( C, "Close", ParamColor("Color", colorDefault ), styleNoTitle | ParamStyle("Style") | GetPriceStyle() );
_SECTION_END();
Plot(IIf(trend==-1,ST,Null),"\nDN",colorRed,styleDashed);
Plot(ST,"\nUP",colorWhite,styleDashed);
_SECTION_END();