OPEN-SOURCE SCRIPT
Actualizado 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.
Notas de prensa
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.
Notas de prensa
Updated visual style.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.