learn how to earn money villagers [Episode 2] ! - page 122

 
BeerGod:
Be sure to post it, with the recommended pair and timeframe, as well as what kind of depo you need ?

Roma got stuck with the presentation! I guess he's been shaping the grail himself! :)

Roma!!! We are waiting for you!

 
vladds:

Roma got stuck with the presentation! I guess he's been shaping the grail himself! :)

Roma!!! We're waiting for you!

Just got back from the sauna...

I'll post it tomorrow. It's not a grail - it's a trading system based on Ilan's algorithm... :-)

 
Roman.:

Only - just from the sauna...


Like the girls???? Where are the pictures ???? :)))))))))))))
 
BeerGod:
Do I have to lay it out, with recommended pair and timeframe, as well as what kind of depo I need ?

OK! I will first lay out the description and sets of EURUSD as an example.

I have not yet started to choose real instruments and settings for this TS, because so far I use reverse martin on the same system, only here when you reach the stop, the averaging occurs in the direction of the initial order, and in the reverse happens with the overturning of the previous position, there and there on larger volumes. I started working on reverse martin even earlier and I wanted to more or less improve it. I have done it. If I have more profit, I will start using this variant of Ilan as well. I'll post it in a thread tomorrow. Don't kick me for a code, because some questions were solved directly, for example, calculation of volumes depending on an averaging variant (it was possible to write it by formulas, for example, for arithmetic progression, I made it only for classical Ilan variant, other types of averaging are made by operator case:), code example:

... 
// Ордер закрылся с убытком - считаем количество усреднений, новый 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 16: Lots_New = lots * 1597; Print("Iteration = ", Iteration, " Lots_New = ", Lots_New);  break;    
                     case 17: Lots_New = lots * 2584; Print("Iteration = ", Iteration, " Lots_New = ", Lots_New);  break;
                     case 18: Lots_New = lots * 4181; Print("Iteration = ", Iteration, " Lots_New = ", Lots_New);  break;
                     case 19: Lots_New = lots * 6765; Print("Iteration = ", Iteration, " Lots_New = ", Lots_New);  break;                                                   
                     case 20: Lots_New = lots * 10946;Print("Iteration = ", Iteration, " Lots_New = ", Lots_New);  break;                           
                     default: Lots_New = lots * 17711; {Iteration = 0; Print("Выход за пределы. Iteration = ", Iteration, " Lots_New = ", Lots_New ); }                      
                   }                                    // Конец тела switch      
                    
           if (Iteration <= Max_Iteration && VAR_MM == 1)
              //Последующие лоты открываются по ИЛАНУ через экспоненту: iLots = NormalizeDouble(Lots * MathPow(LotExponent, NumOfTrades), lotdecimal);
               switch(Iteration)                        // Заголовок switch 
                   {                                    // Начало тела switch    
                  // case 0 : Lots_New = lots;  Print("старт, Lots_New = ", Lots_New );break; // СТАРТ                
                     case 1 : Lots_New = lastLots * 1; lots = lastLots; Print("Iteration = ", Iteration, " Lots_New = ", Lots_New );break; //расчет нового объема                                                                                                                        
                     // расчет последующих объемов, открываемых позиций, начиная с объема ПЕРВОЙ-case 1
                     default: Lots_New = lots * MathPow(LotExponent, Iteration); Print("Iteration = ", Iteration, " Lots_New = ", Lots_New);                                                                    
                   }                                   // Конец тела switch  
                
          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 * 2;    Print("Iteration = ", Iteration, " Lots_New = ", Lots_New);  break;   
                     case 3 : Lots_New = lots * 4;    Print("Iteration = ", Iteration, " Lots_New = ", Lots_New);  break;      
                     case 4 : Lots_New = lots * 8;    Print("Iteration = ", Iteration, " Lots_New = ", Lots_New);  break;  
                    ...                                              
                     case 16: Lots_New = Lots * 32768;Print("Iteration = ", Iteration, " Lots_New = ", Lots_New);  break;
                     case 17: Lots_New = Lots * 65536;Print("Iteration = ", Iteration, " Lots_New = ", Lots_New);  break;                                                                  
                     default: Lots_New = lots * 65536; {Iteration = 0; Print("Выход за пределы. Iteration = ", Iteration, " Lots_New = ", Lots_New ); }                      
                   }                          
                   
         if (Iteration <= Max_Iteration && VAR_MM == 3)// Последующие лоты открываются в соответствие с членами ар прогрессии           
               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;   
...
 
TEXX:

How are the girls???? Where are the pictures ???? :)))))))))))))

Gud... :-)

 

I am pasting a fighting variant (IMHO, because I have no problems with error handling (requotes, etc.)) of ILAN_OSMA_2012_NEW for real trade together with JQS iOsMA indicator and with a set for optimization. Take and stop levels are virtual, not to show their real value. Channel width - dynamic, calculated using the ATP indicator. The code - working (not the final version) - "Not a clue" - open for further modification and testing.

The variables are commented out in the code.

Notes:

If trading the MaxRisk percentage of balance has a non-zero value, for example, 0.05, then the value of the Lots variable should be made equal to zero.

The value of the variable s_signal_period = 15, responsible for working at the corresponding TF in the test, should be equal to the testing TF, for example, in this case this value is 15 for M15.

I have removed the trawl, because practice has shown that it is not really necessary on small TFs and this type of TS... :-)

In other words, there is no time limit for entering the market with the start order, so it works all the time:

extern int Filter.Hour=0;       //  Д-Фильтр: торговля по часам, вне этих часовых рамок новые сделки не открывать, но текущие усреднения завершать
extern int     Start=0;
extern int      End=23;


And so, it is possible to opt tools by manual search of TFs (from M5 to H4), because, as practice has shown, it is better to do this than to opt TFs, because optimizing the best TF does not always result in the correct results.

Top left displays parameters required for trading, test by opening prices, tester shows averaging occurring when channel width is exceeded, by pressing pause in tester and through crosshair you can see that averaging occurs STRICTLY when channel width is exceeded:


The tester refuses to save the report, therefore I attach pictures of one of the options for eurobucks test on Alpari history on TF M15, optimization from early 2010 to the present:

In this variant, the subsequent volumes are spiked according to the Fibo numbers, parameter VAR_MM = 0:

I would be grateful if someone would post and lay out working settings for flat instruments.

If the channel width is too big, then the tool may be too flat, but I don't know how to choose it... If the channel width is too large, then the tool may be too flat.

If the channel width is too large, the trades and profits will be few, and if the channel width is too small, the probability of loss will increase.

For Ilans and Avalanches, if under 100% per year, this is GOOD! IMHO!

Files:
_.zip  49 kb
 

Буду благодарен, если кто пооптит и выложит рабочие настройки!

let's get it on! :)
 
It's not working out so well yet!
 
vladds:
Something's not quite working out so far!

It's not a quick process... :-)

Again, I'm a proponent, such a return that is up to 100% a year - this is already a good thing for Ilan/Lavina! IMHO!

But not so, that a DEP, let's say 1000$ be beaten into 10 parts and then successively from 100$ - start with the possibility of pulling out 1000% and with a much higher probability of being drained, i.e.

trade relatively safer for the deposit, i.e., with an annual return of about 100% and with a higher probability of not losing this deposit! Than - one 100 - flush, two - 100 - flush, three 100 - flush, four 100 - flown to $ 2000 for six months, let's say. I do not like this trade.


 
I don't see in the SL and TP settings how to set them up?
Reason: