Multi Timeframe Indicators - page 600

 
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
 

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

 
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);

}
 
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...

 

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

 
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

 

Any chance you can send me everything corrected? I know nothing about coding, sorry.

 
john1368:
Any chance you can send me everything corrected? I know nothing about coding, sorry.

I did post the correct indicator - it is the indicator from this post : https://www.mql5.com/en/forum/173574/page416 and that is the one that compiles with no error at all (old build of metatrader or new, does not matter)

 

Sorry, I cannot understand why it works on yours and not mine.

 
Kelch Monteiro:
Hi, guys! is possible turn the spearman indicator to mtf version?

spearmanrankcorr.mq4

thanks in advance!

hi guys... can you help me? give me some little hand here?

Reason: