Navigation´╝ÜHome > Content >

KIJUN_SOHO.mq4

Time: 2018-02-11 | Download file:KIJUN_SOHO.mq4

//+------------------------------------------------------------------+
//|                                                          %BB.mq4 |
//|                                    Copyright ? 2008, Walter Choy |
//|                                                                  |
//+------------------------------------------------------------------+
#property copyright "Copyright sohocool"
#property link      "www.sohocool"

#property indicator_chart_window
#property indicator_buffers 1
#property indicator_color1 Blue

extern int    KIJUN_period = 26;
extern int    tframe =1;

//---- buffers
double KIJUN[];
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicators
   SetIndexStyle(0, DRAW_LINE);
   SetIndexBuffer(0, KIJUN);
   SetIndexLabel(0, "KIJUN");
   SetIndexDrawBegin(0, KIJUN_period);
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   int    counted_bars=IndicatorCounted();
//----
   
   int limit;
   
   if(counted_bars>0) counted_bars--;
   limit=Bars-counted_bars-1;
      
   for(int i=0; i        

Recommend