Multicurrency advisor based on cluster indicators - page 5

 
BLACK_BOX >>:


Проверь историю по всем парам, отключи золото ifXAU = 0, покрути Bars.Count (по умолчанию 2000 баров). Пощелкай по периодам (иногда после модификации параметров его надо переинициализировать).

У кого еще не показывает?

Или у кого уже показывает?

Вот Фуй:


I still don't have it showing.

 
Rombur >>:

Чет у меня так и не показывает.

What does it say in the logbook?

Does the standard CCFp show?

 
BLACK_BOX >>:

А что в журнале пишет?

А стандартный CCFp показывает?

The standard shows

2010.01.29 10:56:53 Custom indicator CCFp EURUSD,H4: loaded successfully
2010.01.29 10:56:41 Custom indicator gMOBIUS_Q EURUSD,H1: loaded successfully
 
Rombur писал(а) >>

The standard one shows

2010.01.29 10:56:53 Custom indicator CCFp EURUSD,H4: loaded successfully
2010.01.29 10:56:41 Custom indicator gMOBIUS_Q EURUSD,H1: loaded successfully

You need to add error handling to the indicator. Then you can accurately determine which character is missing.

 
Rombur >>:

Стандартный показывает

2010.01.29 10:56:53 Custom indicator CCFp EURUSD,H4: loaded successfully
2010.01.29 10:56:41 Custom indicator gMOBIUS_Q EURUSD,H1: loaded successfully

Try this initial unoptimised version (no gold). Checked, it shows on broco and FXDD.

First one is silent on broco, then I'll figure out what's there.

PS. There in the settings, Mode can play around (the default is 5 then draws as mobius)

Files:
dccfp-ym.mq4  18 kb
 
Vinin >>:

Меня вот больше другой вопрос интересует. Вот эта функция в индикаторе.

Похоже что знак перепутан был. Умножение должно было быть

Да и то в последних двух расчетах ошибка сделана.

Почему?

I think I no longer understand this function at all. It used to seem natural before.

What is the point of accumulating an amount depending on the text. TF?

If we start from 1 minute, we sum up all nine periods of pushes, if we start from one week, we sum up only two of them. Further we see (in the main code a fraction is taken) that this is just the mean value of these frequencies.

All the wagons are taken from the current timeframe. TF, the wave periods are "supposedly" multiples of the upper timeframes.

Why is it impossible to take the same amount of points on all timeframes? Why exactly with such coefficients?

In short, we need to think hard here, this is probably the most important place of the whole system.


 

You can play around with this feature, sometimes it works better than the original.


extern int PeriodStep = 5;

//**************************************************************************************************
//|  Subroutines                                                     |
//**************************************************************************************************
double ma(string sym, int per, int Mode, int Price, int i)
  {
   double res = 0;
   int k = 1;
   int ma_shift = 0;
   for(int j=1; j<6; j++)
     { 
       res += iMA( sym, 0, per* k, ma_shift, Mode, Price, i); 
       k+= PeriodStep;
     } 
       
   return( res);
  }   
 
Vinin >>:

Могу конечно, точнее сделать свой аналог. Чужой уж индикатор править не стоит. Надо его оставлять в авторском исполнении.

Can I ask you to make an analogue of this?

 
BLACK_BOX >>:

Можно поиграться с такой функцией, иногда работает лучше оригинала.


Why is PeriodStep 5? What is the reason for choosing this value?

 
evbut >>:

почему PeriodStep именно 5? чем обусловлен выбор этого значения?

Nothing. Something average of the increments in the original. Neither is the number of swabs (j=1; j<6)