alexgrover

Modular Filter - Spot Trends And Smooth Price

จำนวนเข้าชม 1378
134
1378 21
Introduction

This indicator can have a wide variety of usages, and since it is based on exponential averaging then the whole indicator can be made adaptive, thus ending up with a really promising tool. This indicator who can both smooth price and act as a trailing stop depending on user preferences, i tried to make it as reactive, stable and efficient as possible in order to both smooth and spot trends, lets view it more in depth.

The Indicator

line 8 and 9 create two bands, one upper and one lower, then based on certain conditions the indicator will only return a certain band or an average of both with different weights, this weight is controlled by the beta parameter, values of 1 will return a simple filter while values of 0 will return a classical trailing stop.


beta = 0

The indicator can use output values as input, thus using smoother values as input, in order to do so just check "Feedback", this help the overall output to be smoother as well as giving more long terms signals


The amount of feedback is controlled by the feedback weighting parameter, lower values will weight more the output values thus creating smoother results.


Feedback weighting of 0.2

Using beta = 0 thus having the indicator act as a trailing stop while having the feedback option activated return more long terms signals. Notes that the colors are based on the initial conditions of the indicator.


Conclusion

You can replace length and change alpha for any smoothing variable such as the efficiency ratio or anything with scale (1,0), same goes for beta and the feedback weighting parameter, this is why the indicator is "Modular" in addition of providing different usages. This indicator can look like cluster filters (smooth price monarch, forexguru), filters with the ability to follow the price quite fine while being stables. I really hope you find an use to it.

Thanks for reading !


เอกสารเผยแพร่: Update : Updated to version 4
ลบออกจากสคริปส์โปรด เพิ่มเข้าไปในสคริปส์โปรด
You can check my indicator papers here : https://figshare.com/authors/Alex_Pierrefeu/7339466
Hi,

I really like your script. Just wondering if you this in V3. As i would like to incorporate it into script i have been working on to stop getting bad exits. Would appreciate any help or advise on this. I did try to convert this to v3 myself but i keep getting an error with line 10 "os = a == b ? 1 : a == c ? 0 : os"

Thanks in advance.
+1 ตอบกลับ
alexgrover MrCrypto_
@MrCrypto_, Thanks for your feedback, will update it to v4, you should still be able to use it in v3 after this update.
+1 ตอบกลับ
MrCrypto_ alexgrover
@alexgrover, Thanks. looking forward to it
ตอบกลับ
alexgrover MrCrypto_
@MrCrypto_, Done, enjoy this new version :)
+1 ตอบกลับ
MrCrypto_ alexgrover
@alexgrover, Thank you very much. Working like a charm. Thanks you.
+1 ตอบกลับ
I completely smashed my brain finding a way to restrict my buys in these slow descending bear trends. I have to say your indicator is VERY good in marking continuous trends for a longer period of time. I think about adding this as a restrictor for buys if there wasn't an uptrend for a certain amount of bars. If the outcome is good I will write you if I don't forget it.
+1 ตอบกลับ
@Damasta, I'am glad my indicator helped you in any way, thank you for the support.
ตอบกลับ
Holy shit this is amazing
+1 ตอบกลับ
alexgrover CosmonautCalls
@CosmonautCalls, Thank you for the support, i will try to post similar indicators in the future
ตอบกลับ
Alex; you're an awesome coder; thank you for your generosity and keep it up =D
+2 ตอบกลับ
หน้าแรก ตัวช่วยคัดกรองหุ้น ตัวคัดกรองฟอเร็กซ์ ตัวคัดกรองคริปโต ปฏิทินเศรษฐกิจ รายการ มันทำงานได้อย่างไร ข้อมูลสำคัญของชาร์ต ราคา กฎของบ้าน ผู้ดูแลการใช้งาน เว็บไซต์ & โบรกเกอร์ โซลูชั่น วิดเจ็ต โซลูชั่นชาร์ต Lightweight Charting Library ศูนย์ช่วยเหลือ แนะนำเพื่อน คำร้องขอเพิ่มเติมลักษณะและบริการ บล็อก & ข่าว คำถามที่พบบ่อย วิกิ Twitter
ข้อมูลส่วนตัว ตั้งค่าโปรไฟล์ บัญชีและการเรียกเก็บเงิน แนะนำเพื่อน ตั๋วการขอความสนับสนุนของฉัน ศูนย์ช่วยเหลือ ไอเดียที่ถูกตีพิมพ์ ผู้ติดตาม กำลังติดตาม ข้อความส่วนตัว แชท ออกจากระบบ