Auto-Support

Published on MillionChart by AlphaHunter.

A fairly simple script that automatically draws highs and lows from the past X periods at several intervals, giving you quick support and resistance levels without drawing them by hand.

Settings:
- Sensitivity: sets the horizontal separation from one high to the next high. The default multiplier is 10.
- Resistance color: a hex color value used for the resistance lines (red by default).
- Support color: a hex color value used for the support lines (blue by default).

Notes:
- The levels are recalculated by the script as the chart updates, so there is nothing to draw manually.
- You can change the sensitivity to see more or fewer levels, and adjust the colors to suit your chart theme.
- Hex color codes can be looked up with any online color picker.
- The author invites you to edit the script to your own taste.