³«¼­Àå

         
Àüü °ø°³ | ºñ¹Ð | ¾ÆÀ̵ð¾î | ¿ÍÀÎ/¼ú | ½Ã³ª¸®¿À | ÁÖ½Ä | ¼­½Ä | FX¸¶Áø |
[MT4] Heiken Ashi
ÇÏâȣ10-20 07:03 | HIT : 530
//+------------------------------------------------------------------+
//|                                                  Heiken Ashi.mq4 |
//|                      Copyright c 2004, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
//| For Heiken Ashi we recommend next chart settings ( press F8 or   |
//| select on menu 'Charts'->'Properties...'):                       |
//|  - On 'Color' Tab select 'Black' for 'Line Graph'                |
//|  - On 'Common' Tab disable 'Chart on Foreground' checkbox and    |
//|    select 'Line Chart' radiobutton                               |
//| Modified by Cobraforex for the THV system, www.cobraforex.com    |
//+------------------------------------------------------------------+
#property copyright "Copyright ?2004, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

#property indicator_chart_window
#property indicator_buffers 4
#property indicator_color1 Maroon
#property indicator_color2 DarkGreen
#property indicator_color3 FireBrick
#property indicator_color4 ForestGreen
#property indicator_width1 1
#property indicator_width2 1
#property indicator_width3 3
#property indicator_width4 3

//----
extern color color1 = Maroon;
extern color color2 = DarkGreen;
extern color color3 = FireBrick;
extern color color4 = ForestGreen;
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
double ExtMapBuffer4[];
//----
int ExtCountedBars=0;
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//|------------------------------------------------------------------|
int init()
  {
//---- indicators
   SetIndexStyle(0,DRAW_HISTOGRAM, 0, 1, color1);
   SetIndexBuffer(0, ExtMapBuffer1);
   SetIndexStyle(1,DRAW_HISTOGRAM, 0, 1, color2);
   SetIndexBuffer(1, ExtMapBuffer2);
   SetIndexStyle(2,DRAW_HISTOGRAM, 0, 3, color3);
   SetIndexBuffer(2, ExtMapBuffer3);
   SetIndexStyle(3,DRAW_HISTOGRAM, 0, 3, color4);
   SetIndexBuffer(3, ExtMapBuffer4);
  
//----
   SetIndexDrawBegin(0,10);
   SetIndexDrawBegin(1,10);
   SetIndexDrawBegin(2,10);
   SetIndexDrawBegin(3,10);
//---- indicator buffers mapping
   SetIndexBuffer(0,ExtMapBuffer1);
   SetIndexBuffer(1,ExtMapBuffer2);
   SetIndexBuffer(2,ExtMapBuffer3);
   SetIndexBuffer(3,ExtMapBuffer4);
//---- initialization done
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//---- TODO: add your code here
  
//----
   return(0);
  }
  
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   double haOpen, haHigh, haLow, haClose;
   if(Bars<=10) return(0);
   ExtCountedBars=IndicatorCounted();
//---- check for possible errors
   if (ExtCountedBars<0) return(-1);
//---- last counted bar will be recounted
   if (ExtCountedBars>0) ExtCountedBars--;
   int pos=Bars-ExtCountedBars-1;
   while(pos>=0)
     {
      haOpen=(ExtMapBuffer3[pos+1]+ExtMapBuffer4[pos+1])/2;
      haClose=(Open[pos]+High[pos]+Low[pos]+Close[pos])/4;
      haHigh=MathMax(High[pos], MathMax(haOpen, haClose));
      haLow=MathMin(Low[pos], MathMin(haOpen, haClose));
      if (haOpen<haClose)
        {
         ExtMapBuffer1[pos]=haLow;
         ExtMapBuffer2[pos]=haHigh;
        }
      else
        {
         ExtMapBuffer1[pos]=haHigh;
         ExtMapBuffer2[pos]=haLow;
        }

       ExtMapBuffer3[pos]=haOpen;
       ExtMapBuffer4[pos]=haClose;

           pos--;
     }
//----
   return(0);
  }
//+------------------------------------------------------------------+


Notice  °ø°³ :: ³»°¡ ¸¸µç Á¦Ç°ÀÌ CES 2009 ¿¡¼­ Çõ½Å»óÀ» ...  ¡¦1  ÇÏâȣ 2009¡¤01¡¤21 321
228  ºñ¹Ð :: ¹®ÀÚ¿¬µ¿    ÇÏâȣ 2010¡¤09¡¤10 0
227  °ø°³ :: ¿È´Ï¾Æ ¹®ÀÚ¿¬µ¿    ÇÏâȣ 2010¡¤09¡¤10 1
226  °ø°³ :: ¼¼Â÷¿ëǰ    ÇÏâȣ 2010¡¤09¡¤07 18
225  ¾ÆÀ̵ð¾î :: [ȯŸÁö ¾ÆÀ̵ð¾î] ¹ø°³¿¡¼­ Àü±â¸¦ ÃßÃâÇÒ ¼ö ...    ÇÏâȣ 2010¡¤08¡¤31 29
224  °ø°³ :: K5 DIY ³»¿ª  ¡¦2  ÇÏâȣ 2010¡¤07¡¤14 120
223  °ø°³ :: ºí·¢¹Ú½º    ÇÏâȣ 2010¡¤06¡¤30 94
222  ½Ã³ª¸®¿À :: Áø»ç ÁÖ»ç ±¤¸í»ç ¼öÀº ¿ø±¤¼® ÆÇŸÁö    ÇÏâȣ 2010¡¤06¡¤28 139
221  ½Ã³ª¸®¿À :: È¯Å¸Áö ¼Ò¼³ Àç·á ¾Æ¸ð¸£ÆÛ½º ÇÕ±Ý    ÇÏâȣ 2010¡¤06¡¤28 85
220  ¾ÆÀ̵ð¾î :: ¹«Çù ȯŸÁö ¼Ò¼³ Àç·á    ÇÏâȣ 2010¡¤05¡¤31 69
219  °ø°³ :: ¸ÆÇÁ·Î¿¡ À©µµ¿ì7 64ºñÆ®¸¦ ¼³Ä¡    ÇÏâȣ 2010¡¤04¡¤30 108
218  ¾ÆÀ̵ð¾î :: Å©¶ó¿ìµå ¼Ò½Ì °ü·Ã    ÇÏâȣ 2010¡¤04¡¤15 137
217  °ø°³ :: Æ®·ÎÀÌ ¸ñ¸¶ °ü·Ã Patch  ¡¦1  ÇÏâȣ 2009¡¤10¡¤27 478
216  °ø°³ :: [PDA]¿È´Ï¾Æ ¸ð¹ÙÀϽ©3 SMS ¿¬µ¿    ÇÏâȣ 2009¡¤10¡¤27 314
215  °ø°³ :: [PDA] ÇØ»óµµ dotpitch º¯°æ forcehire...    ÇÏâȣ 2009¡¤10¡¤26 407
 FX¸¶Áø :: [MT4] Heiken Ashi    ÇÏâȣ 2009¡¤10¡¤20 530
213  FX¸¶Áø :: [MT4] Multi Time Frame Stocast...    ÇÏâȣ 2009¡¤10¡¤20 220
212  FX¸¶Áø :: [MT4] Multi Time Frame WAVG    ÇÏâȣ 2009¡¤10¡¤20 206
211  FX¸¶Áø :: [MT4] CCI Overbought Oversold    ÇÏâȣ 2009¡¤10¡¤20 222
210  FX¸¶Áø :: [MT4] CCI HISTOGRAM    ÇÏâȣ 2009¡¤10¡¤20 250
209  FX¸¶Áø :: CCI    ÇÏâȣ 2009¡¤10¡¤20 219
208  FX¸¶Áø :: HEIKIN ASHI (HA) CANDLES  ¡¦1  ÇÏâȣ 2009¡¤10¡¤16 282
207  FX¸¶Áø :: °¢Á¾ ÁöÇ¥¸¦ ¾Ë·ÁÁÖ´Â »çÀÌÆ® forexfactory  ¡¦1  ÇÏâȣ 2009¡¤10¡¤14 211
206  FX¸¶Áø :: ¿µ±¹ FX ¸¶Áø Á¢¼Ó »çÀÌÆ® alpari MetaTrad...    ÇÏâȣ 2009¡¤10¡¤14 225
205  °ø°³ :: ÁÖ¸»³óÀå ¸¸µé±â    ÇÏâȣ 2009¡¤10¡¤12 194
204  ÁֽĠ:: FX Excel Æ®·¹À̵ù    ÇÏâȣ 2009¡¤09¡¤24 247
203  ÁֽĠ:: ¸Å¼ö ŸÀÌ¹Ö    ÇÏâȣ 2009¡¤09¡¤16 215
202  °ø°³ :: FX ¸¶Áø ÀÚµ¿ ÁÖ¹® ÇÁ·Î±×·¥  ¡¦1  ÇÏâȣ 2009¡¤09¡¤03 358
201  °ø°³ :: ¹Ùº£Å¥ÀÇ ¼¼°è  ¡¦1  ÇÏâȣ 2009¡¤09¡¤02 222
200  °ø°³ :: Word, Excel ¹× PowerPoint 2007 ...    ÇÏâȣ 2009¡¤08¡¤13 180
199  ½Ã³ª¸®¿À :: ÁÖ¼ú °ü·Ã. ¼Ò¼³¿¡ Ãß°¡µÉ ³»¿ë    ÇÏâȣ 2009¡¤08¡¤04 220
198  ¾ÆÀ̵ð¾î :: »ç¾÷¾ÆÀÌÅÛ    ÇÏâȣ 2009¡¤07¡¤10 4
197  ¾ÆÀ̵ð¾î :: Stirling Engine System    ÇÏâȣ 2009¡¤07¡¤08 181
196  °ø°³ :: Resco Smart Explorer    ÇÏâȣ 2009¡¤06¡¤18 210
195  ¾ÆÀ̵ð¾î :: ½´¸¸ °ø¸í Á֯ļö  ¡¦3  ÇÏâȣ 2009¡¤06¡¤12 480
194  °ø°³ :: XP ¿¡¼­ MAC ¹Ù²Ù±â    ÇÏâȣ 2009¡¤06¡¤05 282
193  °ø°³ :: ÇÚµåÆù  ¡¦1  ÇÏâȣ 2009¡¤05¡¤15 231
192  °ø°³ :: SSH ¼­¹ö Ŭ¶óÀÌ¾ðÆ®¸¦ ÀÌ¿ëÇÑ Firewall ¹«·Â...    ÇÏâȣ 2009¡¤05¡¤13 214
191  °ø°³ :: Window XP Powertoys    ÇÏâȣ 2009¡¤05¡¤07 191
190  ÁֽĠ:: UltimateOSC    ÇÏâȣ 2009¡¤04¡¤15 205
1 [2][3][4][5][6]
   
Copyright 1999-2010 Zeroboard / skin by GGAMBO
....