Elite indicators :) - page 586

Mladen Rakic
151212
Mladen Rakic  

Adding this version of absolute strength with arrows too (since the one traderdp asked changes for is different than the one Snowkski used). In this one there is one extra option : it can show arrows in the sub-window (arrowsInMainset to false - lower picture) or at the main chart (arrowsInMainset to true - upper picture).

So, together with Snowski's version, we have all the bases covered now

Updated version posted here : https://www.mql5.com/en/forum/general

san4x
324
san4x  
mladen:
Adding this version of absolute strength with arrows too (since the one traderdp asked changes for is different than the one Snowkski used). In this one there is one extra option : it can show arrows in the sub-window (arrowsInMainset to false - lower picture) or at the main chart (arrowsInMainset to true - upper picture). So, together with Snowski's version, we have all the bases covered now

Ah....my bad. I stand corrected. They're not the same indie (although the name suggested that).

Thanks for correction.

Have a great weekend everyone

traderdp
247
traderdp  
mladen:
Adding this version of absolute strength with arrows too (since the one traderdp asked changes for is different than the one Snowkski used). In this one there is one extra option : it can show arrows in the sub-window (arrowsInMainset to false - lower picture) or at the main chart (arrowsInMainset to true - upper picture). So, together with Snowski's version, we have all the bases covered now

mladen,

Thank you so very much for taking the time to respond so quickly and getting me exactly what I need. Also a big thank you to Snowski for replying and trying to help me with his indicator version as well.

As always, mladen, your continued gracious help and patience for me is the absolute difference between success and failure in my attempt to trade successfully. Pure and simple.

traderdp

David

traderdp
247
traderdp  
traderdp:
mladen,

Thank you so very much for taking the time to respond so quickly and getting me exactly what I need. Also a big thank you to Snowski for replying and trying to help me with his indicator version as well.

As always, mladen, your continued gracious help and patience for me is the absolute difference between success and failure in my attempt to trade successfully. Pure and simple.

traderdp

David

mladen,

Thanks again for all your gracious and patient help with all of my requests.

I put up 2 different time frames of this indicator in the same indicator window, with arrows in the indicator window, but I could only create the arrows in the first set of lines (current time frame).

The current time frame is the white and blue lines with arrows. The higher M5 time frame is dotted green and red lines without arrows.

Only the 1st one ( current time frame) displayed the arrows, and the other 2 did not. And when I put up the 2nd time frame, that process removed the arrows from the 1st current time frame. I was able to put the arrows back on the current time frame by reclicking on that current time frame indicator again.

What am I incorrectly doing?

Thanks once again.

traderdp

David

Files:
Mladen Rakic
151212
Mladen Rakic  
traderdp:
mladen,

Thanks again for all your gracious and patient help with all of my requests.

I put up 2 different time frames of this indicator in the same indicator window, with arrows in the indicator window, but I could only create the arrows in the first set of lines (current time frame). The current time frame is the white and blue lines with arrows. The higher M5 time frame is dotted green and red lines without arrows. What am I incorrectly doing?

Thanks once again.

traderdp

David

David

Unfortunately, since those arrows are objects (due to the lack of buffers that could be used for "regular" arrows), you can not have two indicators in the same sub-window and have arrows for both. The problem is in metatrader : when you place two indicators in the same sub-window metatrade can find the name of only the first indicator and the second is, as far as code is concerned, invisible since WindowFind() can not find it. And that is causing you problems.

The only solution is to have two separate sub-windows since that error in finding where the indicator is (which sub-window number it uses) exists for years and metatrader never bothered to correct it. So the only solution is to put it like this and to have the UniqueID parameters unique for each instance

Files:
atsa_two.gif 35 kb
san4x
324
san4x  

traderdp,

make sure to change the UniqueID in the properties of the second indicator.

Here's an example: loaded the indicator twice, one for current timeframe (M15) and the second one for H1.

I renamed UniqueID in the H1 settings, and also changed the arrow colors so it's clear to which timeframe the arrows belong.

Cheers, Snow

EDIT: mladen beat me to it and explained it even better. See post above.

Files:
traderdp
247
traderdp  
mladen:
David

Unfortunately, since those arrows are objects (due to the lack of buffers that could be used for "regular" arrows), you can not have two indicators in the same sub-window and have arrows for both. The problem is in metatrader : when you place two indicators in the same sub-window metatrade can find the name of only the first indicator and the second is, as far as code is concerned, invisible since WindowFind() can not find it. And that is causing you problems.

The only solution is to have two separate sub-windows since that error in finding where the indicator is (which sub-window number it uses) exists for years and metatrader never bothered to correct it. So the only solution is to put it like this and to have the UniqueID parameters unique for each instance

mladen,

Thanks for the technical explanation to my question.

Sorry for my utter lack of tech savy. Is it possible to bypass this problem by changing the "object" or symbol from an arrow already used in current time frame to a different object such as a square or a triangle or a circle, or anything else possible, to allow 2 or hopefully all 3 different time frames of this same indicator that I like to use in the same indicator window.

Again I'm sorry for my lack of tech knowledge and need to ask stupid questions.

thanks once again for all your very kind help.

traderdp

David

Mladen Rakic
151212
Mladen Rakic  
traderdp:
mladen,

Thanks for the technical explanation to my question.

Sorry for my utter lack of tech savy. Is it possible to bypass this problem by changing the "object" or symbol from an arrow already used in current time frame to a different object such as a square or a triangle or a circle, or anything else possible, to allow 2 or hopefully all 3 different time frames of this same indicator that I like to use in the same indicator window.

Again I'm sorry for my lack of tech knowledge and need to ask stupid questions.

thanks once again for all your very kind help.

traderdp

David

David

Here is this version. It can now show arrows in the sub-window as well as in the main window and you can put 2 (or more) in the same sub-window now

traderdp
247
traderdp  
mladen:
David Here is this version. It can now show arrows in the sub-window as well as in the main window and you can put 2 (or more) in the same sub-window now

mladen,

Once again you continue to amaze us with your unique and uncanny ability to defy programming limitations and somehow create miracles when asked to. Thank you so very much for taking precious time out from your hectic schedule to help me.

I do have one question though. On current time frames arrows do seem to correspond to visual line crosses (a cross of the 2 main lines - in color tab #2 and #3) but on higher time frames it seems that the cross arrows do not seem to correspond to the visual line crosses.

Is that for some reason I'm not aware of, or am I doing something wrong? I' ll put up a picture of M5 time frame on current M1 chart.

thanks again for everything.

traderdp

David

Files:
Mladen Rakic
151212
Mladen Rakic  
traderdp:
mladen,

Once again you continue to amaze us with your unique and uncanny ability to defy programming limitations and somehow create miracles when asked to. Thank you so very much for taking precious time out from your hectic schedule to help me.

I do have one question though. On current time frames arrows do seem to correspond to visual line crosses (a cross of the 2 main lines - in color tab #2 and #3) but on higher time frames it seems that the cross arrows do not seem to correspond to the visual line crosses.

Is that for some reason I'm not aware of, or am I doing something wrong? I' ll put up a picture of M5 time frame on current M1 chart.

thanks again for everything.

traderdp

David

David

To see exactly where arrows have to be, set the interpolate to false and all will be clear. Arrows are on right places only interpolation changes the visual perception where the crosses should be