Coding help... Cyclical indicator - page 11

 
mladen:
secretcode

Here you go

It is a multi time framenow and there is an option to invert values

Thanks Mladen

 

Is there any chance that some other MAs can be added to the SMA centered oscillator & mtf

also with HMA please

added no of bars limit to the SMA centered oscillator & mtf as it was slowing the P.C down alittle (seems to work ok)

 

TMA centered oscillator

WR1:
Is there any chance that some other MAs can be added to the SMA centered oscillator & mtf

also with HMA please

added no of bars limit to the SMA centered oscillator & mtf as it was slowing the P.C down alittle (seems to work ok)

WR1

Try out this one. Is is a centered TMA (triangular moving average) oscillator. The others (like EMA and SMMA as a subset of EMA) are depending on how the extrapolation part would be done and that extrapolation would define it

_________________________

PS: the obligatory parroting part : since it is using centered TMA it recalculates so usage for estimation only is recomended

 

Thanks Mladen

its hard to see which is the better of the two?

will need to do some more strategy and live testing

if you get a few spare minutes sometime, is there any chance you could add some more MAs to the 2.02 Mtf please

HMA in particular if possible?

its just that seeing as the HMAs often work so well, possibly this indi could benefit from it?

no idea if it will or not - but never know

thanks very much

 
WR1:
Thanks Mladen

its hard to see which is the better of the two?

will need to do some more strategy and live testing

if you get a few spare minutes sometime, is there any chance you could add some more MAs to the 2.02 Mtf please

HMA in particular if possible?

its just that seeing as the HMAs often work so well, possibly this indi could benefit from it?

no idea if it will or not - but never know

thanks very much

WR1

Not all averages have a "logical" way of extrapolating the missing part when "centering" them and then some general extrapolation method should be used. But then the "nature of the average" would be lost for that last extrapolated part (why some part has to be extrapolated is explained at this post explaining centered TMA : https://www.mql5.com/en/forum/181241 )

General type of extrapolation would be something like this : https://www.mql5.com/en/forum/179466 but as you can see, the value of the average used would be more or less lost with that kind of extrapolation

 

thanks anyway Mladen

i'll give the info a good read

 

Hi all

Hi Mladen

is it possible to add some more MAs without centering them like indicator in post #76?

And in particular HMA?

Thanks

Lucmat

 
lucmat:
Hi all

Hi Mladen

is it possible to add some more MAs without centering them like indicator in post #76?

And in particular HMA?

Thanks

Lucmat

Lucmat

With so many steps in calculation, using any non centered indicator will simply add lag and will enhance some other things too : overshooting when LSMA, HMA and TEMA are used, as an example. I think that with so many steps over and over with same method it is better to leave it as is

 
mladen:
WR1

Try out this one. Is is a centered TMA (triangular moving average) oscillator. The others (like EMA and SMMA as a subset of EMA) are depending on how the extrapolation part would be done and that extrapolation would define it

_________________________

PS: the obligatory parroting part : since it is using centered TMA it recalculates so usage for estimation only is recomended

Nice indicator for estimation!

 

added no of bars limit to the others as something is trying to suck the life out of my P.C, usually in the US session,

but mostly down to too many MT4s running and alot of these cycle indis for testing

if anyone has the same problem, these might help abit

About 500 bars seems ok, if 100-200bars they seem to work different, although whether that helps with the actual cycles, i have no idea yet

seems ive uploaded the ones with the green centre line on None

as i had no idea what its for? and forgot to change back in the code for posting

if you need the centre line, just change the black back to green etc

but apart from the centre line, seem to be ok and help abit

Reason: