OPEN-SOURCE SCRIPT
Mis à jour

YY Price Limits

724
This Pine Script indicator is designed to visualize potential price limits (e.g., daily price limits used in some markets like commodities) on a TradingView chart. It calculates and plots lines representing percentage-based price limits above and below a reference price (typically the previous day's close). The indicator allows you to customize the displayed price limits, their appearance, and how they extend across the chart. It's particularly useful for intraday traders who need to be aware of potential price ceilings and floors.

Key Features:
  • Percentage-Based Limits:
  • Calculates price limits based on percentages (3%, 5%, and 7%) of a reference price.
  • Customizable Display:
  • Toggle visibility of reference price and each percentage limit (3%, 5%, 7%).
  • Customize the color, style (solid, dashed, dotted), and width of the price limit lines.
  • Extends Lines: Allows you to extend the price limit lines to the left, right, both directions, or not at all.
  • CME Reference Price: It is designed to plot price limits based on the CME (Chicago Mercantile Exchange) methodology, which uses the last close as the reference price. The tooltip reminds users to verify the actual reference price on the CME Group website.
  • Intraday Focus: The indicator is specifically designed for intraday timeframes, as it uses the previous day's close as the reference point.
  • Clear Visuals: Plots horizontal lines with labels indicating the price level and percentage.
Notes de version
Clean chart

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.