Yatay çizgiler - sayfa 10

 

Merhaba Mladen,

Aşağıdakileri içeren göstergeyi paylaşabilir misiniz:

1) bir işlem gününün açılışında iki yatay çizgi

2) İlk XX mumun bir satırı yüksek, diğeri düşük

3) çoklu zaman çerçevesi

4) Çizgileri geçerken sesli, açılır pencereli, push ve e-postalı uyarı.

Teşekkürler.

 
Jea :

Merhaba Mladen,

Aşağıdakileri içeren göstergeyi paylaşabilir misiniz:

1) bir işlem gününün açılışında iki yatay çizgi

2) İlk XX mumun bir satırı yüksek, diğeri düşük

3) çoklu zaman çerçevesi

4) Çizgileri geçerken sesli, açılır pencereli, push ve e-postalı uyarı.

Teşekkürler.

evet

Bende öyle bir gösterge yok. "Londra koparma kutuları" denen bazılarını veya benzerlerini deneyebilirsiniz (yanılmıyorsam)

 
mladen :

evet

Bende öyle bir gösterge yok. "Londra koparma kutuları" denen bazılarını veya benzerlerini deneyebilirsiniz (yanılmıyorsam)

Çok teşekkürler. Bir kutudan ziyade yatay bir çizgi daha iyi olurdu.
 
Jea :
Çok teşekkürler. Bir kutudan ziyade yatay bir çizgi daha iyi olurdu.
Kutunun rengini kutsala çevirebilirsin ve sonra çizgilerin var
 
herkese iyi

burada yeniyim umarım beni anlarsın
Şimdiden teşekkürler

Bir X mumundan koyduğumuz bazı noktalara aşağı yukarı bir fibonacci gibi çizgiler çizen herhangi bir gösterge, komut dosyası biliyor musunuz diye sormak istedim.

Örneğin:
XX: XXh mumumuz var ve bu mum X'in maksimum ve minimum değerlerinden maksimumun birkaç satır yukarısını işaretlemesini istiyoruz.

5. -----------------
4. -------------
3 üncü ----------
2. -------------
1 inci ----------

ana çubuk

1. Satır X noktaları ---------------
2. Satır X Noktaları ---------------
3 üncü ----------------- ...
4º ----------------...
5. -----------....
..... vb

Ve sonra Minimumda aynı ama aşağıda

Ekli resim


Çok teşekkür ederim umarım yardım edersin
Dosyalar:
Puntos1.png  41 kb
 
xabipe :
herkese iyi

burada yeniyim umarım beni anlarsın
Şimdiden teşekkürler

Bir X mumundan koyduğumuz bazı noktalara aşağı yukarı bir fibonacci gibi çizgiler çizen herhangi bir gösterge, komut dosyası biliyor musunuz diye sormak istedim.

Örneğin:
XX: XXh mumumuz var ve bu mum X'in maksimum ve minimum değerlerinden maksimumun birkaç satır yukarısını işaretlemesini istiyoruz.

5. -----------------
4. -------------
3 üncü ----------
2. -------------
1 inci ----------

ana çubuk

1. Satır X noktaları ---------------
2. Satır X Noktaları ---------------
3 üncü ----------------- ...
4º ----------------...
5. -----------....
..... vb

Ve sonra Minimumda aynı ama aşağıda

Ekli resim


Çok teşekkür ederim umarım yardım edersin
Bu sırtın ilk gönderisindeki göstergeyi kontrol ettiniz mi?
 
mladen :
¿Ha comprobado el indicador desde el primer puesto de esta banda de rodadura?
Merhaba

Siya lo estaba buscando, pero lo que necesito es lo que muestro en la imagen, hiçbir sé si seria olası değişiklik yok

Zaten bakıyor olsaydım ama ihtiyacım olan şey resimde gösterdiğim şeyse, gerektiğinde kullanabilmek için bazılarını değiştirmenin mümkün olup olmayacağını bilmiyorum.

teşekkür etmek

 
xabipe :
Merhaba

Siya lo estaba buscando, pero lo que necesito es lo que muestro en la imagen, hiçbir sé si seria olası değişiklik yok

Zaten bakıyor olsaydım ama ihtiyacım olan şey resimde gösterdiğim şeyse, gerektiğinde kullanabilmek için bazılarını değiştirmenin mümkün olup olmayacağını bilmiyorum.

teşekkür etmek

Hatırladığım kadarıyla bazıları tam olarak ihtiyacınız olanı yapıyor. Lütfen onları kontrol edin
 
sailor :

Program kodundaki satırın adını değiştirdiniz, böylece daha fazla koparma eklenmiş olabilir

program kodundaki adı değiştirdi, böylece 1'den fazla eklenmiş olması mümkün

Sadece H4 dan Daily zaman diliminde destek çeken ve direnen bu göstergeye sahip misiniz?
 

umarım bu yardımcı olur

 //+------------------------------------------------------------------+
//|                                                   soubra2003.mq4 |
//|                                  Copyright 2016-2018, soubra2003 |
//|                         https://www.mql5.com/en/users/soubra2003 |
//+------------------------------------------------------------------+


#property copyright "Copyright 2016-2018, Soubra2003"
#property link        "https://www.mql5.com/en/users/soubra2003/seller"
#property version    "1.00"
#property strict


input    ENUM_TIMEFRAMES TF= PERIOD_CURRENT ;   // Time frame 
/*input*/    string           InpName= "Fibo" ;       // Line name
/*extern*/ double           InpPrice= 0.01 ;     // Line price
input    color            InpColor= clrRed ;     // Line color
input    ENUM_LINE_STYLE InpStyle= STYLE_DASH ; // Line style
input    int              InpWidth= 1 ;           // Line width
/*input*/    bool             InpBack= false ;       // Background line
/*input*/    bool             InpSelection= true ;   // Highlight to move
/*input*/    bool             InpHidden= true ;       // Hidden in the object list
/*input*/    long             InpZOrder= 0 ;         // Priority for mouse click

//---
//int      DigitFactor;
double    open,high,low,close,candlesize;



//+------------------------------------------------------------------+
//| Expert initialization function
//+------------------------------------------------------------------+
int OnInit ()
{
   for ( int i= 0 ;i< 6 ;i++)
   {
      HLineCreate( 0 ,InpName+( string )i, 0 ,InpPrice,InpColor,InpStyle,InpWidth,InpBack,InpSelection,InpHidden,InpZOrder);
      HLineMove( 0 ,InpName+( string )i,InpPrice);
   }

   //if(Digits==3)  DigitFactor=100;
   //else if(Digits==5)   DigitFactor=10000;

//---
   return ( INIT_SUCCEEDED );
}



//+------------------------------------------------------------------+
//| Expert tick function
//+------------------------------------------------------------------+
void OnTick ()
{
   open  =   iOpen ( NULL ,TF, 1 );
   high  =   iHigh ( NULL ,TF, 1 );
   low   =   iLow ( NULL ,TF, 1 );
   close =   iClose ( NULL ,TF, 1 );
   //
   candlesize  =  high-low;
   if (candlesize < 0 ) candlesize=candlesize*(- 1 );
   candlesize  =   NormalizeDouble (candlesize, Digits );
   
//---
   HLineMove( 0 ,InpName+( string ) 0 ,low);
   HLineMove( 0 ,InpName+( string ) 5 ,high);
   //
   if (close >  open) //UP
   {
      HLineMove( 0 ,InpName+( string ) 1 ,high-candlesize* 0.236 );
      HLineMove( 0 ,InpName+( string ) 2 ,high-candlesize* 0.382 );
      HLineMove( 0 ,InpName+( string ) 3 ,high-candlesize* 0.50 );
      HLineMove( 0 ,InpName+( string ) 4 ,high-candlesize* 0.618 );
   }
   else if (close  <  open) //DOWN
   {
      HLineMove( 0 ,InpName+( string ) 1 ,low+candlesize* 0.236 );
      HLineMove( 0 ,InpName+( string ) 2 ,low+candlesize* 0.382 );
      HLineMove( 0 ,InpName+( string ) 3 ,low+candlesize* 0.50 );
      HLineMove( 0 ,InpName+( string ) 4 ,low+candlesize* 0.618 );
   }
}



//+------------------------------------------------------------------+
//| Expert deinitialization function
//+------------------------------------------------------------------+
void OnDeinit ( const int reason)
{
   for ( int i= 0 ;i< 6 ;i++)
       ObjectDelete ( ChartID (),InpName+( string )i);

//---
   Print ( "Bye." );
}



//+------------------------------------------------------------------+
//| Create the horizontal line                                       |
//+------------------------------------------------------------------+
bool HLineCreate( const long             chart_ID= 0 ,         // chart's ID 
                 const string           name= "HLine" ,       // line name 
                 const int              sub_window= 0 ,       // subwindow index 
                 double                 price= 0 ,           // line price 
                 const color            clr= clrRed ,         // line color 
                 const ENUM_LINE_STYLE style= STYLE_SOLID , // line style 
                 const int              width= 1 ,           // line width 
                 const bool             back= false ,         // in the background 
                 const bool             selection= true ,     // highlight to move 
                 const bool             hidden= true ,       // hidden in the object list 
                 const long             z_order= 0 )         // priority for mouse click 
{ 
//--- if the price is not set, set it at the current Bid price level 
   if (!price) 
      price= SymbolInfoDouble ( Symbol (), SYMBOL_BID ); 
//--- reset the error value 
   ResetLastError (); 
//--- create a horizontal line 
   if (! ObjectCreate (chart_ID,name, OBJ_HLINE ,sub_window, 0 ,price)) 
     { 
       Print ( __FUNCTION__ , 
             ": failed to create a horizontal line! Error code = " , GetLastError ()); 
       return ( false ); 
     } 
//--- set line color 
   ObjectSetInteger (chart_ID,name, OBJPROP_COLOR ,clr); 
//--- set line display style 
   ObjectSetInteger (chart_ID,name, OBJPROP_STYLE ,style); 
//--- set line width 
   ObjectSetInteger (chart_ID,name, OBJPROP_WIDTH ,width); 
//--- display in the foreground (false) or background (true) 
   ObjectSetInteger (chart_ID,name, OBJPROP_BACK ,back); 
//--- enable (true) or disable (false) the mode of moving the line by mouse 
//--- when creating a graphical object using ObjectCreate function, the object cannot be 
//--- highlighted and moved by default. Inside this method, selection parameter 
//--- is true by default making it possible to highlight and move the object 
   ObjectSetInteger (chart_ID,name, OBJPROP_SELECTABLE ,selection); 
   ObjectSetInteger (chart_ID,name, OBJPROP_SELECTED ,selection); 
//--- hide (true) or display (false) graphical object name in the object list 
   ObjectSetInteger (chart_ID,name, OBJPROP_HIDDEN ,hidden); 
//--- set the priority for receiving the event of a mouse click in the chart 
   ObjectSetInteger (chart_ID,name, OBJPROP_ZORDER ,z_order); 
//--- successful execution 
   return ( true ); 
}



//+------------------------------------------------------------------+
//| Move horizontal line                                             |
//+------------------------------------------------------------------+
bool HLineMove( const long    chart_ID= 0 ,   // chart's ID 
               const string name= "HLine" , // line name 
               double        price= 0 )       // line price
{ 
//--- if the line price is not set, move it to the current Bid price level 
   if (!price) 
      price= SymbolInfoDouble ( Symbol (), SYMBOL_BID ); 
//--- reset the error value 
   ResetLastError (); 
//--- move a horizontal line 
   if (! ObjectMove (chart_ID,name, 0 , 0 ,price)) 
     { 
       Print ( __FUNCTION__ , 
             ": failed to move the horizontal line! Error code = " , GetLastError ()); 
       return ( false ); 
     } 
//--- successful execution 
   return ( true ); 
}


//+------------------------------------------------------------------+
//Bye