PROTECTED SOURCE SCRIPT

Lot Size Calculator by MohammadReza

63
Overview:
Size your position from your risk in USD and the two lines you place on the chart (Entry & Stop). The script measures that price distance, draws Risk/Reward boxes, and shows a compact table with Risk, Entry, Stop, Target (from R/R), Lots, and Pips—so you instantly know what lot size to use.

How to use:

1. Add the indicator to an XAU chart.
2. Set “Risk $” in Inputs.
3. Place/adjust the Entry and Stop lines on the chart.
4. Read “Lots” in the table and trade with consistent sizing.

Inputs:

* Risk $ (your dollar risk per trade)
* Entry Price and Stop Loss (can be adjusted on chart)
* R/R (auto-calculates Target)
* Appearance options for risk/reward boxes, table position/colors, and layout

Notes:

* Gold-only display (XAU).
* Table rows can be toggled (Risk, Entry, Stop, Target, Lots, Pips).
* Fully customizable colors and widths.
* Educational tool; verify contract specs with your broker.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。