Skip to main content

Trend Finder for Amibroker (AFL)

hansraj456 about 15 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 1)
  • Tags:
    oscillator, amibroker

This AFL is based on CCI and values smoothened to confirm the Trend. Enter when oscillator crosses 100 or -100. and Exit when reverses at dotted line. This works on 5 or 15 Min Chart for Day Trading.

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("Trend");
///// Trend Identify ////// 
SetChartOptions( Mode = 0, Flags = 0, gridFlags = 0) ;
x=Param("CCI Period 3 - 35",9,3,50,1); 
x1=CCI(x); 
Y=Param("Smooth Factor 3 - 15",5,3,9,1); 
Y2=DEMA(x1,Y); 
Z=Param("Signal Line 3 - 9",3,3,5,1); 
Z2=MA(Y2,Z); 
Plot(Z2," ",colorGreen,4); 
Plot(100,"",colorGreen);
Plot(-100,"",colorRed);
Plot(65,"",colorGreen,styleDashed);
Plot(-65,"",colorRed,styleDashed);
Plot(0,"",colorBlack);
_SECTION_END();

3 comments

about 15 years ago

hi guys, can anyone write scan formula for this afl for buy sell signals cross above -100 and cross below +100.I tested this afl its very good afl if scan formula is here its very good to make money.

Leave Comment

Please login here to leave a comment.