βοΈPosition Calculator
Welcome to the EZ Algo Premium Position Calculator, your all-in-one risk management and trade planning tool built directly into TradingView. This guide will walk you through every feature so you can start sizing positions like a pro.
Getting Started
After adding the Position Calculator to your TradingView chart, you'll see two things:
Price level lines drawn directly on your chart (entry, stop loss, take profits, liquidation, etc.)
A dashboard table summarizing your trade setup, risk, and profit targets
All configuration is done through the indicator's Settings panel (click the gear icon next to the indicator name).

Risk Profiles
The first thing you'll want to configure is your Risk Profile. This determines how aggressively you trade.
Conservative
1%
10x
2%
Moderate
2%
25x
1%
Aggressive
5%
50x
0.5%
Custom
You decide
You decide
You decide
How to choose:
Conservative β Best for beginners or those prioritizing capital preservation. Lower risk per trade and limited leverage keeps you in the game longer.
Moderate β A balanced approach for experienced traders who are comfortable managing risk.
Aggressive β For advanced traders with high conviction setups. Higher risk and leverage means bigger potential gains and losses.
Custom β Full control over every parameter. Choose this if none of the presets match your strategy.
π‘ Tip: If you're unsure, start with Conservative or Moderate and adjust as you gain confidence.
Risk Management Settings
Found under the Risk Management group in settings.
Account Size
Enter your total trading account balance. This is used to calculate your position size and dollar risk.
Risk Per Entry
This controls how much of your account you're willing to lose on a single trade.
Toggle between $ (fixed dollar amount) or % (percentage of account)
Example: With a $10,000 account and 2% risk, you're risking $200 per trade
Leverage Settings
Manual Leverage β Set a fixed leverage value when Auto Leverage is off
Use Auto Leverage β When enabled, the calculator automatically determines the optimal leverage based on your entry and stop loss distance. This is the recommended setting for most traders.
Max Leverage β The ceiling for Auto Leverage. Even in auto mode, leverage will never exceed this value.
The dashboard displays (A) next to leverage when Auto mode is active, or (M) for Manual.
Drawdown Protection
An optional safety net for your portfolio:
Enable Drawdown Protection β Turns on portfolio-level risk monitoring
Max Portfolio Drawdown % β Set your maximum acceptable drawdown (e.g., 20%)
Current Drawdown % β Input your current portfolio drawdown
When enabled, the calculator will warn you if taking this trade would push your total drawdown beyond your limit.

Setting Up Price Points
This is where you define the specifics of your trade.
Entry Price
Click the Primary Entry price input and either type a value or use TradingView's interactive price selector to place it directly on the chart.
Stop Loss
Set your stop loss price β the level where you'll exit if the trade goes against you. The calculator will automatically compute your dollar loss and show it on the dashboard.
Liquidation Price
The liquidation level is calculated automatically based on your leverage and liquidation buffer. You'll see it displayed on the chart as a purple line and in the dashboard.
Liquidation Buffer % β Adds a safety margin between your stop loss and liquidation price. A higher buffer means your liquidation is further from your stop loss, reducing the chance of unexpected liquidation.
Take Profit Levels (TP1βTP4)
You can set up to 4 take profit levels, each with:
Enable/Disable toggle β Show or hide each TP level
Price β The target price for that take profit
Position % β What percentage of your position to close at this level
The calculator automatically computes:
Dollar profit at each level
Risk-to-Reward (R:R) ratio for each target
Example Setup:
TP1
$27,400
40%
Secure early profits
TP2
$28,000
30%
Capture the move
TP3
$28,800
20%
Let winners run
TP4
$29,800
10%
Moon bag π
β οΈ Note: The calculator will flag a warning if any take profit has a Risk-to-Reward ratio below 1:1, meaning you'd be risking more than you stand to gain.

DCA (Dollar Cost Averaging)
When Use Basic DCA is enabled:
Set your DCA Price β the level where you'd add to your position
The calculator will display:
Your DCA entry line on the chart
Your Average Entry price (shown as a dashed line)
All position sizing and profit calculations automatically adjust to use the averaged entry
π‘ DCA is disabled when Multiple Entry Positions is active, as that feature provides more advanced scaling functionality.
Multiple Entry Positions (Advanced)
For traders who scale into positions at different price levels.
How to Set Up
Enable Multiple Entry Positions in the Advanced Entry settings
Configure up to 3 entry points, each with:
Price β Where you want to enter
Weight % β How much of your total position to allocate at this level
How Weights Work
Weights are automatically normalized to equal 100%. So if you set:
Entry 1: 50%
Entry 2: 30%
Entry 3: 20%
That's exactly what you'll get. But if you set 60/40/40, the calculator normalizes to ~43/29/29.
What You'll See
Individual entry lines on the chart with their weight percentages
A weighted average entry line (dashed) β this is the effective entry used for all calculations
The dashboard breaks down each entry point and shows the average
Trailing Stop Loss
Found under Enhanced Exit settings. When enabled:
How It Works
Activation Level β The trailing stop only activates after your trade reaches a specified R:R ratio. For example, if set to 1.5, the trailing stop kicks in once your unrealized profit equals 1.5x your risk.
Trailing Distance % β Once active, the stop loss trails behind the current price by this percentage.
What You'll See on the Chart
Trail Activation line (orange) β Shows where the trailing stop begins
Trailing SL line β Shows the current trailing stop level
π‘ The trailing stop will never move below your original entry price once activated, protecting your breakeven.
Last updated