OPEN-SOURCE SCRIPT
Zaktualizowano 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.
Informacje o Wersji
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.
Informacje o Wersji
Updated visual style.Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.