OPEN-SOURCE SCRIPT
The Position Sizer (FinPip)

The Position Sizer (FinPip) indicator is a crucial, all-in-one risk management tool designed to calculate the precise trade size required to limit your risk to a predetermined percentage of your total account capital.
This indicator helps you consistently execute sound risk management, regardless of the instrument's volatility or the trade's price levels.
Key Features:
Calculates Position Size: Based on your configurable Account Capital, desired Risk Percentage (default 2.5%), and the price distance between your Entry and Stop-Loss levels.
Visual Trade Planning: Plots three clear levels directly on the chart for easy visualization:
Entry Price (Blue)
Stop-Loss Price (SL) (Red)
Profit Target (Lime Green, calculated using the Reward:Risk Ratio).
Custom Risk Management: Easily adjust the Risk Percentage and the Reward:Risk Ratio (default 4.0) in the indicator's settings.
Heads-Up Display (HUD): A clean, fixed table in the bottom-left corner of the chart clearly displays all calculated metrics, including your Required Position Size (in units/shares/contracts), Risk Amount, and Potential Profit.
How to Use:
Enter your Account Capital and desired Risk % in the settings panel.
Set your desired Entry Price and Stop-Loss Price.
The indicator immediately calculates and displays the exact number of units you need to trade to maintain your risk limit.
This indicator helps you consistently execute sound risk management, regardless of the instrument's volatility or the trade's price levels.
Key Features:
Calculates Position Size: Based on your configurable Account Capital, desired Risk Percentage (default 2.5%), and the price distance between your Entry and Stop-Loss levels.
Visual Trade Planning: Plots three clear levels directly on the chart for easy visualization:
Entry Price (Blue)
Stop-Loss Price (SL) (Red)
Profit Target (Lime Green, calculated using the Reward:Risk Ratio).
Custom Risk Management: Easily adjust the Risk Percentage and the Reward:Risk Ratio (default 4.0) in the indicator's settings.
Heads-Up Display (HUD): A clean, fixed table in the bottom-left corner of the chart clearly displays all calculated metrics, including your Required Position Size (in units/shares/contracts), Risk Amount, and Potential Profit.
How to Use:
Enter your Account Capital and desired Risk % in the settings panel.
Set your desired Entry Price and Stop-Loss Price.
The indicator immediately calculates and displays the exact number of units you need to trade to maintain your risk limit.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
この情報および投稿は、TradingViewが提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。