OPEN-SOURCE SCRIPT
Setup 9.1 (Larry Williams) + EMA 50

Disclaimer
This indicator is strictly a visual charting tool for educational purposes. It does NOT provide financial advice or buy/sell recommendations. Trading involves risk; perform your own analysis.
Overview and Logic
This script automates the visual layout of Larry Williams 9.1 Setup combined with a 50 MA trend filter. It highlights short-term momentum shifts based on moving average directional changes:
BUY Setup: Triggered when the 9 EMA turns UP. The script plots a visual entry line at the signal bar High and an invalidation line at its Low.
SELL Setup: Triggered when the 9 EMA turns DOWN. The script plots a visual entry line at the signal bar Low and an invalidation line at its High.
The 50 MA acts as an optional macro filter line to help you identify the broader market direction.
Alerts Notice
Alerts trigger at the close of the signal bar when the visual setup forms. An alert does NOT mean a trade is executed. The setup is only validated if the price breaks the plotted trigger line on the subsequent bars.
This indicator is strictly a visual charting tool for educational purposes. It does NOT provide financial advice or buy/sell recommendations. Trading involves risk; perform your own analysis.
Overview and Logic
This script automates the visual layout of Larry Williams 9.1 Setup combined with a 50 MA trend filter. It highlights short-term momentum shifts based on moving average directional changes:
BUY Setup: Triggered when the 9 EMA turns UP. The script plots a visual entry line at the signal bar High and an invalidation line at its Low.
SELL Setup: Triggered when the 9 EMA turns DOWN. The script plots a visual entry line at the signal bar Low and an invalidation line at its High.
The 50 MA acts as an optional macro filter line to help you identify the broader market direction.
Alerts Notice
Alerts trigger at the close of the signal bar when the visual setup forms. An alert does NOT mean a trade is executed. The setup is only validated if the price breaks the plotted trigger line on the subsequent bars.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.