OPEN-SOURCE SCRIPT
FX Round Levels

FX Round Levels — 整数位水平线
自动在图表上绘制心理价位(整数位)和中间位水平线,适用于外汇、指数、加密货币等所有品种。
功能特点
整数位(xx.00):自动计算并显示当前价格附近的整数关口
中间位(xx.50):可选显示整数位中间的半数关口
重要整数位高亮:自动识别 xxx000 / xxx500 等关键整百/整五百位,以不同颜色突出显示
价格标签:每条线旁显示精确价格,偏移量可调
全品种自适应:自动检测小数位数,兼容所有货币对及品种
完整自定义:颜色、线宽、线型(实线/虚线/点线)均可独立设置
显示数量可控:默认显示当前价格上下各 15 条,最多支持 200 条
适用场景:支撑/阻力分析、关键价位识别、价格区间参考
--------------------------------------------------------------
English Version
FX Round Levels — Psychological Price Levels
Automatically plots round number levels and mid-point levels on your chart. Works on any instrument — Forex, indices, crypto, commodities.
Features
Round levels (xx.00): Auto-calculated whole-number price levels around current price
Mid levels (xx.50): Optional half-figure levels between round numbers
Significant level highlight: Distinguishes major levels (xxx000 / xxx500) with a separate color
Price labels: Precise price tag beside each line, with adjustable offset
Universal compatibility: Auto-detects decimal places, works on any symbol and timeframe
Full customization: Independent color, width, and style (Solid / Dashed / Dotted) for round and mid levels
Adjustable count: Default ±15 levels around price, up to 200 total
Use case: Support/resistance analysis, key price identification, range reference
自动在图表上绘制心理价位(整数位)和中间位水平线,适用于外汇、指数、加密货币等所有品种。
功能特点
整数位(xx.00):自动计算并显示当前价格附近的整数关口
中间位(xx.50):可选显示整数位中间的半数关口
重要整数位高亮:自动识别 xxx000 / xxx500 等关键整百/整五百位,以不同颜色突出显示
价格标签:每条线旁显示精确价格,偏移量可调
全品种自适应:自动检测小数位数,兼容所有货币对及品种
完整自定义:颜色、线宽、线型(实线/虚线/点线)均可独立设置
显示数量可控:默认显示当前价格上下各 15 条,最多支持 200 条
适用场景:支撑/阻力分析、关键价位识别、价格区间参考
--------------------------------------------------------------
English Version
FX Round Levels — Psychological Price Levels
Automatically plots round number levels and mid-point levels on your chart. Works on any instrument — Forex, indices, crypto, commodities.
Features
Round levels (xx.00): Auto-calculated whole-number price levels around current price
Mid levels (xx.50): Optional half-figure levels between round numbers
Significant level highlight: Distinguishes major levels (xxx000 / xxx500) with a separate color
Price labels: Precise price tag beside each line, with adjustable offset
Universal compatibility: Auto-detects decimal places, works on any symbol and timeframe
Full customization: Independent color, width, and style (Solid / Dashed / Dotted) for round and mid levels
Adjustable count: Default ±15 levels around price, up to 200 total
Use case: Support/resistance analysis, key price identification, range reference
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.