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.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.