OPEN-SOURCE SCRIPT
Honest Trade Planner

Honest Trade Planner
On-chart position sizer & risk/reward planner. Place entry, stop, target — it sizes the trade so a single loss can't exceed your risk budget. Decision-support, not signals.
Honest Trader Toolkit — decision-support, not prediction. No signals, no forecasts, no win-rate claims. Just a correct read of what's actually on your chart.
The Honest Trade Planner turns a trade idea into a correctly sized order. You place your **entry**, **stop**, and (optionally) **target** on the chart; it shows you exactly how big to trade and precisely what you're risking — with the cross-asset math done right.
**What it does**
• Sizes a single trade from your **account size × risk %** and your **entry-to-stop distance**.
• Correct across **stocks, crypto, index, futures, and forex** — futures use the contract point value; forex reports both units and standard lots.
• Shows the full picture: **Risk $, Reward $, R:R ratio, position notional, and % of account** both risked and deployed.
• Optional **ATR-assisted stop** with an explicit Long/Short bias, so the distance math is never ambiguous.
• Draws a **risk zone** and a **reward zone** on the chart, plus a clean dashboard table.
**Honest by design**
• Position size is always rounded **DOWN** to your instrument's step — so your planned loss never sneaks past your risk budget. It will never round up to make a number look nicer.
• Money figures are shown in the symbol's **quote currency** (Pine can't read your broker, so account size is a manual input — convert if your account currency differs).
• On unsupported instruments or missing contract data it says **"verify contract specs"** rather than display a confidently wrong number.
• Bad inputs (zero account, entry = stop, target on the wrong side) **suppress** the nonsense output and tell you why. A low R:R is shown as information, never as a command to act.
**This tool does not predict anything and gives no buy or sell signals.** Every number is yours to act on or ignore — it only informs the decision you're already making.
**How to use**
1. Add it to any chart. You'll be prompted to click **Entry**, then **Stop** (both are draggable afterward). Set a **Target** in settings, or drag it, to get R:R.
2. Open settings → enter your **account size** and pick a **risk %** (0.25 / 0.5 / 1 / 2% or custom).
3. For fractional instruments (crypto, fractional shares) set the **Quantity step** (e.g. 0.001).
4. Read the dashboard. Drag entry/stop/target to plan different scenarios live.
**Limitations (so you know exactly what you're getting)**
• Pine cannot connect to your broker — account size and levels are manual inputs.
• Figures are in the symbol's quote currency.
• This is a planning and sizing tool, not financial advice. Always verify contract specifications for your instrument and broker before trading.
Open-source — read every line of the math yourself. Feedback welcome in the comments.
On-chart position sizer & risk/reward planner. Place entry, stop, target — it sizes the trade so a single loss can't exceed your risk budget. Decision-support, not signals.
Honest Trader Toolkit — decision-support, not prediction. No signals, no forecasts, no win-rate claims. Just a correct read of what's actually on your chart.
The Honest Trade Planner turns a trade idea into a correctly sized order. You place your **entry**, **stop**, and (optionally) **target** on the chart; it shows you exactly how big to trade and precisely what you're risking — with the cross-asset math done right.
**What it does**
• Sizes a single trade from your **account size × risk %** and your **entry-to-stop distance**.
• Correct across **stocks, crypto, index, futures, and forex** — futures use the contract point value; forex reports both units and standard lots.
• Shows the full picture: **Risk $, Reward $, R:R ratio, position notional, and % of account** both risked and deployed.
• Optional **ATR-assisted stop** with an explicit Long/Short bias, so the distance math is never ambiguous.
• Draws a **risk zone** and a **reward zone** on the chart, plus a clean dashboard table.
**Honest by design**
• Position size is always rounded **DOWN** to your instrument's step — so your planned loss never sneaks past your risk budget. It will never round up to make a number look nicer.
• Money figures are shown in the symbol's **quote currency** (Pine can't read your broker, so account size is a manual input — convert if your account currency differs).
• On unsupported instruments or missing contract data it says **"verify contract specs"** rather than display a confidently wrong number.
• Bad inputs (zero account, entry = stop, target on the wrong side) **suppress** the nonsense output and tell you why. A low R:R is shown as information, never as a command to act.
**This tool does not predict anything and gives no buy or sell signals.** Every number is yours to act on or ignore — it only informs the decision you're already making.
**How to use**
1. Add it to any chart. You'll be prompted to click **Entry**, then **Stop** (both are draggable afterward). Set a **Target** in settings, or drag it, to get R:R.
2. Open settings → enter your **account size** and pick a **risk %** (0.25 / 0.5 / 1 / 2% or custom).
3. For fractional instruments (crypto, fractional shares) set the **Quantity step** (e.g. 0.001).
4. Read the dashboard. Drag entry/stop/target to plan different scenarios live.
**Limitations (so you know exactly what you're getting)**
• Pine cannot connect to your broker — account size and levels are manual inputs.
• Figures are in the symbol's quote currency.
• This is a planning and sizing tool, not financial advice. Always verify contract specifications for your instrument and broker before trading.
Open-source — read every line of the math yourself. Feedback welcome in the comments.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。