OPEN-SOURCE SCRIPT
已更新

Essa - Multi-Timeframe Levels

1 922
Enhanced Multi‐Timeframe Levels

This indicator plots yearly, quarterly and monthly highs, lows and midpoints on your chart. Each level is drawn as a horizontal line with an optional label showing “<Timeframe> <LevelType> – <Price>” (for example “Apr 2025 High – 1.2345”). If two or more timeframes share the same price (within two ticks), they are merged into a single line and the label lists each timeframe.

A distance table can be shown in any corner of the chart. It lists up to five active levels closest to the current closing price and shows for each level:

  • level name (e.g. “May 2025 Low”)
  • exact price
  • distance in pips or points (calculated according to the instrument’s tick size)
  • percentage difference relative to the close


Alerts can be enabled so that whenever price comes within a user-specified percentage of any level (for example 0.1 %), an alert fires. Once price decisively crosses a level, that level is marked as “broken” so it does not trigger again. Built-in alertcondition hooks are also provided for definite breaks of the current monthly, quarterly and yearly highs and lows.

Monthly lookback is configurable (default 6 months), and once the number of levels exceeds a cap (calculated as 20 + monthlyLookback × 3), the oldest levels are automatically removed to avoid clutter. Line widths and colours (with adjustable opacity for quarterly and monthly) can be set separately for each timeframe. Touches of each level are counted internally to allow future extension (for example visually emphasising levels with multiple touches).
版本注释
Updated Lines to Extend
版本注释
Updates
版本注释
TLC
版本注释
Tidy

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。