Ichi_KUMOGD_sw





//+------------------------------------------------------------------+
//| KUMO                                                    MACD.mq4 |
//+------------------------------------------------------------------+
//2008forextsd      

#property copyright "Copyright © 2006, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

#property indicator_separate_window

#property indicator_buffers 1
#property indicator_color1 RoyalBlue

extern int Tenkan=9;
extern int Kijun=26;
extern int Senkou=52;
extern int KumoShift=26;

double ExtMapBuffer1[];

//+------

int init()
  {


  SetIndexBuffer    (0,ExtMapBuffer1);
  SetIndexStyle     (0,DRAW_HISTOGRAM);
  SetIndexDrawBegin (0,Senkou);
  SetIndexShift     (0,KumoShift);

IndicatorShortName("KUMO Ichi ("+Tenkan+","+Kijun+","+Senkou+"),"+KumoShift+": ");

   return(0);
  }

//+----------

int start()
  {
   int i,limit,counted_bars=IndicatorCounted();

   if(counted_bars<0) return(-1);
   if(counted_bars>0) counted_bars--;
   
   limit=Bars-counted_bars;
   
   
   for (i=limit; i>=0; i--)
     {

  ExtMapBuffer1[i]  = iIchimoku(NULL, 0, Tenkan, Kijun, Senkou, MODE_SENKOUSPANA, i-Kijun)-
                      iIchimoku(NULL, 0, Tenkan, Kijun, Senkou, MODE_SENKOUSPANB, i-Kijun);
      }
   
   
    
  return(0);
 }
//+-----------



Sample





Analysis



Market Information Used:



Indicator Curves created:


Indicators Used:

Ichimoku Kinko Hyo


Custom Indicators Used:

Order Management characteristics:

Other Features: