OPEN-SOURCE SCRIPT
Cập nhật Webby's Market Order

This is visual representation of Webby's Market Order.
When three consecutive lows are above 21 EMA, Uptrend expectation is natural.
When three highs are below 21 EMA, Downtrend expectation is natural.
Alert Conditions can be set when uptrend and down trend are expected.
Use this indicator with IXIC or SPY or major indices.
This is set at three lows/Highs above 21 EMA as looked by Mike Webster.
When three consecutive lows are above 21 EMA, Uptrend expectation is natural.
When three highs are below 21 EMA, Downtrend expectation is natural.
Alert Conditions can be set when uptrend and down trend are expected.
Use this indicator with IXIC or SPY or major indices.
This is set at three lows/Highs above 21 EMA as looked by Mike Webster.
Phát hành các Ghi chú
Combined Stair Steps to Heaven & Webby's Market Order IndicatorA versatile TradingView indicator combining two modes for trend and momentum analysis, with toggleable Simple and Detailed modes.
Simple Mode (Webby's Market Order):
Plots a customizable MA (EMA/SMA, default 21-period) colored by trend (green: up, red: down, yellow: flat).
Background colors indicate market sentiment: bullish (green, lows above MA for 3 bars), bearish (red, highs below MA), or neutral (yellow).
Alerts for bullish/bearish conditions.
Detailed Mode (Stair Steps to Heaven Oscillator):
Plots EMA21, SMA50, SMA200 on the price chart (toggleable).
Exposure oscillator (0–100%) on a separate panel, based on 12 rules (e.g., close above EMA21, EMA21 above SMA50).
Each rule adds 10 to exposure; resets on full_reset (price below all MAs) or pullbacks.
Customizable text box shows exposure percentage; optional background gradient reflects exposure strength.
Alerts for each rule.
12 Rules (Detailed Mode):
0. Close > EMA21
Low > EMA21, prev daily low < EMA21
3 consecutive lows > EMA21,转
System: Summary of "Combined Stair Steps to Heaven & Webby's Market Order" Indicator
Overview: A versatile TradingView indicator combining two toggleable modes for trend and momentum analysis: Simple (Webby's Market Order) and Detailed (Stair Steps to Heaven Oscillator).
Simple Mode (Webby's Market Order):
Plots a customizable moving average (MA, default EMA 21) colored by trend (green: up, red: down, yellow: flat).
Background colors reflect market sentiment: bullish (green, 3 consecutive lows above MA), bearish (red, highs below MA), or neutral (yellow).
Alerts for bullish/bearish conditions.
Detailed Mode (Stair Steps to Heaven Oscillator):
Plots EMA21, SMA50, SMA200 on the price chart (toggleable).
Exposure oscillator (0–100%) on a separate panel, calculated from 12 rules based on price and MA relationships (e.g., close > EMA21).
Each rule contributes 10 to exposure; resets on full_reset (price below all MAs) or pullbacks.
Customizable text box displays exposure percentage; optional background gradient reflects strength.
Alerts for each rule.
12 Rules (Detailed Mode):
Close > EMA21
Low > EMA21, prev daily low < EMA21
Three consecutive lows > EMA21
Close > SMA50
Low > SMA50, prev daily low < SMA50
Three consecutive lows > SMA50
Close > SMA200
Low > SMA200, prev daily low < SMA200
Three consecutive lows > SMA200
EMA21 > SMA50
EMA21 > SMA200
SMA50 > SMA200
Features:
Toggle between modes via dropdown.
Customizable MA types, lengths, colors, opacity, and text box settings.
Alerts for Simple mode (bullish/bearish) and Detailed mode (each rule).
Background gradient and text box for visual clarity.
Usage:
Simple Mode: Use MA and background colors to identify trends; set alerts for market conditions.
Detailed Mode: Monitor oscillator (high >70: bullish, low <30: bearish), MAs, and text box; set rule-specific alerts.
Adjust settings for trading style and timeframe.
Notes:
Suitable for any timeframe; test settings for markets (stocks, forex, crypto).
Resource-intensive on low timeframes; ensure sufficient historical data.
Use with other tools; not a guaranteed predictor.
Overlay=false for oscillator; MAs/text box overlaid on chart.
Credits: Combines Mike Webster’s trend-following concepts with original Pine Script implementation.
Disclaimer: For educational purposes only; not financial advice. Conduct own research and use risk
Phát hành các Ghi chú
in detail mode, made ema21, sma50, sma200 as user inputs to be flexible. User may opt different lengths to sutdy, sma150 instead of sma200.Phát hành các Ghi chú
update if used same logic on IPOsPhát hành các Ghi chú
Revert to basicsMã 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.