Skip to main content

Fibonacci And Gann Projections for Amibroker (AFL)

ankit dargan about 16 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 21)
  • Tags:
    amibroker, zigzag, gann

This code places blue and orange dots for predicting future trends. These blue and orange dots are projections for Fib time and Gann Square of 9 price projections.

Screenshots

You cannot view the code for the following reasons:
  • You must be a member and have contributed at least 1 indicator

31 comments

over 13 years ago

@siddhisagar, it comes built in with an astrologer then. Who doesn’t want to know the future?
I think this parroting of “Oh, it looks into the future” thing is overused by users on here.

13. hatamy
over 12 years ago

how to download this indicator, or even be the code to it

15. Sera
over 12 years ago

site does not work. code with errors. desirable to version 5.2

Thanks in advance.

27. Samson
over 8 years ago

repainting indicator ! use bar replay in Amibroker before you try actual trading

almost 6 years ago
////////////////////////////////////////////////////////////////////////////
_SECTION_BEGIN("XUAN THIEU PHAN TICH KY THUAT CHUNG KHOAN");
SetBarsRequired( sbrAll );
N = Param("XUAN THIEU PHAN TICH KY THUAT CHUNG KHOAN ",10,1,30,1);
Output[0] = C[0];

for( i = 1; i < BarCount; i++ )
{
output[ i ] = output[ i - 1 ] + (C[i]-Output[i-1])/( N*(C[i] / Output[i-1])^4) ;
}

Plot(C,"Price",IIf(C>output,colorLime,colorRed),styleBar);
Plot(Output,"Ho tro Or Khang cu",colorBlue,1|styleThick);



Buy= Cross(C, output) AND V > 1.5*MA(V,20) AND RSI(14) > 45;
Sell= Cross(output, C) AND V > 1.5*MA(V,20) AND RSI(14) < 50;
PlotShapes(IIf( Sell, shapeDownArrow , shapeNone), colorRed,0,High, Offset=-15) ;
PlotShapes(IIf( Buy , shapeUpArrow , shapeNone), colorGreen,0,Low, Offset=-15) ;


_SECTION_END();
_SECTION_BEGIN("Title");
if( Status("action") == actionIndicator ) 
(
Title = EncodeColor(colorBlack)+ "Follow the trend " + " - " + Name() + " - " + EncodeColor(colorRed)+ Interval(2) + EncodeColor(colorBlack) +
" - " + Date() +" - "+"\n" + EncodeColor(colorYellow) + WriteIf(C>Output, EncodeColor(colorLime) + "Stock Moving Up" ,
EncodeColor(colorRed) + "Stock Moving down"));


_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) Vol " +WriteVal( V, 1.0 ) +" {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 )) ));

SetChartOptions(0,chartShowArrows|chartShowDates);
_SECTION_BEGIN("Name");


GfxSetTextAlign( 6 );
GfxSetTextColor( ColorRGB( 255, 255, 0 ) );
GfxSetBkMode(0);
GfxSelectFont("XUAN THIEU PHAN TICH KY THUAT CHUNG KHOAN", Status("pxheight")/26 );
GfxTextOut( "XUAN THIEU PHAN TICH KY THUAT CHUNG KHOAN ", Status("pxwidth")/2, Status("pxheight")/24 );
GfxSelectFont("XUAN THIEU PHAN TICH KY THUAT CHUNG KHOAN", Status("pxheight")/36 );
GfxTextOut( "FONE : 0988.617.103", Status("pxwidth")/2, Status("pxheight")/12 );

_SECTION_END(); 

Leave Comment

Please login here to leave a comment.