PROTECTED SOURCE SCRIPT
Cập nhật Power trend - SR - Based on Mike Webster's article

Mike Webster described the PowerTrend
What Starts a Power Trend?
What Ends a Power Trend?
I have provided the options to
This script is supposed to be used on a daily chart however, it will work on other timeframes as well.
PS:
What Starts a Power Trend?
- Low is above the 21-day EMA for at least 10 days.
- 21-day EMA is above the 50-day SMA for at least five days.
- 50-day SMA is in an uptrend.
- Closes up for the day.
What Ends a Power Trend?
- 21-day EMA crosses under 50-day SMA.
- Close 10% below the recent high and below the 50-day SMA.
I have provided the options to
- To show/hide all the important metrics related powertrend in a table.
- Background color can be shown on charts. It can be toggled as well.
- You can also modify the inputs for EMA and SMA
This script is supposed to be used on a daily chart however, it will work on other timeframes as well.
PS:
Phát hành các Ghi chú
- Fixing EMA and SMA count logic.
- Fixing summary table used of the correct value for Count(21EMA > 50SMA) row
- Formatting recent high to show only two digits.
Phát hành các Ghi chú
I added a color selection option for the summary table.Also, I changed the text in the summary table to sentence case.
Phát hành các Ghi chú
Feature - create alerts for a given symbolTo use this feature -
- Add the script to your chart
- Click the Alert icon or open the Alerts tab.
- Change condition to "Power trend change alert"
- Click Save
Phát hành các Ghi chú
Feature: Allowed tickers filterThe user can now input a list of allowed tickers, and then conditionally enable the indicator logic if the current chart symbol matches any in that list.
Example - user can enter `TSLA, AMD, CME:BTC1!`
By default "All" value is populated which shows the indicator on all the tickers.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
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ã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
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.