OPEN-SOURCE SCRIPT

Universal MA Trend

ที่อัปเดต:
(Republishing in Open source)
Hello traders,

Many existing moving average indicators have not been satisfactory in terms of the number, types, and length adjustments of moving averages.

Feeling the inconvenience, I created a moving average indicator and collected numerous famous moving averages.

Fortunately, there was a PineCoder "andre_007" who had already compiled various Moving Averages,
so I was able to find a new Moving Average and combine it with the indicator. Here is the link below
Moving Average Compendium Refurbished


Among these, for the JMA, which has not been publicly disclosed, I utilized the source code from TradingView Wizard everget:
Jurik Moving Average


For VIDYA, I also used everget's source code:
Variable Index Dynamic Average (VIDYA)


And also MAMA / FAMA Coded from Pinescript Wizard everget :
Ehlers MESA Adaptive Moving Averages (MAMA & FAMA)

For Frama, I used the code from nemozny's source code :
FRAMA (Ehlers true modified calculation)


Thanks to all these Pinecoders.

---

By using these excellent moving averages together, I found that the simultaneous Up/Down changes of various moving averages with different characteristics tend to be maintained for quite a long time.

Therefore, this indicator not only collects various moving averages but also displays areas with simultaneous trends as background.

An example can be found here:
สแนปชอต

Furthermore, to prevent the up/down changes of the moving averages due to factors like whipsaws, a smoothing filter has been introduced.

And Also, Alert is able when trend changes.


---
(오픈소스화 후 재발행)

안녕하세요 트레이더여러분.

기존의 이동평균선 지표들은, 이동평균선의 갯수, 종류, 길이조절 등에서 만족스럽지 못한 점들이 많았습니다.

불편함을 느끼고 직접 이동평균선 지표를 만들면서, 유명한 수 많은 이동평균선들을 모았습니다.

그리고 이미 이러한 수많은 이동평균선을 손수 모아서 정리해주신 고마우신 파인코더(andere_007 님)가 있어서, 그 분의 코드를 많이 이용했습니다. 링크는 아래와 같습니다.
Moving Average Compendium Refurbished


이 중 소스가 공개되지 않은 이동평균선 중 JMA는 트레이딩뷰 위자드이신 everget의 소스코드를 이용했습니다.
Jurik Moving Average


VIDYA 역시 everget의 소스코드를 이용했습니다.
Variable Index Dynamic Average (VIDYA)


MAMA와 FAMA의 코드 역시 everget님의 코드를 가져왔습니다.
Ehlers MESA Adaptive Moving Averages (MAMA & FAMA)

Frama는 nemozny님의 코드를 이용했습니다.
FRAMA (Ehlers true modified calculation)

의 코드를 이용했습니다.

이 자리를 빌어 위의 파인코더님들께 감사의 말씀을 전합니다.
---

이러한 좋은 이동평균선을 모아서 사용해보니, 다양한 특성을 갖고 있는 이동평균선의 동시적인 Up/Down 변화는 꽤 오랫동안 유지된다는 점을 발견했습니다.

그래서 이 지표는, 위의 여러가지 이동평균선을 모아놓은 것 뿐만 아니라,
그것에서 동시적인 트랜드가 나오는 곳을 배경화면으로 표시해두었습니다.

예시는 다음과 같습니다.
สแนปชอต

나아가 휩쏘 등으로 이동평균선의 up/down이 바뀌는 것을 막고자, Smoothing 필터도 도입했습니다.

또한 트랜드가 바뀔 때 얼러트가 울리도록, 얼러트 기능을 설정해놓을 수 있게 해놓았으며, 현재 이동평균선과 상태를 보기 쉽도록 테이블을 만들어놓았습니다.
เอกสารเผยแพร่
Fixed Smoothing Code
เอกสารเผยแพร่
1. Updated McGinley Moving Average for New Code

McGinley Dynamic (Improved) - John R. McGinley, Jr.


2. Updated VIDYA for New Code

Variable Index Dynamic Average VIDYA
jurikMoving AveragesVariable Index Dynamic Average (VIDYA)

สคริปต์โอเพนซอร์ซ

ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?

คำจำกัดสิทธิ์ความรับผิดชอบ