Page 374 of 382

Re: Moving Average indicators for MT4

Posted: Wed Dec 18, 2024 8:52 am
by MeNiazi
mrtools wrote: Wed Dec 18, 2024 7:32 am Hello, think this is close.
Soo many thanks ..... its exactly same.....

Re: Moving Average indicators for MT4

Posted: Wed Dec 18, 2024 6:54 pm
by Jimmy
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.

Re: Moving Average indicators for MT4

Posted: Fri Dec 20, 2024 8:38 pm
by vinuthbn84
Please someone help me to find smoothed/double smoothed rolling moving average indicator..
I am not able to find one.. :facepalm:

Re: Moving Average indicators for MT4

Posted: Fri Dec 20, 2024 11:29 pm
by mrtools
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.

Re: Moving Average indicators for MT4

Posted: Sat Dec 21, 2024 4:04 am
by MeNiazi
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

Re: Moving Average indicators for MT4

Posted: Sat Dec 21, 2024 7:12 am
by kvak
MeNiazi wrote: Sat Dec 21, 2024 4:04 am Hello Brother

Pls add arrows Ma(+rmas+sw).ex4
Hello.
Added arrows and also button, as previous request.
If you want version without button, I will share it...

Re: Moving Average indicators for MT4

Posted: Sat Dec 21, 2024 9:26 am
by MeNiazi
kvak wrote: Sat Dec 21, 2024 7:12 am Hello.
Added arrows and also button, as previous request.
If you want version without button, I will share it...
Got it Bro.... it meet my need....thank you for Ur Kindness....

Re: Moving Average indicators for MT4

Posted: Sat Dec 21, 2024 7:35 pm
by MayaxatL

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.")


Re: Low Frequency Filter Moving Average (LFFMA)

Posted: Tue Dec 24, 2024 8:15 am
by ROI
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.


Re: Moving Average indicators for MT4

Posted: Tue Dec 24, 2024 8:07 pm
by ROI
Soo...this was the idea