Multi Timeframe Indicators - page 624

Mladen Rakic
153912
Mladen Rakic  
john1368:
Can someone please fix this to work with the latest Meta 4 build please?t3_trix_roc_of_t6-mtf.mq4

john1368

here you go

john1368
97
john1368  

Wow, awesomely quick, a shake and a bow thank you.

Mladen Rakic
153912
Mladen Rakic  
hyrulxxx:
Hi... needs your help to make it in MTF version and can change colour and width for every line ....means i can see

daily,weekly and monthly's line in current tf (i used h4)

thanks in advance

sorry for my bad english

hyrulxxx

check this one : https://www.mql5.com/en/forum/173574/page32

john1368
97
john1368  

Just tried it but still not working??

Mladen Rakic
153912
Mladen Rakic  
john1368:
Just tried it but still not working??

john

Here is how that same indicator (the "nmc" version) looks like at my terminal - in multi time frame mode as well as in regular mode. Please check what version are you using (and check if it compiles OK)

Files:
trix.gif 52 kb
john1368
97
john1368  

I get 16 errors and 2 warnings when try to compile?

Mladen Rakic
153912
Mladen Rakic  
john1368:
I get 16 errors and 2 warnings when try to compile?

John

Yu are using a wrong code

Check the code you are trying to use and the end must look like this (char is replaced with tchar in every instance where it occured) :

string stringUpperCase(string str)

{

string s = str;

for (int length=StringLen(str)-1; length>=0; length--)

{

int tchar = StringGetChar(s, length);

if((tchar > 96 && tchar 223 && tchar < 256))

s = StringSetChar(s, length, tchar - 32);

else if(tchar > -33 && tchar < 0)

s = StringSetChar(s, length, tchar + 224);

}

return(s);

}
advanced
163
advanced  
mladen:
gincius

This is the code that does the alerting part :

string alert_level; string alert_message;

alert_message = symbol+" "+ tChartPeriod+ " at "+ DoubleToStr(Close[0] ,digits);

if ( Trigger1 && Alert_Lv1 )

{

if( FP_BuferUp[0] != 0 ) { Trigger1 = False ; alert_level =" ZZS: Level 1 Low; ";

if(Box_Alerts) Alert(alert_level,alert_message);

if(Email_Alerts) SendMail(alert_level,alert_message);

if(Sound_Alerts) PlaySound(Alert_Lv1_Low_SoundFile);

}

if( FP_BuferDn[0] != 0 ) { Trigger1 = False ; alert_level =" ZZS: Level 1 High; ";

if(Box_Alerts) Alert(alert_level,alert_message);

if(Email_Alerts) SendMail(alert_level,alert_message);

if(Sound_Alerts) PlaySound(Alert_Lv1_High_SoundFile);

}

}

if ( Trigger2 && Alert_Lv2 )

{

if( NP_BuferUp[0] != 0 ) { Trigger2 = False ; alert_level =" ZZS: Level 2 Low; ";

if(Box_Alerts) Alert(alert_level,alert_message);

if(Email_Alerts) SendMail(alert_level,alert_message);

if(Sound_Alerts) PlaySound(Alert_Lv2_Low_SoundFile);

}

if( NP_BuferDn[0] != 0 ) { Trigger2 = False ; alert_level =" ZZS: Level 2 High; ";

if(Box_Alerts) Alert(alert_level,alert_message);

if(Email_Alerts) SendMail(alert_level,alert_message);

if(Sound_Alerts) PlaySound(Alert_Lv2_High_SoundFile);

}

}

OldBars = Bars ;

There is no "level 3" alerting code in it at all

I do not understand anything in coding ...

It consequently I was wrong, thinking that the "white only" are made ​​of "3 levels ZZ semsfor" ... and the two alert levels are the invisible levels 1and 2 ,

and alert usually appears with a notice about level 2 only...(

whether it should be understood that we mean that last level 3 ?)

If so-than leave it as it is and make this ZZ only MTF please.

Sorry for confuse...

john1368
97
john1368  

Copy and paste your coding and still the same errors coming?

Mladen Rakic
153912
Mladen Rakic  
john1368:
Copy and paste your coding and still the same errors coming?

Did you replace the function with that same name? You must not leave the old function. If you replace it with the function from that post there must be no compiling errors at all