OPEN-SOURCE SCRIPT

Lot Size Calculator(Mastersinnifty)

57
Description
This indicator provides a real-time lot size and share quantity calculator directly on your chart. It helps traders quickly determine position sizing based on available capital, unit price, and lot size—without the need for external tools.

How It Works
The script calculates:
  • The number of lots you can trade based on your capital, unit price, and specified lot size.
  • The equivalent number of shares that can be bought for the given amount.
  • Displays the result in a clean on-chart table that can be repositioned.


Inputs
  • Amount – Total capital available for trade (in currency units).
  • Price per unit – Entry price per single share or contract.
  • Lot Size – Number of units per lot.
  • Table Position – Selectable location on the chart for the display table (Top Right, Top Left, Bottom Right, Bottom Left, Middle).


Use Case
Ideal for intraday and positional traders who want to:
  • Avoid manual calculations while placing trades.
  • Quickly adjust position size based on price fluctuations.
  • Ensure consistent risk management practices.


Disclaimer
This is a utility tool intended to assist with trade size calculation. It does not provide buy/sell signals or investment advice. Always validate results and consult your risk management strategy before placing trades.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.