Attachments forums

List of attachments posted on this forum.


All files on forums: 159895

Add alerts filter to mladen TMA bands indicator

Asus543, Sat Mar 29, 2025 1:09 pm

Greetings,

I want to modify the alerts function of an mladen MT4 TMA bands indicator so that it filters alerts in accordance with the trend, the trend being defined by indicator's 'Trend threshold' setting.

I assume the additional coding required would be as follows:

Insert a toggle: Use trend filter - TRUE/FALSE
When TRUE, alerts to be filtered as follows:
LowerBandTouchAlert: alert only when trend is UP or FLAT
UpperBandTouchAlert: Alert only when trend is DOWN or FLAT

Thanks in advance to anyone who can help.
All files in topic