PROTECTED SOURCE SCRIPT

Position size Margin & Lot Calculator [Algo Star]

572
Position Size Margin & Lot Calculator [Algo Star] is a lightweight Pine v5 indicator that helps you scale into a trade with five incremental “steps.”

What it does:

Takes your total capital and leverage settings

Splits your risk into five proportioned entries

Shows both the USD margin required and the corresponding MT4/MT5 lot size for each entry

Why you’ll love it:

No manual calculations—everything is displayed in a neat on-chart table

Fully configurable: set your account size, leverage, contract size and price source

Ideal for pyramiding or averaging in with controlled risk at each step

Just add it to any chart, tweak your inputs, and immediately see exactly how much margin and how many lots to allocate at each of the five pre-defined steps—perfect for systematic position sizing without the headache.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.