OPEN-SOURCE SCRIPT
JMA filter 2

This is based on ChuckBanger Juric indicator (a modification of it)
![Jurik Moving Average Crossover Strategy [ChuckBanger]](https://s3.tradingview.com/p/pM6FkCHY_mid.png)
things you need to know how to work with this one
to control the wave setting you need to adjust the length , slow ,fast and c in menu for optimal result
positive trend is above zero in green
negative trend bellow zero red
the best part herein this indicator is to finding of high and low based on lower treshold =trel
higher threshold for high =treh
there is signals once it crossed up or down
for each time frame you need to set the threshold for optimal results as it change for each TF it will be different so be careful about it
so rule of thumb is to look for the previous peaks either up or down and to set the threshold according to it
it more sensitive then RSI to my opinion and very good to detect sweet spot either for sell or buy
one can add alerts (not included)
or modify it to make it better
here on Tesla

![Jurik Moving Average Crossover Strategy [ChuckBanger]](https://s3.tradingview.com/p/pM6FkCHY_mid.png)
things you need to know how to work with this one
to control the wave setting you need to adjust the length , slow ,fast and c in menu for optimal result
positive trend is above zero in green
negative trend bellow zero red
the best part herein this indicator is to finding of high and low based on lower treshold =trel
higher threshold for high =treh
there is signals once it crossed up or down
for each time frame you need to set the threshold for optimal results as it change for each TF it will be different so be careful about it
so rule of thumb is to look for the previous peaks either up or down and to set the threshold according to it
it more sensitive then RSI to my opinion and very good to detect sweet spot either for sell or buy
one can add alerts (not included)
or modify it to make it better
here on Tesla
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.