OPEN-SOURCE SCRIPT
已更新 mudn8rRuler

mudn8rRuler is an interactive measurement indicator that shows the potential profit or loss of a price move based on your selected contract quantity.
Designed for futures traders, it combines ruler measurements and contract-aware P/L in one text box.
Features
Measure the bar distance, elapsed time, and price change between two points.
Display price change in points, ticks, percent, or total currency value.
View potential long and short gross P/L for your chosen number of contracts.
Reposition the measurement and text box using three interactive chart points.
Customize line color, line width, text size, and text-box colors.
Use the symbol’s point value automatically, with an optional manual override.
How to use
Add mudn8rRuler to your chart.
Select the starting point, ending point, and text-box location when prompted.
Open Settings → Inputs and set Contracts to your intended quantity.
Select the indicator to reveal its interactive markers, then move those markers to adjust the measurement or text-box position.
Add another instance of the indicator if you want multiple rulers on the chart.
P/L calculation
Long P/L = Tick-rounded price change × Point value × Contracts
Short P/L is the opposite of long P/L. An upward move produces positive long P/L and negative short P/L; a downward move reverses those results.
For example, with a point value of $50, a one-point upward move measured with three contracts shows +$150 long P/L and −$150 short P/L.
Notes and limitations
Contracts is a manual setting. The indicator does not read or synchronize with the trading panel’s Order Qty field.
Amounts are displayed in the symbol’s currency. Commissions, fees, slippage, and currency conversion are excluded.
Intended for linear futures contracts. Forex lot sizing and inverse-contract calculations are not supported.
Bar distance uses loaded chart bars. If an anchor does not match a loaded bar’s opening time, Bars displays N/A.
Standard time-based charts provide the most predictable bar counts.
Move the indicator’s input markers to adjust it; the lines and text box are not native TradingView drawing tools.
Reset the anchors after changing symbols because the selected prices remain in the indicator’s inputs.
mudn8rRuler is a measurement and trade-planning aid. It does not generate trading signals or place orders.
Designed for futures traders, it combines ruler measurements and contract-aware P/L in one text box.
Features
Measure the bar distance, elapsed time, and price change between two points.
Display price change in points, ticks, percent, or total currency value.
View potential long and short gross P/L for your chosen number of contracts.
Reposition the measurement and text box using three interactive chart points.
Customize line color, line width, text size, and text-box colors.
Use the symbol’s point value automatically, with an optional manual override.
How to use
Add mudn8rRuler to your chart.
Select the starting point, ending point, and text-box location when prompted.
Open Settings → Inputs and set Contracts to your intended quantity.
Select the indicator to reveal its interactive markers, then move those markers to adjust the measurement or text-box position.
Add another instance of the indicator if you want multiple rulers on the chart.
P/L calculation
Long P/L = Tick-rounded price change × Point value × Contracts
Short P/L is the opposite of long P/L. An upward move produces positive long P/L and negative short P/L; a downward move reverses those results.
For example, with a point value of $50, a one-point upward move measured with three contracts shows +$150 long P/L and −$150 short P/L.
Notes and limitations
Contracts is a manual setting. The indicator does not read or synchronize with the trading panel’s Order Qty field.
Amounts are displayed in the symbol’s currency. Commissions, fees, slippage, and currency conversion are excluded.
Intended for linear futures contracts. Forex lot sizing and inverse-contract calculations are not supported.
Bar distance uses loaded chart bars. If an anchor does not match a loaded bar’s opening time, Bars displays N/A.
Standard time-based charts provide the most predictable bar counts.
Move the indicator’s input markers to adjust it; the lines and text box are not native TradingView drawing tools.
Reset the anchors after changing symbols because the selected prices remain in the indicator’s inputs.
mudn8rRuler is a measurement and trade-planning aid. It does not generate trading signals or place orders.
發行說明
mudn8rRuler is an interactive measurement indicator that shows the potential profit or loss of a price move based on your selected contract quantity.Designed for futures traders, it combines ruler measurements and contract-aware P/L in one text box.
Features
Measure the bar distance, elapsed time, and price change between two points.
Display price change in points, ticks, percent, or total currency value.
View potential long and short gross P/L for your chosen number of contracts.
Reposition the measurement and text box using three interactive chart points.
Customize line color, line width, text size, and text-box colors.
Use the symbol’s point value automatically, with an optional manual override.
How to use
Add mudn8rRuler to your chart.
Select the starting point, ending point, and text-box location when prompted.
Open Settings → Inputs and set Contracts to your intended quantity.
Select the indicator to reveal its interactive markers, then move those markers to adjust the measurement or text-box position.
Add another instance of the indicator if you want multiple rulers on the chart.
P/L calculation
Long P/L = Tick-rounded price change × Point value × Contracts
Short P/L is the opposite of long P/L. An upward move produces positive long P/L and negative short P/L; a downward move reverses those results.
For example, with a point value of $50, a one-point upward move measured with three contracts shows +$150 long P/L and −$150 short P/L.
Notes and limitations
Contracts is a manual setting. The indicator does not read or synchronize with the trading panel’s Order Qty field.
Amounts are displayed in the symbol’s currency. Commissions, fees, slippage, and currency conversion are excluded.
Intended for linear futures contracts. Forex lot sizing and inverse-contract calculations are not supported.
Bar distance uses loaded chart bars. If an anchor does not match a loaded bar’s opening time, Bars displays N/A.
Standard time-based charts provide the most predictable bar counts.
Move the indicator’s input markers to adjust it; the lines and text box are not native TradingView drawing tools.
Reset the anchors after changing symbols because the selected prices remain in the indicator’s inputs.
mudn8rRuler is a measurement and trade-planning aid. It does not generate trading signals or place orders.
發行說明
Updated visual style.開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。