Elite indicators :) - page 116

patona
66
patona  

Can`t see the NL Kalman Zerolag MACD

Hello,

I`ve tried to load the NL Kalman Zerolag MACD on my screen, but nothing is happen. Maybe I need another indicator too, or I have the wrong settings. Can someone help me please?

patona

Sergey Golubev
Moderator
113015
Sergey Golubev  

You need 2 other indicators:

- NonLinearKalma

and

- calculateMACD

Mladen Rakic
151977
Mladen Rakic  

...

You need to have NonLinearKalman.mq4 too. It is there on the original post (this post : https://www.mql5.com/en/forum/general ). In case that your browser renamed it (some browser do it) you should save it under that name (so "NonLinearKalman.mq4") or, if you prefer to keep it under different name, change its name in line 222 (this line) :

double price = iCustom(NULL,0,"NonLinearKalman",MacdPrice,Order,Length,PreSmooth,PreSmoothMode,0,i);

to a name you choose instead of the "NonLinearKalman"

That should solve your problem

regards

mladen

patona:
Hello,

I`ve tried to load the NL Kalman Zerolag MACD on my screen, but nothing is happen. Maybe I need another indicator too, or I have the wrong settings. Can someone help me please?

patona
mikepearce
47
mikepearce  
mladen:
Mike,

As much as I am fond of Bookkeeper, this indicator is based on ZigZags and that fact itself makes its usage in an EA very difficult (frankly, I do not know any ZigZag EA that is at least fairly successful)

It does not lessen its usefulness in manual trading. One just always have to bare in mind the properties of ZigZags and it can be a basis of a successful manual system

regards

mladen

Hello Mladen

Can you turn this indicator (trend tool) into a bar trend instead of line..

just like the screen shot below..

thank you.

Files:
Mladen Rakic
151977
Mladen Rakic  

...

:):)
The difference that sometimes appears, comes from the fact that the original sometimes repaints (the usual error in color coding)

regards

mladen

mike pearce:
Hello Mladen

Can you turn this indicator (trend tool) into a bar trend instead of line..

just like the screen shot below..

thank you.
Files:
biddick
339
biddick  

..........................

Alex
93
Alex  

Indicator request

Hi Mladen,

Can you please code a pivot indicator according to the following formula

Pivot = ((2*H ) + L + C ) / 4 for close greater than open

((2*L ) + H + C ) / 4 for close less than open

((2*C ) + H + L ) / 4 for close unchanged

R1 = 2*Pivot - Previous day Low

R2 = Pivot + Previous day Range {H-L}

R3 = R1 + Previous Day Range

S1 = 2*Pivot - Previous day high

S2 = Pivot - Previous day Range

S3 = S1 - Previous day Range

There was a guy at FF posting screenshots of this and they looked pretty impressive. He was using it on tradestation. Please make the history option of looking at past days available and include a gmt offset. Thank you very much in advance.

patona
66
patona  
Mladen Rakic
151977
Mladen Rakic  

...

Don't worry about the questions if they are not rude :):)

Now :

1. interpolation in Kalman Zerolag MACD does nothing if you are using the current time frame (so, if you are not in a multi time frame mode) But when you switch to MTF and you choose to interpolate values, then it is doing its job. Here is a picture with a comparison of an interpolated (upper, smooth one) and non-interpolated (step like) ways of mtf.
2. interpolation applied is the simplest linear interpolation and it is this part of the code
if (!Interpolate) continue; // this "allows" or "disallows" interpolation

//

//

// interpolation itself

//

//

for(int n = 1; i+n = time1; n++) continue;

double factor = 1.0 / n;

for(int k = 1; k < n; k++)

{

macdBuffer = k*factor*macdBuffer + (1.0-k*factor)*macdBuffer; // interpolation of macd

signBuffer = k*factor*signBuffer + (1.0-k*factor)*signBuffer; // interpolation of signal

machBuffer = macdBuffer; // no interpolation, but since the values of macd

osmaBuffer = macdBuffer-signBuffer; // and signal have changed, histogram needs to be updated

}

Placed some comment in order to be clear when and what is done

regards

mladen

biddick:
I appreciate that you may feel suffocated by trying to solve everyone's problems.So excuse me if I am little offensive to you. My question is what does exactly interpolate function doand where is it in NL Kalman Zerolag MACD ?Thanks.
Files:
Mladen Rakic
151977
Mladen Rakic  

Here it is

Addition is the IgnoreSunday parameter. If set to true then Sunday data is ignored in pivot points calculation.
The assumption I took is that the "open" used in the calculation is the previous day open and not the current day open (it seems logical that it is measured if the previous day close was above or bellow the previous day open, comparing the previous day close with today open does not seem to be a logical test (it would literally measure the first tick of the day - nothing else)) Anyway, check it if it is what you had on mind

PS: this one is without GMT offset

regards

mladen

profitrader21:
Hi Mladen,

Can you please code a pivot indicator according to the following formula

Pivot = ((2*H ) + L + C ) / 4 for close greater than open

((2*L ) + H + C ) / 4 for close less than open

((2*C ) + H + L ) / 4 for close unchanged

R1 = 2*Pivot - Previous day Low

R2 = Pivot + Previous day Range {H-L}

R3 = R1 + Previous Day Range

S1 = 2*Pivot - Previous day high

S2 = Pivot - Previous day Range

S3 = S1 - Previous day Range

There was a guy at FF posting screenshots of this and they looked pretty impressive. He was using it on tradestation. Please make the history option of looking at past days available and include a gmt offset. Thank you very much in advance.
Files: