Mladen Rakic
201163
Mladen Rakic  
kduncan:
Hi Mladen - thank you for your prompt response. I do not have the knowledge to answer you directly...so I will attach what I have. Both of these seem to do the same thing but have been named differently.

kduncan

Both are decompiled versions of a repainting version of sidus indicator. If you want to use non-repainting sidus use the one from this post : https://www.mql5.com/en/forum/180648/page331 (it already has alerts built in)

Mladen Rakic
201163
Mladen Rakic  
kduncan:
Hi Mladen - thank you for your prompt response. I do not have the knowledge to answer you directly...so I will attach what I have. Both of these seem to do the same thing but have been named differently.

PS: the multi time frame version (alerts included) of a correctly coded sidus indicator you can find at this post : https://www.mql5.com/en/forum/173574/page280

stan dacian
47
stan dacian  

Is it possible to add this function. I find it very useful. Regards!

/ ------------------------------------------------- ----------------------------

/ / Function: NextHigherTF ()

/ / Description: Select the next higher time-frame.

/ / Note: M15 and M30 both select H1 as next higher TF.

/ / ------------------------------------------------ -----------------------------

NextHigherTF int (int iPeriod) {

if (iPeriod == 0) iPeriod = Period ();

switch (iPeriod) {

PERIOD_M1 houses: return (PERIOD_M5);

PERIOD_M5 houses: return (PERIOD_M15);

PERIOD_M15 houses: return (PERIOD_H1);

PERIOD_M30 houses: return (PERIOD_H1);

PERIOD_H1 houses: return (PERIOD_H4);

PERIOD_H4 houses: return (PERIOD_D1);

PERIOD_D1 houses: return (PERIOD_W1);

PERIOD_W1 houses: return (PERIOD_MN1);

PERIOD_MN1 houses: return (PERIOD_MN1);

default: return (Period ());

}

}

stan dacian
47
stan dacian  

It's about this indicator. This function MTF is needed to built it a .ea.

Mladen Rakic
201163
Mladen Rakic  
dacian21:
Is it possible to add this function. I find it very useful. Regards!

/ ------------------------------------------------- ----------------------------

/ / Function: NextHigherTF ()

/ / Description: Select the next higher time-frame.

/ / Note: M15 and M30 both select H1 as next higher TF.

/ / ------------------------------------------------ -----------------------------

NextHigherTF int (int iPeriod) {

if (iPeriod == 0) iPeriod = Period ();

switch (iPeriod) {

PERIOD_M1 houses: return (PERIOD_M5);

PERIOD_M5 houses: return (PERIOD_M15);

PERIOD_M15 houses: return (PERIOD_H1);

PERIOD_M30 houses: return (PERIOD_H1);

PERIOD_H1 houses: return (PERIOD_H4);

PERIOD_H4 houses: return (PERIOD_D1);

PERIOD_D1 houses: return (PERIOD_W1);

PERIOD_W1 houses: return (PERIOD_MN1);

PERIOD_MN1 houses: return (PERIOD_MN1);

default: return (Period ());

}

}

dacian21

Add it to what ?

camisa
587
camisa  

Hello, can someone program an "alertoncurrent" type of alert on teh attached indicator?

EMA 5 10 34 Crossoverl - Download - 4shared

ableq
9
ableq  

I can't find cyber cycle indicator who can help me and add alert? thank you

Files:
ableq
9
ableq  

I find it ,who can help me add alert,thank you

William Snyder
9550
William Snyder  
camisa:
Hello, can someone program an "alertoncurrent" type of alert on teh attached indicator? EMA 5 10 34 Crossoverl - Download - 4shared

Camisa, think this one here https://www.mql5.com/en/forum/general has that option

William Snyder
9550
William Snyder  
nbasuperstar:
I can't find cyber cycle indicator who can help me and add alert? thank you

Hello Nbasuperstar, added the alerts

Files: