Multi-Instantaneous Frequency Measurement

‎1417‎ مشاهدة
I compiled all of Ehlers' IFM methods into one script - all written as functional blocks so you can simply add them to your own scripts.
Bonus! I also dropped in the Super Smoother, which is a much more efficient and low lag averaging method. I used it to clean the data before feeding it into other indicators.
ملاحظات الأخبار: Added another Instantaneous Frequency Measurement (IFM) method - the Hilbert Transform!
ملاحظات الأخبار: Updated default colors.
ملاحظات الأخبار: Updated TV preview.
ملاحظات الأخبار: Updated function returns to be rounded - should now return an 'integer' instead of 'series'
ملاحظات الأخبار: Updated TV preview...you'd think I'd learn to declutter my screen by now lol
نص برمجي مفتوح المصدر

قام مؤلف هذا النص البرمجي بنشره وجعله مفتوح المصدر، بحيث يمكن للمتداولين فهمه والتحقق منه، وهو الأمر الذي يدخل ضمن قيم TradingView. تحياتنا للمؤلف! يمكنك استخدامه مجانًا، ولكن إعادة استخدام هذا الكود في منشور تحكمه قواعد الموقع. يمكنك جعله مفضلاً لاستخدامه على الرسم البياني.

هل تريد استخدام هذا النص البرمجي على الرسم البياني؟


wow man ! thanks
When I try to integrate this script into one of the others, I always get an error message that says you can't generate MAs that use ema(series,series) or sma(series,series). This happens after putting identifiers (c, iq, rcm etc.) into where length is supposed to be. Can you look into it?
EmpiricalFX peterson4545
@peterson4545, Sure! I actually know exactly what the issue is. You can't input a 'float' into ema or sma. I'll make a quick change to the scripts so all the outputs are rounded :) for now just try:
rcm = round( getRCM(src) )
peterson4545 EmpiricalFX
@EmpiricalFX, Thank you, I appreciate your efforts! Nevertheless, the compiler refuses to save the script, now saying 'cannot call ... with arguments (series, series)'. Just googled this issue and seems the round functionality cannot solve the problem. Here's the page for your reference: https://getsatisfaction.com/tradingview/topics/series-conversion-to-integer
peterson4545 peterson4545
@peterson4545, it's (series, series(integer)).