EmpiricalFX

MESA Adaptive Moving Average - Improved MTF

This indicator is a huge upgrade to my original MTF MESA

Plots are now extremely smooth and accurate on all timeframes **
Missing data points are automatically filled with the "best fit"

This is a Trend indicator and should be used to trade "top-down" aka:
  • Start with the Daily chart to confirm a trend
  • Move to 4H
  • 2H
  • Etc...

Use your favorite entry method or simply watch for wicks forming when the price gets near the MESA adaptive moving average .
This is one of the few indicators that I've been using for years with success. Being able to plot both the current & higher timeframe MESA
can sometimes feel like cheating.

Due to the nature of the recursive calculation, you may notice slight differences between this version of MESA and others that either
approximate higher timeframes with fewer samples or make use of the latest "Resolution" argument in Pinescript V4. Both of which are
fine, until you start looking at M5 charts while plotting the Daily MESA.

As always, happy trading!

** Currently supports
M 1,3,5,15,30,45
H 1,2,3,4
Day 1
Week 1
Month 1
ملاحظات الأخبار: Improved large MT4 differences. For instance, an M15 chart with the Daily MESA had errors that increased the further back you scroll.
إزالة من البرامج النصية المفضلة أضف إلى البرامج النصية المفضلة

التعليقات

Just one question. Aren't you using the phase of the lower timeframe to calculate both the mama's of the lower and the higher timeframes?
رد
EmpiricalFX sal157011
@sal157011, No. I am however scaling the phase of the lower timeframe to adjust appropriately.
رد
sal157011 EmpiricalFX
@EmpiricalFX, Sorry, got confused with the fast and slow variables inside and outside the function getMESA which are not the same. Comparing the plot of the higher timeframe mama made with your study to the plot made with the original study using the security() function there are discrepancies, specially when the higher timeframe is much higher than the lower, nevertheless your script is a great idea. Thank you for sharing.
رد
EmpiricalFX sal157011
@sal157011, That's right - the original script is incorrect in it's MTF calculations so it makes sense that the plots would look different. By using security(), gaps in data are automatically merged which is essentially feeding the same number multiple times to the getMESA() function. The function doesn't know that these values are only repeated for the sake of filling gaps and uses them in the algorithm.

If I use the Resolution tag in my study() call, then I wouldn't be able to show both time frames at once.

I compared the MTF plot to the "true" higher timeframe plot in my testing and noted that the differences exist, but tend to be small.
رد
sal157011 EmpiricalFX
@EmpiricalFX, Very well explained. Is it possible to input fast and slow as parameters? I like fast=0.50. Two higher timeframes instead of only one it would be better too.
I wonder if this MTF method could also be applied to John Ehlers "Hilbert Sine Wave" !
رد
I'm impressed you managed to do MTF thing, TV is not that friendly for that stuff.lmao
رد
@Owl, No, no it is not lol. Thanks for recognizing that haha
+2 رد
الصفحة الرئيسية منصة الأسهم منصًة العملات منصّة العملات الرقمية جدول الأعمال الاقتصادي كيف تعمل مميزات الرسم البياني أسعار العضوية إحالة صديق قوانين الموقع مركز المساعدة حلول المواقع الإلكترونية والوسطاء الأدوات حلول الرسوم البيانية مكتبة الرسوم البيانية صغيرة الحجم المدوّنة والأخبار تويتر
ملف التعريف إعدادات الصفحة الشخصية الحساب وإعداد الفواتير الأصدقاء المُحالون العملات الافتراضية تذاكر الدعم الخاصة بي مركز المساعدة التحاليل المنشورة المتابعين تُتابع رسالة خاصة المحادثة تسجيل الخروج