Money Flow/Volume Calculation: Users can choose to calculate money flow by multiplying price and volume, or display raw volume directly. Outlier Compression: By recording the data for the last N bars and applying a percentile-based algorithm, the script compresses extreme values to prevent them from distorting the overall display. Unit Scaling: Auto Mode: Automatically determines the scaling factor and display unit by comparing the highest value among the last N bars to user-defined thresholds for B, M, and K. Manual Mode: Allows users to manually specify the number of zeros to simplify, directly setting the scaling factor and display unit. Intuitive Visualization and Labeling: The script plots the data as a histogram, using green for rising prices and red for falling prices. A label is displayed on the most recent bar, indicating the current mode, compression status, and the scaling unit in use. 中文说明:
资金量/成交量计算: 用户可以选择以“价格 × 成交量”计算资金量,或直接显示原始成交量。 极端值压缩: 通过记录最近 N 根 K 线数据,并使用分位数算法对数据进行压缩,防止个别极端值影响整体图表显示。 单位缩放: 自动模式: 根据最近 N 根 K 线中的最高值,与用户设置的 B、M、K 阀值比较,自动确定缩放因子与显示单位。 手动模式: 用户可自定义简化几个 0,通过输入参数直接设定缩放比例与显示单位。 直观图形与提示标签: 采用柱状图绘制资金量/成交量,并根据价格涨跌显示绿色(上涨)或红色(下跌)。 在最新 K 线上显示标签,提示当前使用的模式、压缩状态以及缩放单位。
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, אתה יכול להשתמש בו באופן חופשי וללא כל הגבלה - למד עוד כאן.
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.