EURX – uiteindelik, having found the calculation for the Euro Index –...

EURX – uiteindelik, having found the calculation for the Euro Indexhere it is – aanwyser vir Meta Trader 4

750
0
SHARE

Regte skrywer:

Andy Thompson

beskrywing:

In 2009 I published the indicator for DXYDollar Indexit was well received and downloaded many times in English and Russian. Now having found the definition of the Euro Index I submit this for the community’s use and comment.

The definition can be found atForex Ltd

//+------------------------------------------------------------------+
//|                                                   Euro Index.mq4 |
//|                                  Copyright © 2015, Andy Thompson |
//|                                   mailto:andydoc1@googlemail.com |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2015, Andy Thompson"
#property link      "m'nilto:'nndydoc1@googlem'nil.com"
#property strict
#property indicator_separate_window
#property indicator_buffers 3
#property indicator_color1 Red
#property indicator_width1 2
#property indicator_color2 Yellow
#property indicator_width2 1
#property indicator_style2 1
#property indicator_color3 Lime
#property indicator_width3 1
#property indicator_style3 2
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
int i;
extern int short_term_SMA_period=20;
extern int long_term_SMA_period =40;
//int winind;
//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//+------------------------------------------------------------------+
int init()
  {
//---- indicators
   SetIndexStyle(0,DRAW_LINE);
   SetIndexBuffer(0,ExtMapBuffer1);
   SetIndexLabel(0,"DXY");
   SetIndexStyle(1,DRAW_LINE);
   SetIndexBuffer(1,ExtMapBuffer2);
   SetIndexLabel(1,short_term_SMA_period+"Hoërskool");
   SetIndexStyle(2,DRAW_LINE);
   SetIndexBuffer(2,ExtMapBuffer3);
   SetIndexLabel(2,long_term_SMA_period+"Hoërskool");
   IndicatorShortName("Euro Index: EURX / "+short_term_SMA_period+"Hoërskool / "+long_term_SMA_period+"Hoërskool");
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+
int start()
  {
   int counted_bars=IndicatorCounted();
   As(counted_bars < 0)  return(-1);
   As(counted_bars>0) counted_bars--;
   int limit=Bars-counted_bars;
   As(counted_bars==0) limit-=1+long_term_SMA_period;
//---- main loop
   for(i=0; i<limit; I ++)
     {
      ExtMapBuffer1[i]= 34.38805726*MathPow(iClose("EURUSD",0,i),0.3155)*MathPow(iClose("EURJPY",0,i),0.1891)*MathPow(iClose("EURGBP",0,i),0.3056)*MathPow(iClose("EURSEK",0,i),0.0785)*MathPow(iClose("EURCHF",0,i),0.1113);

     }
   vir(i=0; i<limit; I ++)
     {
      ExtMapBuffer2[i]=0;
      ExtMapBuffer3[i]=0;
      vir(int z=0; z<long_term_SMA_period; z++)
        {
         As(z<short_term_SMA_period) ExtMapBuffer2[i]=ExtMapBuffer2[i]+ExtMapBuffer1[i+z];
         ExtMapBuffer3[i]=ExtMapBuffer3[i]+ExtMapBuffer1[i+z];
        }
      ExtMapBuffer2[i] = ExtMapBuffer2[i]/short_term_SMA_period;
      ExtMapBuffer3[i] = ExtMapBuffer3[i]/long_term_SMA_period;
     }
//---- done
   return(0);
  }
//+------------------------------------------------------------------+

aanbevelings:

  • The periods for the moving averages can be changeddefaults are 20 en 40
  • The indicator will work on any chart and on any period

MT4 Indicators – Download Instructions

EURX is a Metatrader 4 (MT4) indicator and the essence of the forex indicator is to transform the accumulated history data.Subway provides for an opportunity to detect various peculiarities and patterns in price dynamics which are invisible to the naked eye.

Op grond van hierdie inligting, handelaars kan verdere prys beweging aanvaar en pas hul strategie dienooreenkomstig.

How to install the software?

  • Download the mq4 file from the zip file.
  • Copy the mq4 file to your Metatrader Directory / kenners / aanwysers /
  • Begin of herlaai jou Meta Trader kliënt
  • Kies Chart en Tydraamwerk waar jy wil jou aanwyser te toets
  • Search “Custom Indicators” in your Navigator mostly left in your Metatrader Client
  • Right click on the mq4 file.
  • Heg aan 'n grafiek
  • Verander instellings of druk ok
  • Indicator should be available on your Chart

How to remove tim.mq4 from your Metatrader 4 Grafiek?

  • Kies die diagram waar is die aanwyser hardloop in jou Meta Trader kliënt
  • Regs kliek in die Chart
  • “Indicators list”
  • Kies die aanwyser en verwyder

MT4 Aanwysers Aflaai hieronder:

EURX – uiteindelik, having found the calculation for the Euro Indexhere it is – aanwyser vir Meta Trader 4

GEEN KOMMENTAAR

Laat 'n antwoord