[Arşiv]Köylülerden para kazanmayı öğrenin![Arşiv] - sayfa 660

 
Roman. :


Açık. Şu anda baykuşta kontrol ediyorum (adına göre aynı işlev bile var) - Onu (o olanı) bununla (sizin) değiştirmeyeceğim ... Daha sonra daha ayrıntılı bakacağım ...

Örneğin, başlangıç depozitosundaki siparişlerin ortalamasını almak için yaklaşık lotları bir satıra yazın. 10.000 birim para birimleri, yani:

0. başlangıç hacmi = 0.01 lot.

1. ortalama piyasa = 0.02 lot.

3. ortalama piyasa = 0.03 lot.

4. = 0.05

5. = 0.09

6

7

sekiz

dokuz

Ve bir sonraki ortalama sırasını 900 saniye sonra koyun. önceki tüm tek yönlü başlangıç ve ortalama siparişlerinde bir kayıp olması durumunda önceki ortalama piyasa emrinin açılmasından sonra mı?

Pek değil, göstergenin onaylayıcı bir sinyali olduğu sürece sipariş veriyorum, ancak her 900 saniyede bir (rastgele seçtim), hangi partiyi belirlemek imkansız olacak, çünkü nerede olduğunu bilmiyorum. pazar beni alacak, artıdaysa lot daha büyükse, eksideyse daha azsa (karsız siparişleri çekmek için martingale yok), ekteki raporda lotları görebilirsiniz, karışıklık var
Dosyalar:
 
BeerGod :
Pek değil, göstergenin onaylayıcı bir sinyali olduğu sürece sipariş veriyorum, ancak her 900 saniyede bir (rastgele seçtim), hangi partiyi belirlemek imkansız olacak, çünkü nerede olduğunu bilmiyorum. pazar beni alacak, artıdaysa lot daha büyükse, eksideyse daha azsa (karsız siparişleri çekmek için martingale yok), ekteki raporda lotları görebilirsiniz, karışıklık var

Açık. Devam edelim ! :-)
 
Roman. :

Uygun konuda bir soru sordu - bu konuya bakın. Kendimi bilmiyorum, uzun zamandır bir “kule” vardı ... :-)
Lütfen düzeltin, X derecenin sabit bir değeridir
 
new-rena :
Lütfen düzeltin, X derecenin sabit bir değeridir

Düzeltildi.
 
Roman. :

Düzeltildi.

Peki, böyle bir denklemi çözdüğümüzde hazır olacak (muhtemelen sayfa No. 666). Test cihazında çalıştırmak ve yıllık yüzdeler için bir tahmin yapmak mümkün olacaktır. Parametre yok - sadece sonuç ilginç

Ve hindi danışmana doğru sürdü. Yalnızca [i-1] --> 1'i değiştirmeniz gerekiyor

 
new-rena :
Peki, böyle bir denklemi çözdüğümüzde hazır olacak. Test cihazında çalıştırmak ve yıllık yüzdeler için bir tahmin yapmak mümkün olacaktır. Parametre yok - sadece sonuç ilginç


Şu anda farklı seçenekleri de büküyorum, özellikle max değerine göre bir adım tanımı. xrenfx'in komut dosyasında maks. tarihin derinliği...

Yani m/y max aralığını alırsanız. ve dk. belirli bir süre boyunca, aşırı bir reasürans olmaz mı... ve sonuç olarak, karda bir düşüş olmaz mı, çünkü ortalama siparişlerin adımı, maksimumun bölünmesi sonucu elde edilen değere kıyasla artacaktır. . maksimumda geri tepme yok. olası ortalama sipariş sayısı ???...

Ve kontrol ettim ki, aritmetik bir ilerleme üzerinden ortalama değeri yaparsanız, o zaman bir grup siparişi kâra dönüştürmek için, örneğin önceki siparişi ikiye katlarken olduğundan daha ciddi bir geri dönüşe ihtiyacınız var... Şu anda böyle bir tasarımım var - farklı cihazlarda test cihazında ve optimize edicide görün:

Üç tür ortalama:

 
Roman. :


Şu anda farklı seçenekleri de büküyorum, özellikle max değerine göre bir adım tanımı. xrenfx'in komut dosyasında maks. tarihin derinliği...

Yani m/y max aralığını alırsanız. ve dk. belirli bir süre için, o zaman aşırı bir reasürans olmaz mı... ve sonuç olarak, kârda bir düşüş olmaz mı, çünkü bölünme sonucu elde edilen değere kıyasla ortalama emir alma adımı artacaktır. maks. maksimumda geri tepme yok. olası ortalama sipariş sayısı ???...

Ve kontrol ettim ki, aritmetik bir ilerleme üzerinden ortalama değeri yaparsanız, o zaman bir grup siparişi kâra dönüştürmek için, örneğin önceki siparişi ikiye katlarken olduğundan daha ciddi bir geri dönüşe ihtiyacınız var... Şu anda böyle bir tasarımım var - farklı cihazlarda test cihazında ve optimize edicide görün:

Üç tür ortalama:

Evet, aritmetik ortalama alma, bir tahliye garantisi gerçeğidir. Bunu PAMM'i izlenen kişi için kastetmiştim.

Ayrıca ikiye katlarken yeterli paranın olacağı da bir gerçek değil. Bu nedenle, partinin büyüklüğünü arttırma formülümün bir çeşidi, tarihe göre drenaj önleme garantisidir.

 
extern int Max_Iteration = 36;// Максимальное количество усреднений (ордеров) в нетто-илане 
extern int VAR_MM = 0; // используемый вариант усреднения в соотв-ии: множитель с числами ФИБО = 0 / множитель по арифметической прогрессии = 1
                      // 2 - классический мартин - удвоение предыдущего объема с 3-его усреднения   

 // Ордер закрылся с убытком - считаем количество усреднений, новый lots, усредняем цену открытия  в ТОМ ЖЕ направлении
            // при условии, что общее количество усреднений не выше максимального по соответствующему варианту усреднения                               
        
          if (Iteration <= Max_Iteration && VAR_MM == 0)                  
              // Последующие лоты открываются по множителю в соответствие с числами ФИБО           
               switch(Iteration)                                  // Заголовок switch 
                   {                                              // Начало тела switch                  
                     case 1 : Lots_New = lastLots * 1; lots = lastLots; Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );break; //расчет нового объема       
                     case 2 : Lots_New = lots * 2;    Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;   
                     case 3 : Lots_New = lots * 3;    Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;      
                     case 4 : Lots_New = lots * 5;    Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;  
                     case 5 : Lots_New = lots * 8;    Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;     
                     case 6 : Lots_New = lots * 13;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;      
                     case 7 : Lots_New = lots * 21;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;     
                     case 8 : Lots_New = lots * 34;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;         
                     case 9 : Lots_New = lots * 55;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;           
                     case 10: Lots_New = lots * 89;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break; 
                     case 11: Lots_New = lots * 144;  Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;               
                     case 12: Lots_New = lots * 233;  Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;               
                     case 13: Lots_New = lots * 377;  Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;               
                     case 14: Lots_New = lots * 610;  Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;  
                     case 15: Lots_New = lots * 987;  Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;               
                     case 16: Lots_New = lots * 1597; Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;                            
                     default: Lots_New = lots * 2584; Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );   
                   }                                    // Конец тела switch      
                    
           if (Iteration <= Max_Iteration && VAR_MM == 1)//Последующие лоты открываются в соответствие с членами арифметической прогрессии  
               switch(Iteration)                        // Заголовок switch 
                   {                                    // Начало тела switch    
                     case 1 : Lots_New = lastLots * 1; lots = lastLots; Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );break; //расчет нового объема            
                     case 2 : Lots_New = lots * 3;    Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;   
                     case 3 : Lots_New = lots * 5;    Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;      
                     case 4 : Lots_New = lots * 7;    Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;  
                     case 5 : Lots_New = lots * 9;    Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;     
                     case 6 : Lots_New = lots * 11;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;      
                     case 7 : Lots_New = lots * 13;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;     
                     case 8 : Lots_New = lots * 15;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;         
                     case 9 : Lots_New = lots * 17;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;           
                     case 10: Lots_New = lots * 19;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break; 
                     case 11: Lots_New = lots * 21;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;               
                     case 12: Lots_New = lots * 23;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;               
                     case 13: Lots_New = lots * 25;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;               
                     case 14: Lots_New = lots * 27;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;       
                     case 15: Lots_New = lots * 29;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;       
                     case 16: Lots_New = lots * 31;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;   
                     case 17: Lots_New = lots * 33;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;      
                     case 18: Lots_New = lots * 35;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;  
                     case 19: Lots_New = lots * 37;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;     
                     case 20: Lots_New = lots * 39;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;      
                     case 21: Lots_New = lots * 41;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;     
                     case 22: Lots_New = lots * 43;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;         
                     case 23: Lots_New = lots * 45;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;           
                     case 24: Lots_New = lots * 47;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break; 
                     case 25: Lots_New = lots * 49;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;               
                     case 26: Lots_New = lots * 51;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;               
                     case 27: Lots_New = lots * 53;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;               
                     case 28: Lots_New = lots * 55;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break; 
                     case 29: Lots_New = lots * 57;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;               
                     case 30: Lots_New = lots * 59;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;               
                     case 31: Lots_New = lots * 61;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break; 
                     case 32: Lots_New = lots * 63;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break; 
                     case 33: Lots_New = lots * 65;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;               
                     case 34: Lots_New = lots * 67;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;               
                     case 35: Lots_New = lots * 69;   Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );  break;                               
                     default: Lots_New = lots * 71;  {Iteration = 0; Print("Iteration = ", Iteration, " Lots_New = ", Lots_New ); }                       
                   }                                   // Конец тела switch  
          
 

İşte böyle bir tasarım - her şey hemen uymadı:

 if (Iteration <= Max_Iteration && VAR_MM == 2 ) // Последующие лоты открываются в соответствие с классическим мартином - удвоение           
               switch (Iteration)                       // Заголовок switch 
                   {                                   // Начало тела switch                       
                     case 1 : Lots_New = lastLots * 1 ; lots = lastLots; Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New ); break ; //расчет нового объема       
                     case 2 : Lots_New = lots * 1 ;     Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New );   break ;   
                     case 3 : Lots_New = lots * 2 ;     Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New );   break ;      
                     case 4 : Lots_New = lots * 4 ;     Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New );   break ;  
                     case 5 : Lots_New = lots * 8 ;     Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New );   break ;     
                     case 6 : Lots_New = lots * 16 ;   Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New );   break ;      
                     case 7 : Lots_New = lots * 32 ;   Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New );   break ;     
                     case 8 : Lots_New = lots * 64 ;   Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New );   break ;         
                     case 9 : Lots_New = lots * 128 ;   Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New );   break ;           
                     case 10 : Lots_New = lots * 256 ;   Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New );   break ; 
                     case 11 : Lots_New = lots * 512 ;   Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New );   break ;               
                     case 12 : Lots_New = lots * 1024 ; Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New );   break ;               
                     case 13 : Lots_New = lots * 2048 ; Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New );   break ;                                      
                     case 14 : Lots_New = lots * 4096 ; Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New );   break ;                                                               
                     default : Lots_New = lots * 8192 ; Print ( "Iteration = " , Iteration, " Lots_New = " , Lots_New );   
                   }                                   // Конец тела switch          
                   
// ---------НОРМАЛИЗЦИЯ НОВЫХ РАСЧЕТНЫХ ЛОТОВ И ОТКРЫТИЕ ОЧЕРЕДНОЙ ПОЗИЦИИ...            
                    Lots_New = NormalizeLots(Lots_New);
                     if (lastType == OP_SELL) WmOrderSend( Symbol (), OP_SELL, Lots_New, Bid, 0 , 0 , "усреднение" , MagicNumber);
                     if (lastType == OP_BUY)  WmOrderSend( Symbol (), OP_BUY, Lots_New, Ask, 0 , 0 , "усреднение" ,  MagicNumber);                            
                      
                 
       

 
Roman. :

36 nereden geliyor? Ve katsayı acı verici derecede dik. Depoyu tahmin edin - tüm lotları toplayın ve marjla çarpın