Re: Moving Average indicators for MT4

3732
MeNiazi wrote: Wed Dec 18, 2024 5:32 am Need the attached coral indicator in Mt4......found a lot but could not find the same....
mrtools wrote: Wed Dec 18, 2024 7:32 am Hello, think this is close.
Very nice standalone version of the Coral for MT4 with user-friendly options, thank you Mrtools!

We can also create the Coral by using a Tilson T3 indicator:
  • Set the length to 30 (30.5 if the indicator allows fractional inputs for T3)
  • Volume factor (or Hot) to 0.4
The Coral is a strong indicator for trend confirmation.
These users thanked the author Jimmy for the post (total 6):
thomdel, boytoy, kvak, mrtools, MeNiazi, alexm
Myfxbook live trading results 📊

List of our most powerful reversal indicators + Guide to the "All Averages" Filters (ADXvma, Laguerre etc.)
Fibonacci numbers for indicator settings + How to draw Fibonacci Extensions + How to draw Support & Resistance

Re: Moving Average indicators for MT4

3734
vinuthbn84 wrote: Fri Dec 20, 2024 8:38 pm Please someone help me to find smoothed/double smoothed rolling moving average indicator..
I am not able to find one.. :facepalm:
Have this one. Think a version was already posted somewhere but couldn't find it.
These users thanked the author mrtools for the post (total 6):
kvak, alexm, Ricstar_8, vinuthbn84, Jimmy, Kayleb

Re: Moving Average indicators for MT4

3735
kvak wrote: Thu Jul 11, 2024 8:40 am Regularized Moving Averages Channel with AHFT MTF + Additional RMA's

Hello, here is updated version with alerts, AHTF.
Also is updated list of regularized averages for testing.

PS: For the subwindow version, please see here: Regularized Moving Averages Channel (Subwindow).
Hello Brother

Pls add arrows Ma(+rmas+sw).ex4
These users thanked the author MeNiazi for the post:
RodrigoRT7


Re: Moving Average indicators for MT4

3738

Code: Select all

//@version=5
indicator("Hull Moving Average", overlay=true, shorttitle="HMA")

// Input parameters
timeFrame = input.timeframe("", title="Time Frame")
HMAPeriod = input.int(28, minval=2, title="HMA Period")
HMASpeed = input.float(3.0, title="HMA Speed")
colorUp = input.color(color.blue, title="Uptrend Color")
colorDown = input.color(color.red, title="Downtrend Color")
linesVisible = input.bool(false, title="Show Trend Lines")
linesNumber = input.int(5, title="Number of Trend Lines", minval=1)

// Calculations
HalfPeriod = math.floor(HMAPeriod / HMASpeed)
HullPeriod = math.floor(math.sqrt(HMAPeriod))

// Weighted moving average calculation
wma(src, length) =>
    ta.wma(src, length)

// HMA Calculation
hma_work = 2 * wma(close, HalfPeriod) - wma(close, HMAPeriod)
hma = wma(hma_work, HullPeriod)

// Trend detection
trend = ta.valuewhen(hma > hma[1], 1, 0) - ta.valuewhen(hma < hma[1], 1, 0)

// Plot HMA
plot(hma, color=(hma > hma[1] ? colorUp : colorDown), linewidth=2, title="HMA")

// Optional: Draw trend lines
if linesVisible
    for i = 1 to linesNumber
        if na(trend[i])
            break
        else if trend[i] != trend[i - 1]
            line.new(x1=bar_index[i], y1=hma[i], x2=bar_index[i - 1], y2=hma[i - 1],
                     color=(trend[i] > 0 ? colorUp : colorDown), width=1)

// Alerts
alertcondition(trend > 0 and trend[1] <= 0, title="HMA Uptrend", message="HMA trend changed to up.")
alertcondition(trend < 0 and trend[1] >= 0, title="HMA Downtrend", message="HMA trend changed to down.")

These users thanked the author MayaxatL for the post (total 4):
mrtools, talaate, Cagliostro, vinuthbn84

Re: Low Frequency Filter Moving Average (LFFMA)

3739
ionone wrote: Mon Jun 28, 2021 4:50 pm Here is another indicator converted from ProRealTime
Low Frequency Filter Moving Average (LFFMA)
https://www.prorealcode.com/prorealtime ... age-lffma/
instead of putting it in a separate window, I put it on chart, because on chart displays allow more possibilities

Jeff
I Like this indi, so I did try make it better with AI. Just wanted some bands around it, working with AI was just too difficult, so....but it is different now.

These users thanked the author ROI for the post:
ionone