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

 
lello1231:
Hi Mladen,

Can you please post TMA centered bands mtf 2 source code ?if possible)

Br

Elie

Sorry in this case (no big secret but simply I do some things differently in metatrader 5 than the others, and for now still not going to post the source how it is done). Ex5 is fully functional though (there are no limitations in it at all) so it will work as long as metatrader 5 exists

 

Hi Mladen,

please can U add 6 Triangular moving averages in one code of Centered TMA?

 
alpha24:
Hi Mladen, please can U add 6 Triangular moving averages in one code of Centered TMA?

I am afraid I do not understand the purpose of it

I can add as much of them as you wish, but what for?

 
mladen:
I am afraid I do not understand the purpose of it I can add as much of them as you wish, but what for?

I want to use it as Guppy MAs in separate window so I cant get false crossovers

will be better with formula used in all averages. thank you.

 
alpha24:
I want to use it as Guppy MAs in separate window so I cant get false crossovers

It will still recalculate (centered TMA always recalculates, it is its nature due to the extrapolation part of it) so the crossovers would change all the time regardless if they were in the main chart or in the separate window

 

please do it with formula of TMA used in all averages

 
alpha24:
please do it with formula of TMA used in all averages

You mean a regular TMA (not the centered TMA)?

That is different story - those do not recalculate and it can be done

 

yes same as all averages with same settings but 6 averages

 
alpha24:
yes same as all averages with same settings but 6 averages

Here you go You can draw up to 8 TMAs (if you set the period to > 1 then it will be drawn, if you set it to <= 1, it will not be drawn)

Files:
tma_stack.mq4  4 kb
tma_stack.gif  33 kb
 

You are great Thank you very much

Reason: