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.
Release Note
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.
Release Note
Updated visual style.สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน