User login

  

Aroon Indicator

Trading with Aroon indicator involves the following signals:

  • AroonUp crosses AroonDown upwards — bullish signal.
  • AroonDown crosses AroonUp downwards — bearish signal.
  • AroonUp and AroonDown move in parallel lines — consolidation period.

Aroon was created to measure strength of a trend and potentials for its continuation as well as the quality and type of the trend: up-trend, down-trend or sideways moving market.

How to interpret Aroon indicator

There are two parts to the Aroon Indicator – two coloured lines: Aroon up (red line) and Aroon down (blue line).

The Aroon indicator scale ranges from 0 to 100.

There are 4 important levels to monitor when trading with Aroon indicator: 0, 30, 70 and 100.

The default time period for Aroon indicator is 25, on some panels - 14. But, it can be changed to, for example, 10-periods for shorter term trades or to 50-periods for longer ones.

How to trade using Aroon indicator?

  1. When AroonUp crosses AroonDown upwards it is a bullish signal.
  2. When AroonDown crosses AroonUp downwards it is a bearish signal.
  3. When AroonUp and AroonDown move in parallel lines it suggest a consolidation period

AroonUp rules:

  1. When AroonUp reaches the 100 level the uptrend is clearly strong; the closer it remains to the top the stronger the uptrend.
  2. When AroonUp line fluctuates between 70 and 100 levels it suggests a Potential uptrend. The signal becomes stronger if at the same time AroonDown remains between 0 and 30 levels.
  3. When AroonUp line fluctuates between 0 and 30 levels it suggests trend weakness and a possibility of a trend reversal.

Opposite true for AroonDown:

  1. When AroonDown reaches the 100 level it suggests downtrend being strong; the closer it remains to the top the stronger the downtrend.
  2. When AroonDown line fluctuates between 70 and 100 levels it advices on a Potential downtrend. The signal becomes stronger if at the same time AroonUp fluctuates between 0 and 30 levels.
  3. When AroonDown fluctuates between 0 and 30 levels it suggests trend weakness and possible future trend reversal.

Conclusion

As market changes, traders adjust their trading approaches and methods from trend following to tools used during market consolidations. Aroon indicator helps traders to determine when to use a trend following indicators and tools and where to switch to oscillator like tools that work best in consolidating markets.

Display/hide source code
//+------------------------------------------------------------------+
//|                                                     Momentum.mq4 |
//|                      Copyright © 2004, MetaQuotes Software Corp. |
//|                                       http://www.metaquotes.net/ |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2004, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net/"
 
#property indicator_separate_window
#property indicator_buffers 2
#property indicator_color1 Yellow
#property indicator_color2 DodgerBlue
 
#property indicator_minimum 0
#property indicator_maximum 100
#property indicator_level1 30
#property indicator_level2 70
 
 
//---- input parameters
extern int MomPeriod=14;
//---- buffers
double MomBuffer1[],MomBuffer2[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
   string short_name;
//---- indicator line
   SetIndexStyle(0,DRAW_LINE);
   SetIndexBuffer(0,MomBuffer1);
 
   SetIndexStyle(1,DRAW_LINE);
   SetIndexBuffer(1,MomBuffer2);
 
//---- name for DataWindow and indicator subwindow label
   short_name="Aroon("+MomPeriod+")";
   IndicatorShortName(short_name);
   SetIndexLabel(0,short_name);
//----
   SetIndexDrawBegin(0,MomPeriod);
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Momentum                                                         |
//+------------------------------------------------------------------+
int start()
  {
   int i,counted_bars=IndicatorCounted();
//----
   if(Bars<=MomPeriod) return(0);  //bar kurang dari 14 keluar..
//---- initial zero
   if(counted_bars<1)  //..jika bar yang sudah terhitung lebih kecil dari 1 maka nol kan semua
   //mulai dari no buffer yang paling besar ke yang paling kecil=0
      for(i=1;i<=MomPeriod;i++) {
         MomBuffer1[Bars-i]=0.0;
         MomBuffer2[Bars-i]=0.0;
      }
//----
   i=Bars-MomPeriod-1;
   if(counted_bars>=MomPeriod) i=Bars-counted_bars-1;//15-14-1=0
   int nHigh,nLow;
   while(i>=0)
     {
      double Max=-100000;
      double Min=100000;
      for(int k=i;k<i+MomPeriod;k++){
         double Num=Close[k];
         if(Num>Max){
            Max=Num;
            nHigh=k;
         }
         if(Num<Min){
            Min=Num;
            nLow=k;
         }
      }
      
      //Aroon Indicator math..
      MomBuffer1[i]=100.0*(MomPeriod-(nHigh-i))/MomPeriod;
      MomBuffer2[i]=100.0*(MomPeriod-(nLow-i))/MomPeriod;
      i--;
     }
   return(0);
  }
//+------------------------------------------------------------------+
12345

Comments