• Join us

Requests & Ideas - page 102

brax64
158
brax64  

dear old pivot... updated!!

Hi all,

during a rainy weekend what's best then spend time coding..??? (please don't start the list of better things that can be done, I was joking ...)

I did a fine tuning of the PivotsD indicator, now version 6.3; I cleaned up a bit the code, fixed few minor bugs and, the main upgrade, is the new info panel. Is using a special font (Neuropol X) that need to be installed on your Windows/Fonts folder.

Please use it if you like it and let me know if there are other bugs that I've not discovered; accept my apologies in advance if any...

The pictures show the difference of price visualization between 4 and 5 digits.

Enjoy and Best Regards

Attention: I did updated this indicator; please download the last version published in this post:

https://www.forex-tsd.com/advanced-elite/23282-requests-ideas-103.html#post419266

Thank you.

san4x
324
san4x  

Hi mladen,

Really liking what I see when using the TDI RSX, I am curious to see how signals would compare when we add using Dynamic Zones instead of the 34 period bands.

Can this be done or do you think this is a futile and useless excercise?

Perhaps even explore adaptive lookback?

Don't want to waste your time, but IMO, the TDI is one of the better indies out there.

Anyway, if you feel it's no good, that's ok.

Note: I modified the TDI RSX a bit, and added three new variables:

  • StrictRules: when you have it to show lines, if set to true, this will only show the vertical lines when RXS has crossed the values for OB and OS as defined next.
  • MinTDI4Long: the OS area, setting this will automatically also draw the level there.
  • MinTDI4Short: the OB area, same as above.

Cheers, San.

kokleongch
51
kokleongch  
mladen:
Caprica

Here you go

It is a standalone indicator now (no need for any external indicator) Made some minor changes too (coloring of past bars in multi color mode) and parameters are a bit different for Hodrick Prescott filter : in version 5.4 they were set to 34,69 while I used the 10,50 (simba original default values for those parameters) for default values, so if you are looking for version 5.4 values then set those parameters accordingly (and set the UseSquareAmpsto true) Then they will have exactly the same values


PS: you should check one more thing (for previous version) : maximal number of bars displayed on chart. If it is a big number set it to 5000 bars (it is quite enough for normal usage in trading - I use only 5000 bars all the time and I am not having any problems at all) The thing with Hodrick Prescott filter is that if it is called with default parameters for number of bars it will calculate all the bars all the time (it has to) and it will do that on all new ticks. So if you have a big number of bars on chart, it will be rather slow (this one will be faster but only because in this one I prevented default all bars calculation). So check the previous version with 5000 bars as a maximal number of bars in chart - I think that even that should not have problems then

regards

Mladen

Hi Mladen,

When i put the indie in the same place twice with 2 timeframe, only 1 indie (the 1st one placed) will show the future projection, while the other will not. How can this be rectify ?

Thanks

KL

Mladen Rakic
162715
Mladen Rakic  

kokleongch

Change the "ListOfCyclesID" field to be different for each new instance (that way you can have unlimited number of Goertzel browsers on the same chart) Here is an example in which the upper is using default ListOfCyclesID and the lower has "1" added to it (it is "GoertzelBrowser1" then - you can see it on the picture too, since it has to write it out in order to allow metatrader to find the target window)

So, if you do not get projection and list of cycles, then just check what is written out after the time frame in the indicator name. When you make that part unique, there you are

regards

Mladen

kokleongch:
Hi Mladen,

When i put the indie in the same place twice with 2 timeframe, only 1 indie (the 1st one placed) will show the future projection, while the other will not. How can this be rectify ?

Thanks

KL
Files:
gb_2.gif 37 kb
kokleongch
51
kokleongch  
mladen:
kokleongch

Change the "ListOfCyclesID" field to be different for each new instance (that way you can have unlimited number of Goertzel browsers on the same chart) Here is an example in which the upper is using default ListOfCyclesID and the lower has "1" added to it (it is "GoertzelBrowser1" then - you can see it on the picture too, since it has to write it out in order to allow metatrader to find the target window)

So, if you do not get projection and list of cycles, then just check what is written out after the time frame in the indicator name. When you make that part unique, there you are

regards

Mladen

Thanks Mladen for the quick response . My bad for not being explicit enough What i mean is when i superimposed the indies in the same area of the chart like the example below. When i do that i can only see the price projection of the 1st indie and when i imposed the same indie of different timeframe onto the same area, it will not plot the projection.

Files:
test.png 53 kb
Mladen Rakic
162715
Mladen Rakic  

kokleongch

Unfortunately that can not be solved in metatrader as it is working (the metatrader) now.


When I was making the extrapolation part I have been nagging that it is impossible to do a mtf of an extrapolation and then I made a solution that uses objects for extrapolation rather than buffers (that was the only way how extrapolation ("prediction") could be made without errors that metatrader would cause.

Now, that helped me avoid the errors that metatrader would cause, but it prevents indicators from being superimposed. Metatrader can not identify properly the sub window number when they are superimposed and that way it is metatrader now that prevents you from seeing both extrapolated values (for the second instance metatrader returns -1 for the window number even though it is there where it should be, and that prevents objects drawing (not just extrapolation but the list of cycles too, since they are objects too))

So, in this case, I am sorry, but there is no acceptable solution when using objects is concerned

Mladen

kokleongch
51
kokleongch  
mladen:
kokleongch

Unfortunately that can not be solved in metatrader as it is working (the metatrader) now.


When I was making the extrapolation part I have been nagging that it is impossible to do a mtf of an extrapolation and then I made a solution that uses objects for extrapolation rather than buffers (that was the only way how extrapolation ("prediction") could be made without errors that metatrader would cause.

Now, that helped me avoid the errors that metatrader would cause, but it prevents indicators from being superimposed. Metatrader can not identify properly the sub window number when they are superimposed and that way it is metatrader now that prevents you from seeing both extrapolated values (for the second instance metatrader returns -1 for the window number even though it is there where it should be, and that prevents objects drawing (not just extrapolation but the list of cycles too, since they are objects too))

So, in this case, I am sorry, but there is no acceptable solution when using objects is concerned

Mladen

Appreciate your respond Mladen. Now understand better.

Flytox
256
Flytox  
brax64:
Hi all,

during a rainy weekend what's best then spend time coding..??? (please don't start the list of better things that can be done, I was joking ...)

I did a fine tuning of the PivotsD indicator, now version 6.3; I cleaned up a bit the code, fixed few minor bugs and, the main upgrade, is the new info panel. Is using a special font (Neuropol X) that need to be installed on your Windows/Fonts folder.

Please use it if you like it and let me know if there are other bugs that I've not discovered; accept my apologies in advance if any...

The pictures show the difference of price visualization between 4 and 5 digits.

Enjoy and Best Regards

Thank you very much for this smart piece.

I was wondering if there is anyway to change the position of the box, like corner left right etc..

Abdalla Doleh
1346
Abdalla Doleh  
mladen:
Caprica

Here you go

It is a standalone indicator now (no need for any external indicator) Made some minor changes too (coloring of past bars in multi color mode) and parameters are a bit different for Hodrick Prescott filter : in version 5.4 they were set to 34,69 while I used the 10,50 (simba original default values for those parameters) for default values, so if you are looking for version 5.4 values then set those parameters accordingly (and set the UseSquareAmpsto true) Then they will have exactly the same values


PS: you should check one more thing (for previous version) : maximal number of bars displayed on chart. If it is a big number set it to 5000 bars (it is quite enough for normal usage in trading - I use only 5000 bars all the time and I am not having any problems at all) The thing with Hodrick Prescott filter is that if it is called with default parameters for number of bars it will calculate all the bars all the time (it has to) and it will do that on all new ticks. So if you have a big number of bars on chart, it will be rather slow (this one will be faster but only because in this one I prevented default all bars calculation). So check the previous version with 5000 bars as a maximal number of bars in chart - I think that even that should not have problems then

regards

Mladen

Hello Mladen,

Thank you for the updated version. I would like to make a request, is it possible to incorporate an additional 2 buffers for coloring of peaks and troughs in Multicolor mode? I tried to do it but couldn't program it correctly in the Cleanpoint and Plotpoint functions.

What I am looking for is for the tops and bottoms to be colored differently from up or down slopes. Each top or bottom would be divided into two - a wave termination half and a wave initiation half. The wave termination half would be one color, while the wave initiation half would be a second color. Therefore each wave would have four distinct colors.

Is that possible?

Thanks mate,

Pip

Mladen Rakic
162715
Mladen Rakic  

Like this

PS: if you use plot point routine for nrp plotting than you need to add 2 more buffers for each new color, and that is what makes it a bit incomprehensible. Also, the logic of when to draw colors needs to be changed a bit. In this one 3rd color appears on a first bar with different slope (it is technically not a peak, because for strict peaks it would need to color one more bar before it and in 99.99% cases peak would be between those 2 bars, but it is a first bar following the peak). I think it gives the information you are looking for now

regards

Mladen

Pip:
Hello Mladen,

Thank you for the updated version. I would like to make a request, is it possible to incorporate an additional 2 buffers for coloring of peaks and troughs in Multicolor mode? I tried to do it but couldn't program it correctly in the Cleanpoint and Plotpoint functions.

What I am looking for is for the tops and bottoms to be colored differently from up or down slopes. Each top or bottom would be divided into two - a wave termination half and a wave initiation half. The wave termination half would be one color, while the wave initiation half would be a second color. Therefore each wave would have four distinct colors.

Is that possible?

Thanks mate,

Pip