OPEN-SOURCE SCRIPT
已更新 Wave Support and Resistance Pro

Copy and paste the level that is shared every morning in the Discord channel of Market Wave
版本注释
Wave Support & Resistance Pro v2An all-in-one levels and market-structure tool. It lets you drop in your own support/resistance levels, auto-plots previous day and week highs/lows, colors every level by the role it's currently playing, fires directional alerts, and draws structure-based order blocks with an estimated volume read.
— FEATURES —
- Paste-in levels: Type or paste a comma-separated list of support levels and resistance levels straight into the settings (it ignores $ signs and line breaks, so messy pastes still work). Each one is drawn as an extended horizontal line.
- Role-based coloring: Every pasted level recolors itself live — green when price is above it (acting as support) and red when price is below it (acting as resistance) — so you always see which side you're on.
- Key Level: A manually entered level drawn thicker in its own color. If it matches a pasted level, that level is highlighted as the key.
- Previous Day / Week High & Low: Optional auto-plotted PDH, PDL, PWH and PWL, each with its own show toggle, alert toggle, and color picker.
- Directional alerts: Tick a level group on and it alerts automatically — support/lows when price drops through, resistance/highs when price rises through. Set up one alert in TradingView using "Any alert() function call."
- Order blocks (Smart Money Concepts): Blocks are anchored at the structural turning point of the leg that breaks structure. Breaks are labeled BOS (continuation) or CHoCH (trend flip), with optional HH/HL/LH/LL swing labels. Blocks extend right until price mitigates them, then clear automatically. Controls for swing sensitivity, max count, tight body-only zones, overlap hiding, and an ATR-based height cap keep them clean.
- Estimated block volume: Each block shows the volume traded during its formation plus the dominant buy/sell share, estimated from a lower timeframe.
— HOW TO USE —
1. Add to chart. Open settings.
2. Paste your support and resistance numbers into their boxes.
3. (Optional) Enter a Key Level and enable any previous day/week levels.
4. (Optional) Enable order blocks and adjust sensitivity to taste.
5. For alerts, create a TradingView alert on this indicator with the condition "Any alert() function call."
— NOTES —
The order-block logic is an original implementation of the publicly known Smart Money Concepts methodology. Buy/sell volume is an estimate derived from a lower timeframe — TradingView does not provide true bid/ask volume, so treat the percentage as an approximation, not order-flow data.
This script is a charting and analysis tool only. It is not financial advice and makes no guarantee of results. Always do your own research and manage your own risk.
版本注释
Update — Market Structure + Volumetric Order BlocksAdded a full Smart Money Concepts layer on top of the support/resistance tool:
- Swing labels: HH / HL / LH / LL marked at each confirmed pivot (toggle on/off).
- BOS / CHoCH: each break of structure is labeled and drawn with a dashed connector to the broken swing. Bullish breaks show green, bearish red. Each swing can only break once, so no duplicate markers.
- Order blocks: anchored at the structural turning point, drawn as clean thin zones that extend until price mitigates them, then clear. Each block shows estimated traded volume and buy/sell share (estimated from a lower timeframe — TradingView has no true bid/ask volume).
- Cleaner level handling: pasted support/resistance lines now recolor by role (green when price is above, red when below), and previous day/week High & Low levels got their own color pickers.
All structure and order-block features have independent on/off toggles, plus a control to limit how many recent markers stay on screen.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。