OPEN-SOURCE SCRIPT

Support and Resistance (MTF) | Flux Charts

已更新
💎 GENERAL OVERVIEW
Introducing a groundbreaking support and resistance indicator designed to revolutionize your trading experience on TradingView! This innovative tool operates across three distinct timeframes, offering a comprehensive view of market dynamics to help you make informed trading decisions.

The indicator offers a large variety of features :

  1. Select Up To 3 Timeframes
  2. Select Strength Of Supports & Resistances
  3. Select Between Zones & Lines
  4. Show Breaks & Restests
  5. Break & Retest Alerts
  6. Avoid False Breaks
  7. Inverse Color After Broken
  8. Expand Lines & Zones


🚩UNIQUENESS
What sets this indicator apart is its ability to seamlessly integrate and analyze support and resistance levels across multiple timeframes simultaneously. By combining data from three different timeframes, this indicator provides a holistic perspective on market trends and key levels. The adaptive nature of this tool ensures a dynamic assessment of support and resistance zones, empowering traders to adapt to changing market conditions efficiently.

⚙️SETTINGS

1. General Configration
Support & Resistance Count -> Select between 1-3 support & resistance zones for each timeframe.

Pivot Range -> The pivot range is taken into calculations when finding high & low pivots in the chart. Increase if you need a more general look at the support & support zones, or decrease if you need a more detailed look.

Strength -> The strength of the support & resistance zones are determined by how many times the price touched the zone in the past. You can increase the strength up to 4.

Expand Lines & Zones -> If enabled, the support & resistance zones will be expanded to both left and right infinitely. If disabled, the support & resistance zones will be clamped between the time they are first seen, and the time they become broken.

2. Support & Resistance Zones
Enable Zones -> The support & resitsance lines will be converted to zones if enabled.

Zone Width -> The width of the zones. 1 -> %0.05, 2 -> %0.06, 3 -> %0.075.

3. Timeframes
Enable & Disable up to 3 different timeframes using the checkboxes. You can set the timeframes using the selectboxes.

4. Breaks & Retests
Show Breaks -> Points the break points with a blue label with the text "B" on it.

Show Retests -> Points the times when the support & resistance zones are being retested in the current chart.

Avoid False Breaks -> If enabled, the algorithm will try to avoid false break points by comparing the average volume of the point to a longer average volume.

Break Volume Threshold % -> If "Avoid False Breaks" option is enabled, the average volume of the break point should surpass the general average volume by this percent. Higher values mean it's less likely to be a break.

Inverse Color After Broken -> As broken support & resistance zones often become resistance & support zones respectively, if you enable this option the broken zones will inverse their color.

5. Alerts
To make the alerts work, you'll need to add an alert to the chart using the TradingView® alert feature.

Enable Retest Alerts -> You will receive alerts when restests happen on any of the support & resistance zones. "Show Retests" option needs to be enabled to get alerts of this category.

Enable Break Alerts -> You will receive alerts when breaks happen on any of the support & resistance zones.
版本注释

  • Option to change the color & opacity of displayed text
  • Option to adjust the opacity of the zones & lines
版本注释

  • Added a "Memory Optimization" setting for users that encounter memory limit errors using the indicator. It can be enabled from the advanced settings located at the bottom of the settings menu.
版本注释
Reworked retest calculation for more consistent result.
版本注释
Improved upon zone strength calculations.
版本注释
  • Improved reliability of retest & breakout alerts
  • Improved efficiency of "Avoid False Breakouts" option
版本注释
  • Fixed a rare error that halts the indicator when using multiple timeframes.
版本注释
  • You can now select between center & right for resistance and support text alignment
  • You can switch zone size between fixed and dynamic, dynamic option has an ATR approach to zone size, and should be consistent across different timeframes
版本注释
  • Thumbnail update
版本注释
Various Optimizations & Fixes
版本注释
  • Script is completely rewritten with new memory optimizations & bug fixes
版本注释
  • Fixed a rare bug with break labels being incorrectly placed
版本注释
  • Various fixes to "Inverse Color After Broken" setting.

Four things to keep in mind while using this script:
  1. Levels that are created using the "Inverse Color After Broken" setting are called ephemeral levels in the script.
  2. Ephemeral levels will not create another inverse zone after they are broken.
  3. Ephemeral levels are not taken into account when calculating strength of a level, for example an ephemeral zone created from a strength 2 S&R will be always strength 2, no matter the amount of retests.
  4. Any level invalidated in 5 bars after it's creation will not be rendered, ephemeral or not. This is implemented to prevent retest & break labels cluttering on the chart especially for ephemeral zones as they can be invalidated really fast unlike original S&Rs.
版本注释
Retest logic revised — Retests for higher timeframe support & resistance levels will be shown from the chart timeframe as well as their original timeframe.
版本注释
Retest logic revised — Retests for higher timeframe support & resistance levels will be shown from the chart timeframe as well as their original timeframe.
版本注释
  • Fixed an issue where text would occasionally overlap
版本注释
  • Fixed an issue where text would occasionally overlap
版本注释
  • Fixed an issue that resulted in script throwing an error
breakoutfluxchartsPivot points and levelssupport_and_resistanceSupport and ResistancesupportandresistancezonesVOLUMEBREAKOUTVolume

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?


Access Flux Charts' exclusive indicators: FluxCharts.com/?via=tv

Join our FREE Discord for live trading sessions, signals, & trading resources: discord.gg/FluxCharts
更多:

免责声明