EURUSD - Eğilimler, Tahminler ve Etkiler (2. Bölüm) - sayfa 579

 
Vlad72 :

en alttaki türkiye ne
onu kullanmak mümkün mü?

Dosyalar:
sdl.mq4  4 kb
 
rustein :


gösterge yüklemek istemiyor, şunu yazıyor: HTTP Hatası 404.3 - Bulunamadı
Uzantının yapılandırması nedeniyle istenen sayfa görüntülenemiyor. Sayfa bir komut dosyasıysa, bir işleyici ekleyin. Bir dosya yüklemeniz gerekiyorsa, bir MIME haritası ekleyin.

Sunucu hareketi nedeniyle yol boyunca.

Bana bir sabun atın lütfen: exprom@mail.ru

 
//+------------------------------------------------------------------+
//|                                                          SDL.mq4 |
//+------------------------------------------------------------------+

#property indicator_separate_window
#property indicator_level1 0
#property indicator_levelcolor DimGray 
#property indicator_buffers 2 
#property indicator_color1 Green
#property indicator_color2 Red
#property indicator_width1 2
#property indicator_width2 2

//---- input parameters 

extern int        period= 13 ; 
extern int        method= 0 ;                        
extern int        price= 0 ;   
                        
//---- buffers 
double Uptrend[];
double Dntrend[];
double ExtMapBuffer[]; 


//+------------------------------------------------------------------+ 
//| Custom indicator initialization function                         | 
//+------------------------------------------------------------------+ 
int init() 
{ 
    IndicatorBuffers( 3 );  
     SetIndexBuffer ( 0 , Uptrend); 
     //ArraySetAsSeries(Uptrend, true); 
     SetIndexBuffer ( 1 , Dntrend); 
     //ArraySetAsSeries(Dntrend, true); 
     SetIndexBuffer ( 2 , ExtMapBuffer); 
     ArraySetAsSeries (ExtMapBuffer, true); 
    
    SetIndexStyle( 0 , DRAW_LINE , STYLE_SOLID , 2 );
    SetIndexStyle( 1 , DRAW_LINE , STYLE_SOLID , 2 );
    
    IndicatorShortName( "SDL" ); 
    
     return ( 0 ); 
} 

//+------------------------------------------------------------------+ 
//| Custor indicator deinitialization function                       | 
//+------------------------------------------------------------------+ 
int deinit() 
{ 
     
     return ( 0 ); 
} 

 
double WMA( int x, int p) 
{ 
     return ( iMA ( NULL , 0 , p, 0 , method, PRICE_CLOSE , x)- iMA ( NULL , 0 ,p, 0 ,method, PRICE_OPEN ,x));    
} 

//+------------------------------------------------------------------+ 
//| Custom indicator iteration function                              | 
//+------------------------------------------------------------------+ 
int start() 
{ 
     int counted_bars = IndicatorCounted(); 
    
     if (counted_bars < 0 ) 
         return (- 1 ); 
                  
     int x = 0 ; 
     int p = MathSqrt (period);              
     int e = Bars - counted_bars + period + 1 ; 
    
     double vect[], trend[]; 
    
     if (e > Bars ) 
        e = Bars ;    

     ArrayResize (vect, e); 
     ArraySetAsSeries (vect, true);
     ArrayResize (trend, e); 
     ArraySetAsSeries (trend, true); 
    
     for (x = 0 ; x < e; x++) 
    { 
        vect[x] = 2 *WMA(x, period/ 2 ) - WMA(x, period);        
 
    } 

     for (x = 0 ; x < e-period; x++)
     
        ExtMapBuffer[x] = iMAOnArray(vect, 0 , p, 0 , method, x);        
    
     for (x = e-period; x >= 0 ; x--)
    {     
        trend[x] = trend[x+ 1 ];
         if (ExtMapBuffer[x]> ExtMapBuffer[x+ 1 ]) trend[x] = 1 ;
         if (ExtMapBuffer[x]< ExtMapBuffer[x+ 1 ]) trend[x] =- 1 ;
    
     if (trend[x]> 0 )
    { Uptrend[x] = ExtMapBuffer[x]; 
       if (trend[x+ 1 ]< 0 ) Uptrend[x+ 1 ]=ExtMapBuffer[x+ 1 ];
      Dntrend[x] = EMPTY_VALUE ;
    }
     else               
     if (trend[x]< 0 )
    { 
      Dntrend[x] = ExtMapBuffer[x]; 
       if (trend[x+ 1 ]> 0 ) Dntrend[x+ 1 ]=ExtMapBuffer[x+ 1 ];
      Uptrend[x] = EMPTY_VALUE ;
    }              
    
  
    }
    
     return ( 0 ); 
} 
//+------------------------------------------------------------------+ 
Vlad72 :


gösterge yüklemek istemiyor, şunu yazıyor: HTTP Hatası 404.3 - Bulunamadı
Uzantının yapılandırması nedeniyle istenen sayfa görüntülenemiyor. Sayfa bir komut dosyasıysa, bir işleyici ekleyin. Bir dosya yüklemeniz gerekiyorsa, bir MIME haritası ekleyin.

Sunucu hareketi nedeniyle yol boyunca.

Bana bir sabun atın lütfen: exprom@mail.ru

 
rustein :


Çok teşekkür ederim, ilk bakışta, harika bir şey.
 

Galina'nın yorumlarını duymak isterim :-)

 
antoniofx :

Galina'nın yorumlarını duymak isterim :-)

bugün Galina'yı forumun başka bir klonunda gördüm (şaka yapmıyorum), o ve Stranger forumda neden bu kadar az insan olduğunu anlayamıyor,

Beni bilinmeyen nedenlerle oraya getirdiklerinde, forumun bu örneğinde onlara neyin ve nasıl olduğunu söylüyorum ...

Bir kere bu şaka değil...

 
OlegTs :

bugün Galina'yı forumun başka bir klonunda gördüm (şaka yapmıyorum), o ve Stranger forumda neden bu kadar az insan olduğunu anlayamıyor,

Beni bilinmeyen nedenlerle oraya getirdiklerinde, forumun bu örneğinde onlara neyin ve nasıl olduğunu söylüyorum ...

Bir kez daha, bu bir şaka değil...


Bu forumun adresini bilmek istiyorum (gizli değilse de)
 
evet, sır yok, dns güncellenene kadar, bazılarının eski bir sürümü olacak, bu yüzden ilk kez buraya geldim)))
 
OlegTs :


Çok dövizli bir tüccarım var, şu ana kadar EURUSD'de alımlarda, büyük olasılıkla bir geri dönüşte bir kayıpla kapanacak (düşüş eğilimi demek istiyorum), ancak operasyonda çok sayıda başka çift olduğundan, umarım bu kayıp havayı bozmaz...

ve evet, EURUSD düştü, büyükanneye gitmeyin, tabii dolar endeksi düzeltmeye gitmedikçe, ama gitmez, yani düz, ama yukarı değil, orası kesin ...

Kahretsin, resim eklenmemiş, boş bir çerçeve içinde "Görüntü" kelimesini gösteriyor, dosya olarak ekliyorum ...

işe yaramaz, sadece ben miyim böyle aksaklıklar?

2 numaralı deneme

vay!!! koymak

U menya pohozhih indikatora azh dve shtuki....

Odin napisal sam (koneshno negramotno), bir Drugoi skachal

Bir Vash prosto super.... Tak napisat u menya ne poluchitsya

Podelites pozhaluista...

gösterge uygulaması

//+------------------------------------------- --------------------+
//| Money_STAR.mq4 |
//| ev tüccarı |
//| mailbake@mail.ru |
//+------------------------------------------- --------------------+


#özellik telif hakkı "Hometrader"
#özellik bağlantısı "mailbake@mail.ru"

#özellik göstergesi_separate_window
#özellik göstergesi_tamponları 7
#özellik göstergesi_renk1 Kırmızı
#özellik göstergesi_color2 Sarı
#özellik göstergesi_renk3 Beyaz
#özellik göstergesi_color4 Yeşil
#özellik göstergesi_color5 Su
#özellik göstergesi_color6 Mor
#özellik göstergesi_color7 Kahverengi


harici int period_1 = 13 ;
harici int period_2 = 55 ;
extern int Shift = 1 ;
harici int EUR = -14104 ;
harici int GBP = -12734 ;
harici int AUD = 1827 ;
harici int USD = 602 ;
harici int CAD = 6201 ;
harici int CHF = 8691;
harici int JPY = 9492;


çift ExtMapBuffer1[];
çift ExtMapBuffer2[];
çift ExtMapBuffer3[];
çift ExtMapBuffer4[];
çift ExtMapBuffer5[];
çift ExtMapBuffer6[];
çift ExtMapBuffer7[];

//+------------------------------------------- --------------------+
//| özel gösterge başlatma işlevi |
//+------------------------------------------- --------------------+
int init()
{
//---- göstergeler
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,ExtMapBuffer1);

SetIndexStyle(1,DRAW_LINE);
SetIndexBuffer(1,ExtMapBuffer2);

SetIndexStyle(2,DRAW_LINE);
SetIndexBuffer(2,ExtMapBuffer3);

SetIndexStyle(3,DRAW_LINE);
SetIndexBuffer(3,ExtMapBuffer4);

SetIndexStyle(4,DRAW_LINE);
SetIndexBuffer(4,ExtMapBuffer5);

SetIndexStyle(5,DRAW_LINE);
SetIndexBuffer(5,ExtMapBuffer6);

SetIndexStyle(6,DRAW_LINE);
SetIndexBuffer(6,ExtMapBuffer7);


GöstergeShortName("Money_STAR("+period_1+","+period_2+")");

SetIndexLabel(0,"EUR");
SetIndexLabel(1,"GBP");
SetIndexLabel(2,"AUD");
SetIndexLabel(3,"USD");
SetIndexLabel(4,"CAD");
SetIndexLabel(5,"CHF");
SetIndexLabel(6,"JPY");

//----
dönüş(0);
}
//+------------------------------------------- --------------------+
//| özel gösterge sıfırlama işlevi |
//+------------------------------------------- --------------------+
int tanım()
{
//----

//----
dönüş(0);
}
//+------------------------------------------- --------------------+
//| özel gösterge yineleme işlevi |
//+------------------------------------------- --------------------+
int başlangıç()
{
int limiti;
int counted_bars=IndicatorCounted();

//---- olası hataları kontrol et
if(counted_bars<0) return(-1);
//---- son sayılan çubuk yeniden sayılacak
if(counted_bars>0) counted_bars--;
limit=bars-counted_bars;

//---- Ana döngü
for(int i=0; i<limit; i++)
{
//--AVRO--------------------------------------------- -------- -------
double p1 = MarketInfo("EURGBP",MODE_POINT);
double EURGBP = iMA("EURGBP",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p1;

double p2 = MarketInfo("EURUSD",MODE_POINT);
çift EURUSD = iMA("EURUSD",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p2;

double p3 = MarketInfo("EURCAD",MODE_POINT);
double EURCAD = iMA("EURCAD",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p3;

double p4 = MarketInfo("EURCHF",MODE_POINT);
double EURCHF = iMA("EURCHF",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p4;

double p5 = MarketInfo("EURJPY",MODE_POINT);
double EURJPY = iMA("EURJPY",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p5;

double p6 = MarketInfo("EURAUD",MODE_POINT);
double EURAUD = iMA("EURAUD",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p6;

//--GBP--------------------------------------------- -------- --------

double p7 = MarketInfo("GBPUSD",MODE_POINT);
çift GBPUSD = iMA("GBPUSD",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p7;

double p8 = MarketInfo("GBPCAD",MODE_POINT);
double GBPCAD = iMA("GBPCAD",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p8;

double p9 = MarketInfo("GBPCHF",MODE_POINT);
double GBPCHF = iMA("GBPCHF",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p9;

double p10 = MarketInfo("GBPJPY",MODE_POINT);
double GBPJPY = iMA("GBPJPY",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p10;

double p11 = MarketInfo("GBPAUD",MODE_POINT);
double GBPAUD = iMA("GBPAUD",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p11;


//--AUD------------------------------------------------- -------- ----------------

çift p12 = MarketInfo("AUDUSD",MODE_POINT);
çift AUDUSD = iMA("AUDUSD",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p12;

double p13 = MarketInfo("AUDCAD",MODE_POINT);
double AUDCAD = iMA("AUDCAD",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p13;

double p14 = MarketInfo("AUDCHF",MODE_POINT);
double AUDCHF = iMA("AUDCHF",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p14;

double p15 = MarketInfo("AUDJPY",MODE_POINT);
double AUDJPY = iMA("AUDJPY",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p15;

//--AMERİKAN DOLARI--------------------------------------------- ----------------

çift p16 = MarketInfo("USDCAD",MODE_POINT);
çift USDCAD = iMA("USDCAD",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p16;

çift p17 = MarketInfo("USDCHF",MODE_POINT);
çift USDCHF = iMA("USDCHF",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p17;

double p18 = MarketInfo("USDJPY",MODE_POINT);
double USDJPY = iMA("USDJPY",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p18;

//--CAD------------------------------------------------- -------- --------------------------

double p19 = MarketInfo("CADCHF",MODE_POINT);
double CADCHF = iMA("CADCHF",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p19;

double p20 = MarketInfo("CADJPY",MODE_POINT);
double CADJPY = iMA("CADJPY",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p20;

//-- CHF------------------------------------------------- -------------- ---------------------

double p21 = MarketInfo("CHFJPY",MODE_POINT);
double CHFJPY = iMA("CHFJPY",0,1,Shift,MODE_EMA,PRICE_CLOSE,i)/p21;

//-- Para Hesaplama ------------------------------------------- --------

çift EUR1 = (( EURGBP + EURAUD + EURUSD + EURCAD + EURCHF + EURJPY )/6 + EUR;
çift GBP1 = (( GBPAUD + GBPUSD + GBPCAD + GBPCHF + GBPJPY - EURGBP )/6) + GBP;
çift AUD1 = (( AUDUSD + AUDCAD + AUDCHF + AUDJPY - EURAUD - GBPAUD )/6) + AUD;
çift USD1 = (( USDCAD + USDCHF + USDJPY - EURUSD - GBPUSD - AUDUSD )/6) + USD;
çift CAD1 = (( CADCHF + CADJPY - EURCAD - GBPCAD - AUDCAD - USDCAD )/6 + CAD;
çift CHF1 = (( CHFJPY - EURCHF - GBPCHF - AUDCHF - USDCHF - CADCHF )/6) + CHF;
çift JPY1 = (( - EURJPY - GBPJPY - AUDJPY - USDJPY - CADJPY - CHFJPY )/6) + JPY;





ExtMapBuffer1[i] = EUR1;
ExtMapBuffer2[i] = GBP1;
ExtMapBuffer3[i] = AUD1;
ExtMapBuffer4[i] = USD1;
ExtMapBuffer5[i] = CAD1;
ExtMapBuffer6[i] = CHF1;
ExtMapBuffer7[i] = JPY1;





}
//----
dönüş(0);
}
//+------------------------------------------- --------------------+

Dosyalar:
indexes_v7l.ex4  31 kb
 
peki 1.4150'ye bir çağrı daha olacak mı)))))))) kim ne düşünüyor
Neden: