Pine Script Tick Value Helper (MES / MNQ)
Reads syminfo.mintick and syminfo.pointvalue to print the exact dollar-per-tick for whatever symbol is on the chart.
Pine Script
//@version=6
indicator("Target Filled - Tick Value Helper", overlay=true)
// --- Inputs ---------------------------------------------------
overrideValue = input.float(0.0, "Manual Tick Value ($)", step=0.05, minval=0,
tooltip="Leave at 0 to auto-detect from the chart symbol.")
// --- Auto-detect from the symbol ---------------------------------
detectedValue = syminfo.mintick * syminfo.pointvalue
tickDollar = overrideValue > 0 ? overrideValue : detectedValue
// --- Readout table ---------------------------------------------------
var table info = table.new(position.top_right, 2, 4, bgcolor=color.new(color.black, 20), border_width=1)
if barstate.islast
table.cell(info, 0, 0, "Symbol", text_color=color.white)
table.cell(info, 1, 0, syminfo.ticker, text_color=color.white)
table.cell(info, 0, 1, "Tick size", text_color=color.white)
table.cell(info, 1, 1, str.tostring(syminfo.mintick), text_color=color.white)
table.cell(info, 0, 2, "Point value", text_color=color.white)
table.cell(info, 1, 2, "$" + str.tostring(syminfo.pointvalue), text_color=color.white)
table.cell(info, 0, 3, "Tick value", text_color=color.white)
table.cell(info, 1, 3, "$" + str.tostring(tickDollar), text_color=color.white) Settings
| Input | Default | Purpose |
|---|---|---|
| overrideValue | 0 | Manual override in dollars; 0 keeps auto-detection from the symbol. |
How to use
- Add to any chart — it's an
indicator(), not a strategy, so it sits alongside whatever else is running. - Copy the
detectedValueline into any strategy that needs dollar math: sizing, P&L limits, stop conversion. - The top-right table shows tick size, point value, and dollar-per-tick for the active symbol.
- Reference values for the most common prop-firm futures are below.
| Symbol | Tick Size | Point Value | Tick Value |
|---|---|---|---|
| MES | 0.25 pts | $5 | $1.25 |
| MNQ | 0.25 pts | $2 | $0.50 |
| ES | 0.25 pts | $50 | $12.50 |
| NQ | 0.25 pts | $20 | $5.00 |
Frequently Asked Questions
What is the tick value of MNQ?
$0.50. MNQ moves in 0.25 pts increments with a point value of $2, so each tick is worth $0.50 per contract. MES is $1.25 per tick, NQ is $5.00, and ES is $12.50.
How do I get dollar value per tick in Pine Script?
Multiply
syminfo.mintick by syminfo.pointvalue. On MNQ that's 0.25 × 2 = $0.50; on ES it's 0.25 × 50 = $12.50. Because both values come straight from the symbol, the same code returns the correct number on any futures contract without hardcoding anything.What is syminfo.pointvalue?
The dollar value of one full point of movement for one contract — 2 on MNQ, 5 on MES, 20 on NQ, 50 on ES. Paired with syminfo.mintick, the symbol's smallest price increment, it produces tick value — the number stop distances and P&L math actually need.