Re: TMA - Triangular Moving Average indicators MT4

632
Greetings, and I humbly request the skilled coders here to tweak the attached indicator (target-bands-indicator) to add functionality to the center line.

The aim is to show alerts only in accordance with the slope of the center line. In other words, alerts would be given as follows:

LONG SIGNAL - Center line slope is up and price tags lower band
SHORT SIGNAL - Center line slope is down and price tags upper band
LONG AND SHORT SIGNALS - Center line slope is neutral and price tags either band.

The functionality I have in mind is as shown in the attached screenshot from the FastTMAline indicator (attached), with the addition of item 3) below:

1) Trend threshold [selectable, e.g. 0.2]
2) Show center line TRUE/FALSE
3) Filter alerts by slope of center line TRUE/FALSE

Finally, the center line color should be selectable and change in accordance with the slope threshold setting, as in the FastTMAline indicator.

A million thanks in advance.

Re: TMA - Triangular Moving Average indicators MT4

633
Asus543 wrote: Fri Feb 14, 2025 5:01 am Greetings, and I humbly request the skilled coders here to tweak the attached indicator (target-bands-indicator) to add functionality to the center line.

The aim is to show alerts only in accordance with the slope of the center line. In other words, alerts would be given as follows:

LONG SIGNAL - Center line slope is up and price tags lower band
SHORT SIGNAL - Center line slope is down and price tags upper band
LONG AND SHORT SIGNALS - Center line slope is neutral and price tags either band.

The functionality I have in mind is as shown in the attached screenshot from the FastTMAline indicator (attached), with the addition of item 3) below:

1) Trend threshold [selectable, e.g. 0.2]
2) Show center line TRUE/FALSE
3) Filter alerts by slope of center line TRUE/FALSE

Finally, the center line color should be selectable and change in accordance with the slope threshold setting, as in the FastTMAline indicator.

A million thanks in advance.
Hello, imho alerts would still be of little use since those bands recalculate(repaint).

Re: TMA - Triangular Moving Average indicators MT4

634
mrtools wrote: Fri Feb 14, 2025 5:08 am Hello, imho alerts would still be of little use since those bands recalculate(repaint).
Thanks for the reply. I'm aware the bands recalculate and are not much use for historical purposes. However, the signals are valid at the time the alert is given, which is when I take the trade.

In essence, I am seeking to automate this system (https://www.forexfactory.com/thread/343 ... tma-system) so if you are able to help it would be much appreciated.

Thank you.

Re: TMA - Triangular Moving Average indicators MT4

635
Hi All, the Angle Centered TMA indicator gives alerts when the TMA angle changes to up, down, or flat.

The indicator is here: here (post1295518142.html#p1295518142)

Would anyone be able to add further alerts in accordance with the three scenarios (1, 2, and 3) shown in the attached graphic?

In other words:
1 and 2: alert when angle is up or down AND price tags lower band, OR angle is down and price tags upper band
3. Alert when angle is flat and price tags either band.

Thanks in advance.
These users thanked the author Asus543 for the post:
Mickey Abi


Re: TMA - Triangular Moving Average indicators MT4

636
Ogee wrote: Mon Nov 28, 2022 8:48 am The difference between the mladen's recalculating 'centered' TMA and normal TMA is not great but just more smoothed. As in the pic below on a 1 hour chart the recalculated difference between downtrend red to uptrend green is 5 hours.

'Centered' TMA left. Normal TMA right.


Hello is there a download link for this indicator? Also is the screenshot on the left non repaint non recalculate?


a9.PNG