ChartMystic
  • How it works
  • Products
  • Live demo
  • Results
  • Pricing
  • Docs
Log inSign up
  • How it works
  • Products
  • Live demo
  • Results
  • Pricing
  • Docs
  • Log in

Documentation

Artemis Pro

InstallationOverviewHow Artemis Pro ThinksReading The ChartTrend EngineSignal ReferenceLiquidity LinesLiquidity GrabsSession BoxesHTF LevelsHTF CandlesHTF Info TableBacktesting And Data WindowSupported Markets And ChartsSettings ReferenceFAQGlossary

Scribe Studio

OverviewAsk for a StrategyPerformanceTrade AnalysisCodeTweaking Your StrategyTransfer to TradingViewThe Strategy LibraryHistory & Saved StrategiesFAQGlossary
ChartMystic
Documentation/Artemis Pro/Liquidity Lines

Liquidity Lines

Why swing levels are liquidity, how Artemis Pro detects them, and how lines are mitigated, hidden, and expired.

Artemis Pro marks confirmed swing highs and swing lows as horizontal liquidity lines: red resistance lines above price, green support lines below. This page explains why those levels matter, how detection works, and how lines are mitigated, hidden, and expired.

Confirmed swing highs and lows as liquidity lines
Screenshot
Wide S&P 500 futures chart with confirmed red resistance and green support swing lines extending from their pivot candles

Why Swing Levels Are Liquidity

Every obvious swing high and swing low on a chart accumulates orders around it. Traders who are short place their stops just above the last swing high; traders who are long place theirs just below the last swing low. Breakout traders stack entry orders at the same prices. The result is a cluster of resting liquidity at every visible swing point.

Price is drawn to these clusters. That is why swing levels get swept, and why the sweep so often marks the turn: once the stops are triggered, the fuel is spent. Artemis Pro draws these levels for you so the map is always on the chart. What happens when price finally reaches one is covered in Liquidity Grabs.

How Detection Works

A swing is confirmed with a pivot check: a candle counts as a swing high when a set number of bars to its left and right have lower highs (mirrored for swing lows).

InputDefaultEffect
Active Swing LinesonMaster switch for the module
Bars Left10Bars to the left that must be lower (highs) or higher (lows). More bars means only larger swings qualify.
Bars Right3Bars to the right needed for confirmation. More bars means later but more reliable detection.
Res Lines / Sup Linesred / greenLine colors for swing highs and swing lows
Width2Line width

When a swing is confirmed, the line is drawn starting at the actual pivot candle, so it sits at the historically correct bar and price.

PreviousSignal ReferenceNextLiquidity Grabs

Need help?

Confirmation is not free

With Bars Right at 3, a swing line can only appear 3 bars after the swing actually formed. This is by design, not a flaw: it filters out pivots that immediately fail. But it means you will never see a liquidity line on the bar that created it, and freshly formed extremes are unmarked until they confirm.

Line Lifecycle

Extension

With Extend Until Filled enabled (the default), every unfilled line extends to the right, bar by bar, until price returns to it. The line is a live magnet on your chart: as long as it is extending, that liquidity has not been taken.

Mitigation

Mitigation means that price has returned to a previously untouched liquidity line. The moment a candle touches the level, Artemis Pro considers the line filled (mitigated). It stops extending and freezes at the touch, so you can still see where the level was and when it was hit. Mitigation is also the moment Artemis Pro checks whether the touch was a clean break or a liquidity grab.

Hide Filled

If you prefer a cleaner chart, enable Hide Filled (default off) to delete mitigated lines entirely instead of leaving them frozen in place. Frozen lines are useful for reviewing how price behaved at old levels; hiding them keeps the chart focused on levels that are still live.

Expiry

Unfilled lines do not live forever. Max Age (Bars), default 100, removes any line once it has gone more than that many bars without being touched: with the default, a line is still live on its 100th bar and is removed on the 101st. On a 5-minute chart that is roughly a full trading day. A level that old has usually lost its relevance for intraday decisions; lower the value if your chart still feels crowded.

Drawing Budget

TradingView caps how many drawings a script can hold, so Artemis Pro manages its swing lines in a rolling set of at most 100 active lines. When the cap is reached, the oldest lines are dropped first. Frozen (mitigated but not hidden) lines still count against the platform's overall drawing budget; on very dense charts, enabling Hide Filled or lowering Max Age keeps things tidy.