Mashki and I. Captured by illusion... - page 6

 
Three σ rule.
 
Maybe someone could use it.




Files:
 
Thank you !!!!!!!!!!!!!!
Files:
skinete.rar  22 kb
 

The topic has a continuation.

But, how is the CANDELABR worse?

Trand or flute, that's the question!

:)

 

Good afternoon.

I select МА parameters in my EA by means of optimization.

Are there any ways or indicators for MA which automatically select parameters Period and Shift?

 
Stells:

Good afternoon.

I select МА parameters in my EA by means of optimization.

Are there any tools or indicators for MA that automatically adjust Period and Shift parameters?


And what prevents a similar design for optimisation from being shoved into external variables? Then insert it into the iMA calculation...

extern int t_trend_period=7;
extern int s_signal_period=5;


extern int       JawPeriod = 13;
extern int       JawShift = 8;
extern int       TeethPeriod = 8;
extern int       TeethShift = 5;
extern int       LipsPeriod = 5;
extern int       LipsShift = 3;
extern int       AlligatorMethod = 2;
extern int       AlligatorPrice = 4;


Teeth = iAlligator(Symbol(), signal_period, JawPeriod, JawShift, TeethPeriod, TeethShift, 
                           LipsPeriod, LipsShift, AlligatorMethod, AlligatorPrice, 
                           MODE_GATORTEETH, 1);// линия зубов - если текущая цена пробивает фрактал выше ее,
                                               // то бай 
 

Don't forget about the function


int signal_period=GetPeriod(s_signal_period); // перебор таймфреймов 
int trend_period=GetPeriod(t_trend_period);   // для оптимизации

//для оптимизации по всем периодам 
int GetPeriod(int period)
{int periodres;
 switch(period)
  {
   case 1: periodres=1;break;
   case 2: periodres=5;break;
   case 3: periodres=15;break;
   case 4: periodres=30;break;
   case 5: periodres=60;break;
   case 6: periodres=240;break;
   case 7: periodres=1440;break;
   case 8: periodres=10080;break;
   default: periodres=1;break;
  }
return(periodres);
} 
I think it's just right for you...
 
Sorento:

I once said (with a clever look) - let's see how the price behaves around the moving average?

What if it's normally distributed in a trend and flat, and when there are reversals the characteristics change...

"Come on" - the gurus say (apparently knowing the answer:)...

That's the way I got it.



Yes, it's a real captivity... From this page - enjoy. :-)))

 
Roman.:


Yes, it's a real captivity... From this page - enjoy. :-)))

Explain to me how you use it. I'm not arguing that it's beautiful.
 
ZZZEROXXX:
Explain to me how you use it. I'm not arguing that it's beautiful.


I don't use it - I enjoy it... Truly - PLENTY OF ILLUSIONS... :-)))

 
ZZZEROXXX:
Explain how you use it. I'm not arguing that it's beautiful.


I don't use it... How to use it - see attached file...

Read two pages of the forum from here... - there's a description.

Files:
radyga_ts.rar  1037 kb