Dynamic zone indicators ... - page 48

 

AllAverages_v2.5 - choosable symbol + Dynamic WPR double zone

Good morning:

As always please excuse my English.

It could unite these two indicators, please.

AllAverages_v2.5 - choosable symbol + Dynamic WPR double zone.

With metatrader I have no problem, but with another platform I use (Alfatrade), are treated separately.

Thank you very much in advance.

Regards

Hermo

Attached image I need.

 
Hermo:
Good morning:

As always please excuse my English.

It could unite these two indicators, please.

AllAverages_v2.5 - choosable symbol + Dynamic WPR double zone.

With metatrader I have no problem, but with another platform I use (Alfatrade), are treated separately.

Thank you very much in advance.

Regards

Hermo

Attached image I need.

Hermo

WPR and all averages are showing completely different range of values. They can not be set to be shown in a same window from on single indicator without completely deforming one of the indicators values.

As an example : values for averages of EURUSD are about 1.32 and WPR will oscillate between -100 and 0. What you will see is one flat line (averages) and a WPR. They are simply having incompatible values

 

Media applied to WPR

Good morning mladen:

Ok, you're right.

My request is badly formulated.

What I would like is if you can apply half (AllAverages_v2.5 - choosable symbol.mq4) WPR value, ie any AllAverages average applied to the WPR.

I hope you understand what I'm asking, if you do not try to explain otherwise.

Deputy fictitious image.

Regards

Hermo.

Files:
eurusd-e-m15.png  105 kb
 
Hermo:
Good morning mladen:

Ok, you're right.

My request is badly formulated.

What I would like is if you can apply half (AllAverages_v2.5 - choosable symbol.mq4) WPR value, ie any AllAverages average applied to the WPR.

I hope you understand what I'm asking, if you do not try to explain otherwise.

Deputy fictitious image.

Regards

Hermo.

Hermo

AllAverages can not be used for that. It is not written the way that allows it (it should be completely rewrittten for that)

Instead here is the version with our usual 20 types of averages (the following types :
0 = "SMA"

1 = "EMA"

2 = "Double smoothed EMA"

3 = "Double EMA (DEMA)"

4 = "Triple EMA (TEMA)"

5 = "Smoothed MA"

6 = "Linear weighted MA"

7 = "Parabolic weighted MA"

8 = "Alexander MA"

9 = "Volume weighted MA"

10 = "Hull MA"

11 = "Triangular MA"

12 = "Sine weighted MA"

13 = "Linear regression"

14 = "IE/2"

15 = "NonLag MA"

16 = "Zero lag EMA"

17 = "Leader EMA"

18 = "Super smoother"

19 = "Smoother" (or "Jurik MA")

You have 2 values now : a value of the WPR (which can be smoothed for itself) as well as a "signal line" (that is an "average" of that WPR). Both can use any of the 20 types of of averages

 

PS : posting this one too. The only difference between this one and the one from the previous post is that this one uses dll fro dynamic zones calculations and it makes it much faster and less CPU intensive. Values are exactly the same

 
mladen:
PS : posting this one too. The only difference between this one and the one from the previous post is that this one uses dll fro dynamic zones calculations and it makes it much faster and less CPU intensive. Values are exactly the same

Good afternoon mladen:

Thank you so much sir.

A big hug

Hermo.

 

Is the indicator available as MTF(multi-timeframe)?

mrtools:
This is rsx 3 oma lines 1.01 with dynamic zones added.

dz_rsx_3_oma_-_lines_1.01.mq4

 

mladen Re: dz ma_atr - nma 3 issue

mladen,

I am still having a problem that I mentioned to you in our recent pms with this dz ma_atr-nma 3 indicator. I also sent you another pm about it on Friday.

Can you please create another copy of the dz ma_atr-nma 3 indicator that also includes the dll library inside the indicator as well. Hopefully that will finally resolve this.

Thanks so much for all your continued help and support.

traderdp

David

Files:
 
traderdp:
mladen,

I am still having a problem that I mentioned to you in our recent pms with this dz ma_atr-nma 3 indicator. I also sent you another pm about it on Friday.

Can you please create another copy of the dz ma_atr-nma 3 indicator that also includes the dll library inside the indicator as well. Hopefully that will finally resolve this.

Thanks so much for all your continued help and support.

traderdp

David

David

When the code is included in the source that is not a dll, but a mql, but never mind that now

This is how those two functions should look like when precision parameter is specified too :

//+------------------------------------------------------------------+

//| |

//+------------------------------------------------------------------+

//

//

//

//

//

double dzBuyP(int i, double& array[], double initValue, int lookBackBars, double precision)

{

double left = -10000;

double right = 10000;

if ((Bars-i)<lookBackBars) return(EMPTY_VALUE);

//

//

//

//

//

double eps = 0.001*precision;

double minDelta = 0.005*precision;

double yval = (left+right)/2.0;

double delta = yval-left;

int maxSteps = 0;

while (delta>minDelta && maxSteps<50)

{

maxSteps++;

double count = 0;

for (int k=0; k<lookBackBars;k++) if (array<yval) count++;

double prob = count/lookBackBars;

if (prob>(initValue+eps))

{

right = yval;

yval = (yval+left)/2.0;

}

if (prob<(initValue-eps))

{

left = yval;

yval = (yval+right)/2.0;

}

if (prob(initValue-eps))

{

right = yval;

yval = (yval+left)/2.0;

}

delta=yval-left;

}

return(yval);

}

//

//

//

//

//

double dzSellP(int i, double& array[], double initValue, int lookBackBars, double precision)

{

double left = -10000;

double right = 10000;

if ((Bars-i)<lookBackBars) return(EMPTY_VALUE);

//

//

//

//

//

double eps = 0.001*precision;

double minDelta = 0.005*precision;

double yval = (left+right)/2.0;

double delta = yval-left;

int maxSteps = 0;

while (delta>minDelta && maxSteps<50)

{

maxSteps++;

double count = 0;

for (int k=0; kyval) count++;

double prob = count/lookBackBars;

if (prob>(initValue+eps))

{

left = yval;

yval = (yval+right)/2.0;

}

if (prob<(initValue-eps))

{

right = yval;

yval = (yval+left)/2.0;

}

if (prob(initValue-eps))

{

left = yval;

yval = (yval+right)/2.0;

}

delta=yval-left;

}

return(yval);

}
 

mladen,

Thanks so much as always for all of your help. Hopefully this will finally resolve the issue. I'll let you know how it works out.

traderdp

David

Reason: