OPEN-SOURCE SCRIPT
已更新 Position Sizing Calculator_V1

Added a Table Text Size setting so you can control how big the text appears in the on-chart table.
New input: Table Text Size with options Tiny / Small / Normal / Large / Huge
New input: Table Text Size with options Tiny / Small / Normal / Large / Huge
版本注释
Add an Option to choose the Currency USD/INR版本注释
Updated for Account Split (Number of Positions)版本注释
-Single Currency (USD/INR) setting used for both Account Size input and Position Size display-Risk + position sizing calculations now run directly in the selected currency
-All inputs grouped at the top for easier configuration
版本注释
-Added two separate checkboxes: Show Slot Capital and Show Risk Capital-Slot Capital row displays Account Size / Number of Positions (per-position allocation)
-Risk Capital row displays the calculated risk amount based on the selected Risk Basis and Risk %
-Table auto-adjusts row count based on which rows (Slot/Risk/TP) are enabled
-Improved visibility and flexibility without changing core sizing calculations
-More Table Position Options
版本注释
-Add Stoploss based on EMA版本注释
-Auto Earnings Mode (earnings-only): automatically reduces risk/position size on earnings (and optional N bars after).-Earnings marker controls: show/hide marker, choose above/below bar, customize marker text.
-Minimum Stop Distance (%): blocks sizing if the stop is too tight.
-Stop Distance (%) display: optional table row showing the computed stop distance used for sizing.
-Dynamic table height: table auto-sizes its row count so bottom anchors don’t float.
-Timeframe-anchored entry basis: sizing now uses ATR TF close or EMA TF close (positional consistency).
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。