Triangular moving average (TMA) ... - page 42

 

Ouch, thanks Mladen, but not sure to well understand what the code do

You said there are 2 LWMA calculations, but from where ? Extreme left, p/2 ?

And how the gradual extrapolation is calculated ?

Please can you give more details on what the code do ?

Thanks a lot Mladen

Zilliq

 
zilliq:
Ouch, thanks Mladen, but not sure to well understand what the code do

You said there are 2 LWMA calculations, but from where ? Extreme left, p/2 ?

And how the gradual extrapolation is calculated ?

Please can you give more details on what the code do ?

Thanks a lot Mladen

Zilliq

See the indexes of the prices : the one with "+" in the indexes is the LWMA to the left. The one with "-" in the indexes is the LWMA to the right and, in case when it gets closer to the current bar than the half length, it becomes gradual (partial) extrapolation to the moment when that part is == 0 and in that case only the left part LWMA is left as a result (the current bar)

 

Seems to be so complicated.

Thanks a lot Mladen, I will see what I can code

Thanks a lot for your help

Have a nice night

Zilliq

 
zilliq:
Seems to be so complicated.

Thanks a lot Mladen, I will see what I can code

Thanks a lot for your help

Have a nice night

Zilliq

It is not so complicated, don't worry

Look at the code of it and it should not be too complicated to converts it (some other implementations, like, "snake", are having some 10 times more code for the same job, so imagine what would you have to do with that )

 

LOL Mladen,

I knew that snake was a bad animal

I will try slowly how the code is but it' really 2 different languages

Actually I still have some problems...

Thanks for all my friend and have a nice evening

Zilliq

Files:
cac40_index.png  25 kb
 
zilliq:
LOL Mladen,

I knew that snake was a bad animal

I will try slowly how the code is but it' really 2 different languages

Actually I still have some problems...

Thanks for all my friend and have a nice evening

Zilliq

As far as I see it is OK

At the end point (current bar) the have to be the same) so that is OK

 

Dear Mladen

Is it possible to add Arrow in attached indicator ?

Arrow should be plotted on current bar if price close above/below channel and it will stay remain after bar closed above/below channel, no matter tma channel change their values then after!

Thanks for any help

secretcode

 
secretcode:
Dear Mladen

Is it possible to add Arrow in attached indicator ?

Arrow should be plotted on current bar if price close above/below channel and it will stay remain after bar closed above/below channel, no matter tma channel change their values then after!

Thanks for any help

secretcode

secretcode

That would make it a classical repainting indicator (and not just recalculating) and that is what I really would like to avoid

 
mladen:
secretcode That would make it a classical repainting indicator (and not just recalculating) and that is what I really would like to avoid

Ok, I understand Mladen

Thank you for reply

Best Regards

secretcode

 

Hi mladen

Can you add price label tо this TMA indicator with an option not show lines...?

Thanks in advance. (I add pictures for a clear understand)

Files:
Reason: