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
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
และใน:

คำจำกัดสิทธิ์ความรับผิดชอบ