OPEN-SOURCE SCRIPT
Aggiornato 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.
Note di rilascio
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.
Note di rilascio
Updated visual style.Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.