Elite indicators :) - page 484

altoronto
318
altoronto  
traderduke:
mladen

any chance of item 2 & 3 getting done & maybe 4 or is that a dead issue???

Ray

Traderduke, here is how I dealt in past with the MTF renko charts. So lets say first you create offline EUR/USD (M3) chart with let say 5 pip size Renko bars, then make another offline EUR/USD (M4) chart with 20 pip size Renko bars. Then you need to edit your MTF indicator, add M3 and M4 in MTF part of it. Then add indicator on M3 renko chart and change current time frame to 4, and you will get MTF indicator on renko chart.

P.S. About two currencies you need create GBP/USD M3/M4 offline renko charts. Here is Mladen's MTF code which I modify when I want to use on renko charts.

string sTfTable[] = {"M1","M3","M4","M5","M15","M30","H1","H4","D1","W1","MN"};

int iTfTable[] = {1,3,4,5,15,30,60,240,1440,10080,43200};

//

//

//

//

//

int stringToTimeFrame(string tfs)

{

tfs = stringUpperCase(tfs);

for (int i=ArraySize(iTfTable)-1; i>=0; i--)

if (tfs==sTfTable || tfs==""+iTfTable) return(MathMax(iTfTable,Period()));

return(Period());

}

string timeFrameToString(int tf)

{

for (int i=ArraySize(iTfTable)-1; i>=0; i--)

if (tf==iTfTable) return(sTfTable);

return("");

}

//

//

//

//

//

string stringUpperCase(string str)

{

string s = str;

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

{

int char = StringGetChar(s, length);

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

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

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

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

}

return(s);

}

traderduke
531
traderduke  

altoronto

Thanks for the suggestion but this indicator doesn't work on renko at ALL. I tried your method and it still failed to show on the chart. mladen spotted the problem but for this particular indicator without changing the structure it won't show. I even changed the case area but still no go. Later on I'll try it on aindicator that shows up on the renko charts. Some indicators work well on renko but others work but not good(accurate).

Thanks again for the interest

Ray

altoronto:
Traderduke, here is how I dealt in past with the MTF renko charts. So lets say first you create offline EUR/USD (M3) chart with let say 5 pip size Renko bars, then make another offline EUR/USD (M4) chart with 20 pip size Renko bars. Then you need to edit your MTF indicator, add M3 and M4 in MTF part of it. Then add indicator on M3 renko chart and change current time frame to 4, and you will get MTF indicator on renko chart.

P.S. About two currencies you need create GBP/USD M3/M4 offline renko charts. Here is Mladen's MTF code which I modify when I want to use on renko charts.

string sTfTable[] = {"M1","M3","M4","M5","M15","M30","H1","H4","D1","W1","MN"};

int iTfTable[] = {1,3,4,5,15,30,60,240,1440,10080,43200};

//

//

//

//

//

int stringToTimeFrame(string tfs)

{

tfs = stringUpperCase(tfs);

for (int i=ArraySize(iTfTable)-1; i>=0; i--)

if (tfs==sTfTable || tfs==""+iTfTable) return(MathMax(iTfTable,Period()));

return(Period());

}

string timeFrameToString(int tf)

{

for (int i=ArraySize(iTfTable)-1; i>=0; i--)

if (tf==iTfTable) return(sTfTable);

return("");

}

//

//

//

//

//

string stringUpperCase(string str)

{

string s = str;

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

{

int char = StringGetChar(s, length);

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

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

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

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

}

return(s);

}
hazelj80
170
hazelj80  

ADR pecentage vs pips indicator?

i was wondering if anybody could do an indicator that shows the last 24 HR rolling period of ADR in pips and percentage. if the percentage is equal or greater the number of pips, then it will light up green if it's positive or will light up red if it's negative.

example. last 24hr period ADR is, lets say, oh i don't know,+.0015 in pips. If ADR in percentage is reading +.15% or greater, it will light up green and vica verca for ADR that is -.0015 as well.

if someone can do this, that would excellent!

Hercs
2970
Hercs  

Small request Mladen plse

Good morning Mladen,

Trust this finds you well and successful as always.

Kindly change this indicator for me that it shows the Arrow during the formation of the candle (like the Dtosc and Blau as an example) At present it only places the arrow at the close of the candles.

Also, whilst at it, an option to interpolate please as well as to switch the audible alarm on/off.

Thanking you in advance.

Files:
Mladen Rakic
151198
Mladen Rakic  

...

ValeoFX

That is a decompiled version of the 2 ema cross indicator that was originally made by MrPip and which, even in that version, had a repainting problem (it is looking for future value of ema in one part, that is why it can not draw an arrow on a current bar). I think that we have posted somewhere a correct moving averages cross indicators already

regards

Mladen

ValeoFX:
Good morning Mladen,

Trust this finds you well and successful as always.

Kindly change this indicator for me that it shows the Arrow during the formation of the candle (like the Dtosc and Blau as an example) At present it only places the arrow at the close of the candles.

Also, whilst at it, an option to interpolate please as well as to switch the audible alarm on/off.

Thanking you in advance.
Hercs
2970
Hercs  

Thank you Mladen

mladen:
ValeoFX

That is a decompiled version of the 2 ema cross indicator that was originally made by MrPip and which, even in that version, had a repainting problem (it is looking for future value of ema in one part, that is why it can not draw an arrow on a current bar). I think that we have posted somewhere a correct moving averages cross indicators already

regards

Mladen

================

Sorry for the inconvenience caused, Mladen. Appreciate your reply.

Did not know that it was a decompiled version as I got it from a friend, but I will search for the correct one.

Have a successful day.

Mladen Rakic
151198
Mladen Rakic  

...

ValeoFX

Don't worry The trouble is that they (the decompiled ones) have spread so much that you almost can not avoid them. Even on metatrader official site you are having more and more decompiled code (to the extent that it is almost normal to run into one there). And since not all people are coders, no one can expect them to know that t is a decompiled code. I posted one post today (this one : https://www.mql5.com/en/forum/180648/page257 ) explaining my reasons why I don't want to work with that kind of code, but that does not have anything with anybody that simply did not know that the code is decompiled,

So do not worry. If you have some questions regarding things like these (how to recognize it for example) just ask. You or anybody else. If I can help, I will

regards

Mladen

ValeoFX:
================

Sorry for the inconvenience caused, Mladen. Appreciate your reply.

Did not know that it was a decompiled version as I got it from a friend, but I will search for the correct one.

Have a successful day.
Hercs
2970
Hercs  

What an absolute pleasure ...

mladen:
ValeoFX

Don't worry

The trouble is that they (the decompiled ones) have spread so much that you almost can not avoid them. Even on metatrader official site you are having more and more decompiled code (to the extent that it is almost normal to run into one there). And since not all people are coders, no one can expect them to know that t is a decompiled code. I posted one post today (this one : https://www.mql5.com/en/forum/180648/page257 ) explaining my reasons why I don't want to work with that kind of code, but that does not have anything with anybody that simply did not know that the code is decompiled,

So do not worry. If you have some questions regarding things like these (how to recognize it for example) just ask. You or anybody else. If I can help, I will

regards

Mladen

===================

Hello again Mladen,

What an absolute pleasure dealing with you! Appreciate you beyond words.

Having said that, I would love to know how one can actually see when it is/was a decompiled version.

I also found another one which I post here with the same request to have the Arrows show during the formation of the candle please. This one has no "ownership" claimed, but certainly not decompiled or is it?

Mladen Rakic
151198
Mladen Rakic  

...

As of decompiled code : here s an example how the variables are declared in the start() function :
int li_8;

double l_ima_12;

double l_ima_20;

double l_ima_28;

double l_ima_36;

double l_ima_44;

double l_ima_52;

double ld_60;

double ld_68;

Man does not do it like that since those names mean nothing to a human. Humans are giving "real names" to variables (like limit, highest, lowest period , ... whatever but very close to real human language) so that they can know what are they storing in some variable. The upper is a result of a mechanical decompiling by types and since in the compiled code the "real names" are lost, it is giving those numbered names. So, that is one example (a lot of other things, but the less it looks like human language the more you can be sure that it is decompiled (even at a first glance)

As of the indicator you posted : it is not a decompiled code and it already is showing arrows on a current bar too so you can start using it right away (here is an example :

regards

Mladen

ValeoFX:
===================

Hello again Mladen,

What an absolute pleasure dealing with you! Appreciate you beyond words.

Having said that, I would love to know how one can actually see when it is/was a decompiled version.

I also found another one which I post here with the same request to have the Arrows show during the formation of the candle please. This one has no "ownership" claimed, but certainly not decompiled or is it?
Files:
ma_cross.gif 27 kb
Hercs
2970
Hercs  

Brilliant...

mladen:
:) As of decompiled code : here s an example how the variables are declared in the start() function :
int li_8;

double l_ima_12;

double l_ima_20;

double l_ima_28;

double l_ima_36;

double l_ima_44;

double l_ima_52;

double ld_60;

double ld_68;

Man does not do it like that since those names mean nothing to a human. Humans are giving "real names" to variables (like limit, highest, lowest period , ... whatever but very close to real human language) so that they can know what are they storing in some variable. The upper is a result of a mechanical decompiling by types and since in the compiled code the "real names" are lost, it is giving those numbered names. So, that is one example (a lot of other things, but the less it looks like human language the more you can be sure that it is decompiled (even at a first glance)

As of the indicator you posted : it is not a decompiled code and it already is showing arrows on a current bar too so you can start using it right away (here is an example :

regards

Mladen

=======================

Thanks a lot, Mladen. Absolutely brilliant. Just saw the new one show the arrows forming and that was such a relief.

Best regards,