Re: TMA - Triangular Moving Average indicators MT4

617
Am new here and just getting oriented. I posted this in another area, but found this feed and see it as more appropriate to post here.

A few years ago, I was examining a TMA indicator that included standard deviation bands. I noticed how the bands responded asymmetrically to price movements. Expanding in the direction of price movement and contracting on the trailing side.

The thought was, what happens if I change the calculation so that it inverts the behavior, and then combine the two versions together.

Here is an example using the "TMA+CG Fast TT" indicator. The modified version has line 287 changed from: if(diff>=0) to if(diff<=0).

Below is an image showing the result of loading the stock version with the modified version on top of it. Note how the bands cross as price energy changes direction. Period set to 11 and S.D. to 2.5. Repaint set to True.

I note that there are conditions where price can change too slowly and it fails to respond usefully. Generally I've been running it on 5 minute chart and suggest using periods on the shorter side. I've found a period of 21 useful on the 5min chart.

Having not fully examined its behavior or pondered how to write the code differently, I wonder if it is at all useful. Can it be used as an adjunct or an improvement to an indicator, or designed as a stand alone? Can the concept be adapted in other forms to be useful?

Thoughts? Questions?

IdeaRe: TMA - Triangular Moving Average indicators MT4

618
PAWPUSS wrote: Sun May 12, 2024 5:42 pm Hello , does anyone have this TMA indicator that switches between painting the TMA high price and low price and paints the median price (dotted line)continuously. I some how have the template but not the actual indicator. Many thanks.
Continuous TMA Center Line (Auto Refresh)

I made a TMA centered function for easier implementation in the indicator for price high/low/close. I tried it on Friday, but I wasn't satisfied. I made some more adjustments, but there was no time to test it on the live market. Try it.

Indicator diplayed center line of TMA centered and when is up trend, channel of price low and viceversa.

Options include:
  • Update Per Second
  • Update Per Millisecond
  • Auto Refresh
The aim is for the indicator to switch between plotting the High Price and Low Price whilst plotting the Median Price continuously.
These users thanked the author kvak for the post (total 13):
vvFish, sal, Jimmy, boytoy, Akela, ujtrader, Skyold, Ricstar_8, thomdel, hakimoos, 88FX88, Jedidiah, ParallelNative

Re: TMA - Triangular Moving Average indicators MT4

619
kvak wrote: Sun Jan 19, 2025 7:11 am I made a TMA centered function for easier implementation in the indicator for price high/low/close. I tried it on Friday, but I wasn't satisfied. I made some more adjustments, but there was no time to test it on the live market. Try it.

Indicator diplayed center line of TMA centered and when is up trend, channel of price low and viceversa.
bro...
the HL channel changing period how much bar after the centered ma line colour change!
"There is NO GOD higher than TRUTH" - Mahatma Gandhi

Re: TMA - Triangular Moving Average indicators MT4

620
PAWPUSS wrote: Sun May 12, 2024 5:42 pm Hello , does anyone have this TMA indicator that switches between painting the TMA high price and low price and paints the median price (dotted line)continuously. I some how have the template but not the actual indicator. Many thanks.
kvak wrote: Sun Jan 19, 2025 7:11 am I made a TMA centered function for easier implementation in the indicator for price high/low/close. I tried it on Friday, but I wasn't satisfied. I made some more adjustments, but there was no time to test it on the live market. Try it.

Indicator diplayed center line of TMA centered and when is up trend, channel of price low and viceversa.
Clever work .. so now what we have is sort of like a dynamic type of TMA which is based on the continious drawing of the median line right?
These users thanked the author boytoy for the post:
kvak


Who is online

Users browsing this forum: Edward2402, Ganesh, ricosuaveiii, smkale123 and 68 guests