Average Entry Price and Fee-Adjusted Break-Even WorkbenchOverview
Average Entry Price and Fee-Adjusted Break-Even Workbench is an open-source position cost-basis and break-even research indicator. It reconstructs a manually entered position's average entry price, weighted average cost and DCA cost basis, then calculates a cost-adjusted and fee-adjusted break-even level after configurable trading fees, spread or slippage, fixed costs and funding adjustments.
The script supports Long and Short positions, a known average price or up to eight individual fills, scale-in research and position-management scenarios.
It does not predict market direction, generate trade recommendations, read broker positions, access Trading Panel account data or place orders.
Why average entry and break-even are different
A position's average entry price is not always the price at which its estimated net result becomes zero.
Entry fees, exit fees, spread, slippage, fixed order costs and funding adjustments can move the effective break-even away from the weighted average entry.
The script separates three values that are often treated as one:
- Weighted average entry price
- Cost impact between the average entry and break-even
- Current price distance from the calculated break-even
Long and Short positions use separate equations. Percentage exit fees are solved algebraically instead of being approximated by adding a percentage directly to the average entry price.
Before a break-even result is displayed, the calculated level is reinserted into the normalized net P&L equation. The script checks the remaining residual and suppresses the result when the calculation health check does not pass.
Position input methods
The script provides two manual position-input methods.
Known average
Enter:
- Average entry price
- Remaining position quantity
- Long or Short side
This mode is suitable when the broker or another record already provides the current average entry price.
Individual fills
Enter up to eight fill prices and quantities.
The weighted average is calculated as:
Average entry price =
Sum of (fill price x fill quantity) / Sum of fill quantity
The selected number of fills determines which rows are used.
Optional dated fills can activate each fill from its specified time. When dated fills are enabled, the historical development of the weighted average can also be displayed.
Fill validation can either:
- Require all selected rows to contain valid price and quantity values
- Use only the valid rows and report how many selected fills were used
Cost-adjusted break-even
The break-even calculation can include:
- Entry fee as a percentage of entry notional
- Exit fee as a percentage of estimated exit notional
- Exit friction in ticks
- Exit friction in price units
- Fixed entry cost per order
- Fixed exit cost
- Carry or funding adjustment
- Other cash cost or credit
Exit friction can be used to represent a configurable spread or slippage assumption.
Positive fee and cash values represent costs.
Negative percentage fees, carry values or other adjustments can represent rebates or credits where applicable.
The normalized calculation concept is:
Long break-even =
Exit friction
+ (((1 + entry fee rate) x average entry price) + cash cost per unit)
/ (1 - exit fee rate)
Short break-even =
(((1 - entry fee rate) x average entry price) - cash cost per unit)
/ (1 + exit fee rate)
- exit friction
The displayed Long break-even is rounded upward to the symbol's minimum tick.
The displayed Short break-even is rounded downward to the symbol's minimum tick.
Internal calculations retain the unrounded value.
Price Only and Full Cash models
The script separates price-based calculations from cash-converted calculations.
Price Only
Percentage fees and price friction can be calculated without a point value when no fixed cash adjustments are included.
This allows the average entry, break-even, Cost Delta and current-price distance to remain available even when a reliable point value is not available.
Full Cash
Fixed cash costs, realized P&L adjustments and estimated cash P&L require a valid point value.
The script uses the symbol's point value when available. A Point Value Override can be entered when the automatic value does not match the broker, exchange or contract specification being researched.
If cash costs are entered without a valid point value, the script does not silently ignore them. It displays a Point Value Needed state instead.
Chart display
The default Overview layout provides a compact summary of:
- AVG: weighted average entry price
- COST Delta: directional difference between average entry and break-even
- BE: cost-adjusted break-even price
- VS BE: directional distance between current price and break-even
The main chart visuals use:
- A cyan solid line for the weighted average entry price
- An orange dashed line for the cost-adjusted break-even
- A shaded Cost Gap between the average and break-even
- Optional fill markers
- An optional historical weighted-average path
- A compact Position Panel
A positive VS BE value means price is on the favorable side of the calculated break-even for the selected Long or Short position.
A negative VS BE value means price is on the unfavorable side.
This is an arithmetic position-status display. It is not a trading signal.
Position Panel
The Position Panel summarizes the position without requiring the user to inspect every setting.
Depending on the selected panel mode, it can display:
- Input method
- Long or Short side
- Weighted average entry
- Cost Delta
- Cost-adjusted break-even
- Current price distance from break-even
- Price Only or Full Cash model status
- Estimated net cash P&L
- Campaign Recovery break-even
- Next Fill preview
- Target Calculation result
- Fill concentration
- Weighted fill-price dispersion
- Effective fill count
- Calculation residual
The default Bottom Left position includes transparent clearance intended to reduce overlap with TradingView's bottom-left platform mark.
The panel can be set to:
- Off
- Compact
- Overview
- Detailed
Label layout and collision handling
Label placement can be set to:
- Auto
- Split
- Combined
- Right edge
- Off
Auto mode separates the AVG and BE labels when practical.
When the two levels are visually close, Auto mode combines AVG, BE and the cost difference into one label to reduce chart congestion.
The visual-separation model uses:
- The symbol's minimum tick
- ATR
- A recent high-low range
- The configured line span
These values act as price-space proxies for how close labels may appear.
Pine Script cannot read browser zoom, display DPI or exact on-screen pixel coordinates. The collision system therefore reduces likely overlap without claiming pixel-perfect detection.
Campaign and Next Fill labels yield to the primary AVG and BE labels when their levels are too close. Their values remain available in the Detailed panel.
The Current vs BE chart note is optional and disabled by default to keep the chart clean.
Scenario research
Campaign Recovery
Campaign Recovery calculates a separate break-even using manually entered realized P&L from previous partial exits.
A positive realized P&L value reduces the remaining recovery requirement.
A negative realized P&L value increases the remaining recovery requirement.
The result is an arithmetic recovery level based on the entered values. It is not a recovery guarantee.
Next Fill
Next Fill previews:
- New total quantity
- New weighted average entry price
- New cost-adjusted break-even after a proposed additional fill
This is a scenario calculation only. It is not a recommendation to add to a position.
Target Calculation
Target Calculation determines the arithmetic quantity required to reach either:
- A target average entry price
- A target fee-adjusted break-even price
The result is checked by reinserting the calculated quantity into the target calculation.
The resulting quantity is not a recommended, optimal or safe position size.
Adding to a position increases exposure and can magnify losses.
Fill statistics
When Individual Fills is used, the Detailed panel can display:
- Largest fill share
- Weighted fill-price dispersion
- Effective fill count
These statistics help users inspect whether the cost basis is concentrated in one large fill or distributed across several fills.
Alerts
The script provides factual alert conditions for:
- Price crossing the average entry
- Price crossing the cost-adjusted break-even
- Price entering the Cost Gap
- Price exiting the Cost Gap
- Price crossing the optional Campaign Recovery break-even
- Price crossing the optional Next Fill preview break-even
Alerts are evaluated on confirmed bars.
Alert conditions require:
- A valid position
- A healthy break-even calculation
- A standard chart
- A stable calculated level
Alerts are disabled on non-standard charts.
Users must create the desired alerts separately through TradingView's alert dialog.
Realtime and historical behavior
The script does not use future data, lookahead or higher-timeframe data requests.
Live Price mode allows the Position Panel to update during an open realtime bar.
Confirmed Close mode uses the most recent confirmed close while the current realtime bar remains unfinished.
Alerts remain confirmed-bar events regardless of the selected panel price mode.
Changing an input causes the chart history to be recalculated using the new settings.
When dated fills are enabled, each fill becomes active from its manually specified time.
Non-standard charts
Heikin Ashi, Renko, Kagi, Line Break and Point & Figure prices can be synthetic.
User-entered average and break-even levels remain arithmetic levels, but the chart close may not represent an executable market price.
For this reason:
- Current-price calculations are restricted by default
- A synthetic-chart warning remains visible
- Alerts are disabled on non-standard charts
Languages
On-chart text can be selected manually in:
- English
- Japanese
- Spanish
- Portuguese (Brazil)
- German
- French
- Simplified Chinese
- Traditional Chinese
- Korean
- Turkish
- Russian
- Indonesian
English can optionally be displayed alongside the selected language.
Pine Script does not automatically read the TradingView interface language. The display language must be selected manually in the indicator settings.
Settings use stable field identifiers such as:
- P for position settings
- C for cost settings
- F for individual fills
- R for research tools
- D for display settings
- A for advanced settings
An optional localized setup guide maps the main field identifiers to the selected on-chart language.
Main interface terms
AVG = Weighted average entry price
COST Delta = Cost impact between average entry and break-even
BE = Cost-adjusted break-even price
VS BE = Current price distance from break-even
ABOVE BE = Current price is above break-even
BELOW BE = Current price is below break-even
NEAR BE = Current price is within the configured near-break-even tolerance
FULL CASH = A point value is available for cash-converted calculations
PRICE ONLY = Price calculations are available without cash conversion
POINT VALUE NEEDED = A valid point value is required for the entered cash adjustments
Basic use
1. Select Known Average or Individual Fills.
2. Select Long or Short.
3. Enter the average price and remaining quantity, or enter the selected fill prices and quantities.
4. Enter the applicable entry fee, exit fee and exit friction.
5. Enable Detailed Cash Costs only when fixed cash, funding or other cash adjustments are required.
6. Enter a Point Value Override when the automatic symbol value does not match the relevant contract specification.
7. Select the preferred layout, panel position, language, contrast and label configuration.
8. Create any required confirmed-bar alerts through TradingView's alert dialog.
Limitations
- All position information is entered manually.
- The script does not read an actual broker position.
- The script does not read Trading Panel account data.
- The script does not place, modify or close orders.
- Partial exits are not detected automatically.
- Position flips are not detected automatically.
- Remaining quantity must be updated manually.
- Realized P&L must be updated manually.
- Taxes are not calculated.
- Actual trading fees can differ by broker or exchange.
- Actual spread and slippage can differ from the entered assumptions.
- Funding and carry costs can vary over time.
- Currency conversion is not calculated automatically.
- Point value can differ by broker, exchange and contract specification.
- Cash P&L estimates depend on the accuracy of the selected point value.
- Live Price values can change while a realtime bar is open.
- Non-standard chart prices may not represent executable market prices.
- Alerts are disabled on non-standard charts.
- Results depend entirely on the accuracy of the user's inputs.
- The script is an arithmetic visualization and research tool.
- It is not financial advice or a trade recommendation.
日本語概要
このインジケーターは、手動入力したポジションの数量加重平均取得単価と、手数料、スプレッド、スリッページ、固定費、資金調達費などを反映した費用調整後の損益分岐価格を表示するオープンソースの研究ツールです。
主な機能:
- 既知の平均取得単価、または最大8件の個別約定から計算
- ロング・ショート双方に対応
- 平均取得単価、コスト差、損益分岐価格、現在価格との差を表示
- Campaign Recovery、Next Fill、Target Calculation
- 約定集中度、加重分散、実効約定件数
- 確定足による事実通知アラート
- 12言語のオンチャート表示
ポジション情報はすべて手動入力です。ブローカーのポジションやTrading Panelの口座情報を読み取らず、注文も送信しません。
表示結果は入力した価格、数量、手数料、ポイント価値などの正確性に依存します。本スクリプトは算術可視化・研究用であり、金融助言や売買推奨ではありません。 Indicador

Position Architect [JOAT]Position Architect
Position Architect is an auto-triggered trade-plan visualizer. It consumes a signal source (any plot of another indicator, or a fallback SMA-cross), arms a trade with ATR-scaled stop loss and three risk-reward-scaled targets, and tracks the trade live with breakeven slide, R-multiple lines, MFE / MAE tracking, multi-currency PnL, position sizing, required margin, Kelly sizing suggestion, and a trade-history strip.
What makes it different
Most trade-planner indicators are manual: the user clicks entry, stop, and target. Position Architect is auto-triggered via input.source, so it plans trades from external signal feeds (other JOAT indicators or any compatible script).
Four trigger modes: Manual toggle, Source-above-SMA, Source-cross-above-SMA, Source-cross-below-SMA. These cover bias, breakout, and counter-trend logics.
A three-target ladder (not just one or two) with intermediate R-multiple lines (0.5R, 1R, 1.5R, 2R, 2.5R, 3R) drawn between entry and Target 3 so you see partial-take levels at a glance.
Live R-multiple, MFE, MAE displayed next to the trade in real time. After the trade closes, those values are baked into a persistent history label.
Kelly sizing suggestion based on an assumed win rate and the current risk-reward, capped at 25% to avoid pathological recommendations.
How it works
The signal source is the user-selected input.source. The trigger rule (one of four modes) determines when a long or short is armed.
On arm: entry equals the current close. SL equals low minus ATR(14) times slMult for longs (or symmetric for shorts). Three targets at entry plus or minus risk times tp1Mult / tp2Mult / tp3Mult.
Lifecycle gates on bar_index greater than tradeBar so the arm bar itself cannot also register hits (preventing spurious instant fills).
Each subsequent bar: check for TP1, TP2, TP3 hits in order, plus stop-loss. TP3 takes precedence over SL on same-bar pierces. If TP1 hits and breakeven is enabled, the stop slides to entry.
Position sizing: pos_size equals (capital times riskPct / 100) divided by (sl_pct / 100). Required margin equals pos_size divided by leverage.
Kelly suggestion: f-star equals winRate minus (1 minus winRate) divided by RR, clamped to 25% max.
Reading the chart
Five horizontal price lines: entry (blue), SL (red), TP1 / TP2 / TP3 (green shades), each width 3 to 5.
Five price-only labels at the right edge with R-multiples and percentages.
Two linefills: a translucent red risk zone between entry and SL, a translucent green reward zone between entry and TP3.
bgcolor tint while a trade is open.
A 1-bar bgcolor pulse on TP / SL / breakeven events.
A live R+0.8 MFE+1.5 MAE-0.3 label updating each bar near current price.
Bars-in-trade counter near the entry.
Trade-history strip above past entries with W/L outcomes and R-multiples.
R-multiple intermediate lines with right-edge labels.
A daily trade count plus win-rate summary.
A comprehensive dashboard with capital, risk, leverage, R:R, Kelly, position size, required margin, direction, entry, current price, live PnL, status (OPEN / WIN / LOSS), bars in trade.
Signals
Trade activated long / short
Target 1 / 2 / 3 hit
Stop loss hit
Breakeven slid
All gated on barstate.isconfirmed or barstate.ishistory. No future references.
Inputs
Signal : signal source, trigger mode, signal SMA length, manual long / short toggles.
Targets : SL ATR multiplier, TP1 / TP2 / TP3 risk multipliers, breakeven toggle, line extension bars.
Capital : capital amount, risk percent, leverage, currency code.
Kelly : assumed win rate.
Visual : bullish / bearish colors, entry line color, SL line color, TP line color, R-multiple lines toggle, history strip toggle.
Dashboard : position, size.
How traders use this
Discretionary planning : switch to Manual mode and toggle manualLong / manualShort to drop a complete plan at the current price, with ATR-aware stops and risk-aware sizing.
Signal integration : connect Position Architect's signal source to another JOAT indicator's plot output (for example the composite of Iridescent Helix or the Stage-3 line of Sentinel Cascade) and let it auto-arm trades.
Risk audit : the dashboard's R:R, position size, required margin, and Kelly suggestion are an instant pre-trade audit. You can compare across instruments.
Performance review : the trade-history strip lets you scroll back through recent trades on the chart and see R-multiples without needing a separate journal.
Limitations
Kelly sizing assumes a stable win-rate-and-R distribution. Real performance varies. The suggestion is a calibration reference, not a recommendation.
Position sizing is in price units. For futures or forex contracts the user must convert to contract count manually.
The signal source must be a series compatible with input.source. If the connected indicator does not expose a useful plot, the trigger logic falls back to close.
Trade lifecycle assumes one open position at a time. No pyramiding inside this script.
Compatibility
Pine Script v6 open-source indicator (overlay). Any symbol, any timeframe. ASCII currency codes (no Unicode glyphs) for cross-platform display. No request.security calls.
Defaults
SL ATR multiplier 1.5, targets at 1R / 2R / 3.5R, breakeven on after TP1, mint / red palette, ten-thousand-dollar capital with one percent risk and one times leverage, top-right medium dashboard.
Indicador

NORN WEAVE | URUZ Overview
NORN WEAVE ᚢ URUZ is the second version of NORN WEAVE ᚠ FEHU. The core logic — EMA slope, Dow Theory swing structure, ADX trend confirmation — is unchanged. What changed is the settings.
FEHU had too many parameters to configure manually. URUZ reduces that friction in three ways.
Focus Level replaces the raw EMA period with a single knob. Set the swing detection period, and the EMA scales automatically. One number instead of two.
Auto Calibration computes the ADX threshold, ATR factor, and Stop Loss directly from the chart's volatility data. When enabled, you don't need to touch those values at all.
Break Even Stop now has a single parameter: how far price must move before the stop activates. The stop is always placed at entry price — no buffer to configure, no edge cases.
The philosophy hasn't changed. Survival first, profit second.
Entry Conditions
- Long: EMA rising AND Dow Theory trend up AND ADX above threshold AND Footprint Delta bullish (if filter enabled)
- Short: EMA falling AND Dow Theory trend down AND ADX above threshold AND Footprint Delta bearish (if filter enabled)
Exit Conditions
- TP1 — ATR × Factor × 1 → closes 30% of position
- TP2 — ATR × Factor × 2 → closes another 30%
- TP3 — ATR × Factor × 3 → closes a further 30%
- Stop Loss — fixed % from entry → closes full position
- Break Even Stop — once floating profit reaches the BE trigger %, stop moves to entry price and closes on pullback
- Trend Reversal — when Dow Theory swing flips → closes full position
Focus Level & Auto Calibration
Focus Level is the primary control knob. It sets the swing detection period, and the EMA period is derived automatically (Focus Level × EMA Scale Ratio, default ×5). Adjust Focus Level first when applying to a new symbol or timeframe — everything else follows.
Auto Calibration computes three values from the chart's own data:
- ADX Threshold — 50th percentile of ADX over 300 bars. The strategy only enters when the current ADX exceeds its own historical median, filtering weak trends automatically.
- ATR Factor — shifts based on current volatility vs. the 200-bar average. High volatility → tighter targets. Low volatility → wider targets.
- Stop Loss — 50-bar smoothed ATR × 3.5, clamped between -5% and -20%.
When Auto Calibration is off, the Manual Tune group values are used instead.
Break Even Stop
Once price moves the BE Trigger % from entry, the stop is placed exactly at the entry price. The position closes if price returns to break-even. One parameter to set — how far price must travel before the stop activates. The stop position is always entry.
Footprint Delta Filter (Premium plan required)
Uses BTC or ETH footprint delta (buy volume − sell volume) as a directional confirmation filter. Blocks entries when order flow contradicts the trade direction. Meaningful reduction in false signals during ranging and choppy markets.
Parameters
- Focus Level (default 13) — Main knob. Controls swing detection and EMA scaling. Adjust first when changing asset or timeframe.
- EMA Scale Ratio (default 5) — EMA length = Focus Level × this value. Default gives EMA 65.
- Auto Calibration (default ON) — Computes ADX threshold, ATR factor, and SL from chart data automatically.
- BE Trigger % (default 5.5%) — How far price must move from entry before the BE stop activates. Recommended: 50–70% of |SL|.
- ATR Factor — active when Auto Calibration is OFF. Controls TP distance. Default 3.8.
- Stop Loss % — active when Auto Calibration is OFF. Default -10.0%.
- ADX Threshold — active when Auto Calibration is OFF. Default 20.5.
- Footprint SMA Period (default 21) — Smoothing period for delta signal.
Recommended Settings
- Meme coins (DOGE, SHIB): Focus 10–15, Auto Calibration ON, BE trigger 6–10%
- Major assets (BTC, ETH): Focus 13–18, Auto Calibration ON, BE trigger 4–7%
- Mid-cap alts (SOL, SUI, ADA): Focus 12–16, Auto Calibration ON, BE trigger 5–8%
For timeframe selection, ADX threshold 15–20 suits 1–5 min charts, 18–23 for 15 min–1H, and 20–25 for 2–4H charts. Default settings are optimized for the 2H timeframe.
Visual Guide
- EMA line — 3-layer glow effect. Teal when rising, red when falling.
- Dow Theory zones — gradient fill from the current swing level to the current price.
- TP lines — semi-transparent. TP1 faintest, TP3 most visible.
- BE Stop line — gold, appears only when the break even stop is active.
- Gray background — ADX below threshold. No entries occur in this zone.
- Orange background — Footprint Delta Filter is blocking entry.
- Orange warning bar — Auto Calibration is OFF. Manual mode is in effect.
- Status table — real-time display of all conditions, current parameter values, and mode. Japanese/English toggle included.
概要
NORN WEAVE ᚢ URUZ は、NORN WEAVE ᚠ FEHU の第2バージョンです。エントリーのコアロジック——EMAの傾き・ダウ理論のスイング構造・ADXトレンド確認——は変わっていません。変わったのは設定です。
FEHUは手動で調整するパラメーターが多すぎました。URUZはその煩わしさを3つの形で減らしています。
フォーカスレベル は、EMA期間という直感的でない数値を一本のノブに置き換えます。スイング検出期間を設定するだけで、EMAが自動的にスケールします。2つの数値が1つになりました。
オートキャリブレーション をONにすると、ADXしきい値・ATR倍率・ストップロスがチャートのボラティリティデータから自動算出されます。有効にしていれば、これらの値に触れる必要はありません。
ブレークイーブンストップ の設定項目は一つになりました——「何%動いたら発動するか」だけです。ストップ位置は常に建値(エントリー価格)で固定。バッファーの設定も、落とし穴もありません。
哲学は変わっていません。 まず生き残る、利益はその次。
エントリー条件
- ロング: EMA上向き AND ダウ理論上昇トレンド AND ADXしきい値以上 AND フットプリントデルタ買い優勢(フィルター有効時)
- ショート: EMA下向き AND ダウ理論下降トレンド AND ADXしきい値以上 AND フットプリントデルタ売り優勢(フィルター有効時)
イグジット条件
- TP1 — ATR×倍率×1 → ポジションの30%を決済
- TP2 — ATR×倍率×2 → さらに30%を決済
- TP3 — ATR×倍率×3 → さらに30%を決済
- ストップロス — エントリーから設定%に達したらポジションを全決済
- ブレークイーブンストップ — 含み益がBE発動しきい値%に達したら、ストップが建値に移動。価格が戻ったら全決済
- トレンド反転 — ダウ理論のスイングが逆転した時点でポジションを全決済
フォーカスレベルとオートキャリブレーション
フォーカスレベル は主軸の操作ノブです。スイング検出期間を設定し、EMA期間はフォーカスレベル×EMAスケール倍率(デフォルト×5)で自動決定されます。新しい銘柄・時間足に適用するときは、まずここを調整してください。
オートキャリブレーション はチャート自身のATR履歴を読み取り、3つの値をリアルタイムで算出します。
- ADXしきい値 — 過去300本のADXの50パーセンタイル(中央値)から算出。現在のADXが過去の中央値を超えているときのみエントリー。
- ATR倍率 — 現在のボラティリティを200本平均と比較して動的に変化。高ボラ時はTPを短く、低ボラ時はTPを長く。
- ストップロス — 50本平滑ATR×3.5で算出し、-5%〜-20%の範囲にクランプ。
オートキャリブレーションをOFFにすると、マニュアルチューングループの値が使われます。
ブレークイーブンストップ
エントリーからBE発動しきい値%以上動いたら、ストップがエントリー価格(建値)に設定されます。価格が建値まで戻った時点でポジションが決済されます。設定項目は一つ——「何%動いたら発動するか」だけ。ストップ位置は常に建値です。
フットプリント・デルタフィルター (Premiumプラン以上が必要)
BTCまたはETHのフットプリント・デルタ(買い出来高から売り出来高を引いた値)を方向性確認フィルターとして使用します。オーダーフローがトレードの方向と逆行しているときはエントリーをブロックします。横ばい・荒れた相場でのだましシグナルを大幅に削減します。
パラメーター
- フォーカスレベル(デフォルト13)— 主軸ノブ。銘柄・時間足変更時はここを最初に調整。
- EMAスケール倍率(デフォルト5)— EMA期間 = フォーカスレベル × この値。デフォルトでEMA65。
- オートキャリブレーション(デフォルトON)— ADXしきい値・ATR倍率・SLをチャートデータから自動算出。
- BE発動しきい値%(デフォルト5.5%)— エントリーからこの%動いたらBEストップが発動。推奨:|SL|の50〜70%。
- ATR倍率(手動)— オートキャリブレーションOFF時に有効。デフォルト3.8。
- 損切り%(手動)— オートキャリブレーションOFF時に有効。デフォルト-10.0%。
- ADXしきい値(手動)— オートキャリブレーションOFF時に有効。デフォルト20.5。
- フットプリントSMA期間(デフォルト21)— デルタシグナルの平滑化期間。
銘柄タイプ別おすすめ設定
- ミーム系(DOGE・SHIB): フォーカス10〜15、オートキャリブレーションON、BE発動6〜10%
- 主要銘柄(BTC・ETH): フォーカス13〜18、オートキャリブレーションON、BE発動4〜7%
- 中堅アルト(SOL・SUI・ADA): フォーカス12〜16、オートキャリブレーションON、BE発動5〜8%
時間足については、1〜5分足ではADXしきい値15〜20、15分〜1時間足では18〜23、2〜4時間足では20〜25を推奨します。デフォルト設定はADA 2時間足向けに最適化されています。
チャートの見方
- EMAライン — 3層グロー効果。上向きはティール、下向きはレッド。
- ダウ理論ゾーン — 現在のスイングレベルから現在価格へのグラデーション。
- TPライン — 半透明。TP1が最も薄く、TP3が最も濃い。
- BEストップライン — ゴールド。BEストップが発動している間のみ表示。
- グレー背景 — ADXがしきい値以下。このゾーンではエントリーが発生しない。
- オレンジ背景 — フットプリント・デルタフィルターがエントリーをブロック中。
- オレンジ警告 — オートキャリブレーションがOFF。手動モードが有効。
- ステータステーブル — 全エントリー条件・現在のパラメーター値・モードをリアルタイム表示。日本語・英語切り替え対応。
Estrategia

Breakeven Review Planner [AGPro Series]Breakeven Review Planner
🧠 Core Idea
Has the move progressed enough to review breakeven protection, or is the context still too early, weak, or exposed?
📌 Overview / What it does
Breakeven Review Planner is a trade-management overlay designed to evaluate post-activation move progress. Instead of asking users to manually draw a full entry, stop, and take-profit plan, the script detects a qualified directional move, anchors an activation reference, builds a structural invalidation shelf, and measures live R progress from that context.
The output is a clean breakeven review workflow: a BE review zone, activation reference, invalidation shelf, current R reading, trend-support state, pullback-risk state, event labels, alerts, and a premium AGPro panel.
It does not predict price direction, place trades, calculate position size, build a take-profit ladder, or tell users to move a stop. Alerts and labels are attention markers for review context only.
🎯 Purpose & Design Philosophy
This script was built for traders who already manage active moves and need a cleaner way to evaluate whether the move has earned a breakeven review.
The gap it fills is not pre-trade risk/reward planning. AGPro already has tools for that. This script focuses on the management phase after a move is active: progress, structure, trend support, and pullback risk.
The design supports a disciplined review mindset. It helps users read whether the chart has built enough progress to deserve attention without turning that review into an automated instruction.
⚡ Why This Script Is Different
Most risk/reward tools focus on manual entry, stop-loss, targets, position sizing, and breakeven probability.
This script does NOT build a full trade plan, does NOT create TP ladders, and does NOT tell users to move a stop.
Instead, it watches the live chart for a qualified management context, scores the move's progress toward a breakeven review threshold, and keeps the user focused on whether the current structure is strong, weak, stale, or invalidated.
⚙️ Methodology
1. Context Detection
The script detects directional activation when price escapes recent structure with enough ATR-normalized impulse, candle commitment, close-location quality, and trend support.
2. Reference Mapping
After activation, the script anchors an activation reference and builds an invalidation shelf from the latest confirmed swing plus an ATR buffer.
3. Reaction Evaluation
The engine measures current R, best favorable R, trend support, candle quality, volatility fit, and pullback depth after progress.
4. Visual Output
The chart displays the BE review zone, progress fill, context lines, event labels, candle tint, alerts, and the AGPro panel.
🗺️ How to Read the Chart
Zones = the BE review area around the configured R trigger. It is a review zone, not a command.
Labels = context markers such as armed context, progress milestones, BE review, pullback watch, stale context, and invalidation.
Colors = teal for bullish-supported context, pink for bearish or invalid context, amber for caution, and indigo for breakeven review focus.
Panel = the current decision cockpit. It shows Review Score, Current R, BE Trigger, Progress State, Trend Support, and Action.
🚦 Signals & States
• Bull Context Armed → a bullish management context was activated after structure escape.
• Bear Context Armed → a bearish management context was activated after structure escape.
• BE Review Active → current progress reached the configured R threshold for breakeven review.
• Review + Pullback → price reached review progress but has pulled back enough to require closer attention.
• Stale → the context spent too many bars without enough progress.
• Invalidated → price reached the structural invalidation shelf.
🔔 Alerts Logic
Alerts trigger when a new management context activates, the BE review zone is reached, the review quality is high, pullback risk increases after review progress, the invalidation shelf is reached, or the context becomes stale.
Alerts are attention markers. They are not trading instructions, broker actions, or automated stop-management commands.
🧩 Confluence Logic
The strongest review context appears when R progress, trend support, candle close quality, controlled pullback depth, and normal volatility fit align.
When these conditions align, the Review Score rises and the panel state becomes easier to interpret.
📊 When to Use
• Active directional moves after structure expansion
• Trend continuation environments
• Breakout follow-through review
• Trade-management review after favorable progress
• Charts where users want R-style context without a full manual RR planner
⚠️ When NOT to Use
• Very low-liquidity symbols
• Extremely noisy ranges
• News shock candles with distorted ATR behavior
• Non-standard chart types that alter candle structure
• Situations where the user needs exact broker-level stop management
🎛️ Key Inputs
• Sensitivity → changes how quickly or strictly the script activates a management context.
• Structure Lookback → controls the recent structure boundary used for activation.
• BE Review Trigger (R) → sets the R threshold for review-zone activation.
• Invalidation Shelf Buffer ATR → controls how much ATR padding is added beyond the latest swing.
• Pullback Warning Depth (R) → controls when post-review pullback risk is marked.
• Visual settings → control labels, zones, progress fill, line extension, candle tint, and object limits.
• Panel settings → control panel visibility, location, theme, and font size.
🖥️ Interface & Visual Design
The panel follows the AGPro public-release standard with one merged blue header row containing only the script name.
The chart is designed to stay active but not crowded. It uses a single review zone, clean context lines, a subtle progress fill, and capped event labels.
Label and panel font sizes are adjustable, with Normal as the default.
🧪 Practical Usage Workflow
1. Read the panel Review Score and Progress State.
2. Check whether price is below, inside, or beyond the BE review zone.
3. Compare Current R with best favorable R to understand whether progress is expanding or pulling back.
4. Confirm whether trend support is still aligned.
5. Treat alerts as review prompts, not as automated trade actions.
🔍 Interpretation Guidelines
A high score means the move has progressed toward the review zone with stronger internal structure according to the script's rules.
A low score means the move is early, weak, stale, pulling back, or structurally invalidated.
The most useful interpretation comes from reading score, state, trend support, and invalidation together instead of relying on a single label.
🚫 What This Script Is NOT
• Not a prediction engine
• Not financial advice
• Not auto trading
• Not guaranteed signals
• Not a position sizing calculator
• Not a manual risk/reward visualizer
• Not a take-profit planner
⚠️ Limitations & Transparency
The activation model is rule-based and depends on recent structure, ATR, candle behavior, and trend filters.
Different timeframes can produce different activation references and invalidation shelves.
Fast volatility expansion can make R progress move quickly, while low volatility can keep contexts stale.
No rule-based tool can know a user's actual broker order, risk tolerance, or execution plan.
🧠 Market Context Notes
Breakeven review is most useful when progress, structure, and volatility are read together.
A move can reach a review zone while still having weak trend support or heavy pullback risk.
The script is designed to keep those differences visible.
🧾 Use Case Examples
When price breaks recent structure, trend support is aligned, and current R approaches the BE review threshold, the panel may shift from Building to Approaching Review.
When current R reaches the configured BE trigger and the score is strong, the script marks the review zone and can trigger a high-quality review alert.
When best favorable R was strong but current R pulls back by the configured amount, the script marks Pullback Watch instead of treating the move as automatically healthy.
🧱 System Philosophy
The AGPro approach is to turn chart information into structured decision context.
This script follows that philosophy by converting move progress into a clean review framework: activation, invalidation, R progress, trend support, pullback risk, and next review state.
🔐 Non-Promise Statement
This script does not provide certainty.
It does not guarantee that a breakeven review will improve trade outcome.
It only organizes the conditions that may make breakeven review context more visible.
📉 Risk Disclosure
Trading involves risk.
Users are responsible for their own analysis, execution, risk management, and decisions.
This script is for educational and analytical purposes only and does not provide financial advice.
📚 Educational Note
Use the tool to study how active moves progress, stall, pull back, or invalidate around a structured management threshold.
Indicador

Risk Reward Visualizer [AGPro Series]Risk Reward Visualizer
🔹 Overview
Risk Reward Visualizer is a professional trade-planning indicator that transforms every setup into a clean visual framework: entry, stop-loss, and up to three take-profit targets displayed as long rectangular R-multiple zones. Beyond basic visualization, it adds three features rarely found together in one tool — a breakeven probability calculator, live MFE/MAE excursion tracking, and an automatic trail-to-breakeven workflow.
The indicator is built for traders who think in R-multiples: swing traders, prop-firm candidates, day traders, and anyone who wants to answer the question "does this setup actually make mathematical sense?" before committing capital.
🔹 What Makes It Different
Most risk/reward scripts stop at drawing levels and a position-size table. This one goes further:
• Breakeven Probability Math — For every R target, the panel displays the minimum win rate required to break even, adjusted for round-trip fees. A 3R target needs only 25% wins; a 1R target needs 50%. Seeing this side-by-side reframes how you evaluate setups.
• Live MFE / MAE Tracking — Maximum Favorable Excursion and Maximum Adverse Excursion are tracked in real time from the moment the setup becomes valid. Labels mark the exact bar of each peak in R-multiples, with leader lines connecting the label to the wick, so you can grade trade quality after the fact.
• Trail-to-Breakeven Visualization — When TP1 is hit, the original stop fades and a new breakeven line is drawn at entry, making the risk management discipline visible on the chart.
• Hybrid Auto-Detect — Leave Entry and Stop at zero and the script fills them using the current close and the most recent swing pivot plus an ATR buffer. Provide one manually and the other auto-completes. Everything can be overridden.
🔹 Methodology
Levels are calculated from the standard R-multiple framework:
• Risk per unit = |Entry − Stop|
• Take-profit N = Entry ± (N × Risk per unit), signed by trade direction
• Breakeven win rate = (1 + fees_R) / (1 + R target)
Direction is auto-inferred from the relationship between Entry and Stop (Long when Stop is below Entry, Short otherwise), and can be forced. Auto-detect uses a pivot lookback to locate the most recent swing high or low, then offsets the stop by a user-defined ATR multiple to reduce wick-out risk.
MFE and MAE reset whenever Entry or Stop changes, so editing inputs restarts tracking cleanly. Hit detection uses bar high or low against each level and fires alerts only on the rising edge of each event.
🔹 Visuals & Signals
• Risk zone rendered as a pink rectangle between Entry and Stop
• TP1, TP2 and TP3 zones rendered as stacked teal rectangles with graded opacity
• Entry line in indigo, stop in pink, take-profits in teal
• Labels anchor to the right edge of the zone so they never hide candles
• MFE label on the favorable excursion peak, MAE on the adverse peak, each offset 1.5 ATR with a dotted leader line
• Alerts: TP1 hit, TP2 hit, TP3 hit, Stop Loss hit, Breakeven reached
🔹 Key Inputs
• Setup Mode — Manual, Auto-Detect, or Hybrid
• Trade Side — Auto, Long, or Short
• Entry and Stop — leave at zero to auto-detect
• Swing Lookback and ATR Buffer — for auto-detected stops
• TP1, TP2, TP3 multipliers with individual show/hide toggles
• Trail Stop to Breakeven After TP1 — toggle
• Round-Trip Fees (%) — folded into breakeven math
• Enable Position Size Calculator — optional; account size and risk percentage
• Panel location, panel font size, label font size, zone length, zone transparency
🔹 How To Use
Step 1 — Add the script to any symbol and timeframe. By default, Hybrid mode uses the current close as entry and the most recent swing plus an ATR buffer as stop.
Step 2 — Override Entry or Stop with your planned levels if you have a specific setup in mind.
Step 3 — Check the Breakeven Analysis section of the panel. Confirm the minimum win rate required for your chosen R target is realistic for your strategy.
Step 4 — Set alerts for the targets you want to be notified on. If Trail-to-Breakeven is enabled, you will also receive a notification when TP1 hits so you can move your stop in your broker.
Step 5 — After the trade, review MFE and MAE to grade execution. Did price reach favorable excursion that you missed? Did it dip deep into risk before resolving?
🔹 Limitations & Transparency
• This is a planning and visualization tool. It does not place orders and does not produce buy or sell signals.
• The breakeven calculation treats fees as a percentage of entry price converted into R-units. It is a useful approximation, not a tax or slippage model.
• Auto-detected stops depend on recent swing structure. On very low-liquidity symbols or during strong trends without pullbacks, recent swings may be stale. Verify visually before using.
• MFE and MAE tracking uses bar high or low and resets when inputs change.
• Position sizing assumes a linear contract value and does not account for margin, leverage, or instrument-specific tick rules. Always cross-check with your broker.
🔹 Risk Disclosure
Trading carries risk of loss. This indicator is provided for educational and analytical purposes only and is not financial advice. Past behavior of any tool does not guarantee future performance. Use proper position sizing and never risk more than you can afford to lose. Indicador

NORN WEAVE | FEHUOverview
NORN WEAVE ᚠ FEHU is a trend-following strategy built around one philosophy: survival first, profit second.
The core logic is three filters in sequence — EMA slope, Dow Theory swing structure, and ADX trend confirmation. All three must align before an entry is taken. If the market is ranging, the strategy stands aside.
What defines NORN WEAVE is how it protects what it earns. The Break Even Stop automatically moves the stop to entry price once floating profit reaches a threshold. The Footprint Delta Filter adds a second layer, blocking entries when BTC or ETH order flow contradicts the trade direction. Fewer trades. Fewer unnecessary losses. A drawdown profile that stays flat even across five years of volatile crypto markets.
This is not a strategy designed to make you rich overnight. It is designed to keep you in the game.
Performance Highlights (DOGE / 2H / 2021–2026)
Backtested on DOGE 2H from January 2021 to March 2026, with 0.055% commission included. Net profit +25.4%, max drawdown 1.71%, win rate 70.7%, profit factor 1.80, total trades 557.
Always backtest on your target asset before live trading.
Entry Conditions
Long: EMA rising AND Dow Theory trend up AND ADX above threshold.
Short: EMA falling AND Dow Theory trend down AND ADX above threshold.
Exit Conditions
TP1 triggers at ATR × Factor × 1, closing 30% of the position. TP2 at × 2, closing another 30%. TP3 at × 3, closing a further 30%. The Stop Loss closes the full position at a fixed percentage from entry. The Break Even Stop automatically triggers once floating profit reaches the BE threshold, closing the full position at entry price. A Trend Reversal — when Dow Theory swing flips — also closes the full position.
Footprint Delta Filter (Premium plan required)
Uses BTC or ETH footprint delta (buy volume − sell volume) as a directional confirmation filter. Blocks entries when order flow contradicts the trade direction. Meaningful reduction in false signals during ranging markets.
Parameters
EMA Period defaults to 58, recommended range 30–100. Use shorter values for high-volatility assets, longer for stable ones.
ATR Factor defaults to 3.8, recommended range 2.5–6.0. Controls TP distance — higher means wider targets.
Stop Loss defaults to -5.0%, recommended range -4 to -10%. Wider for volatile assets, tighter for BTC/ETH.
ADX Threshold defaults to 20.5, recommended range 15–28. Higher values produce fewer but cleaner trades.
Swing Length defaults to 13, recommended range 2–20. Larger values reduce sensitivity to minor swings.
BE Trigger defaults to 9.0%, recommended range 3–15%. Set below TP1 distance to protect profits before TP1 is reached.
Footprint Delta SMA defaults to 21, recommended range 1–50. Controls smoothing of the delta signal.
Recommended Settings
For meme coins such as DOGE and SHIB: EMA 44–58, ATR 3.5–5.0, stop loss -5 to -8%, ADX 18–22, BE trigger 7–10%.
For major assets such as BTC and ETH: EMA 55–80, ATR 2.5–4.0, stop loss -4 to -6%, ADX 20–25, BE trigger 5–8%.
For mid-cap alts such as SOL and SUI: EMA 35–55, ATR 4.0–5.5, stop loss -5 to -7%, ADX 18–23, BE trigger 6–10%.
For timeframe selection, an ADX threshold of 15–20 suits 1–5 minute charts. 18–23 suits 15 minutes to 1 hour. 20–25 suits 2–4 hour charts. Default settings are optimized for the 2H timeframe.
Visual Guide
The EMA line uses a 3-layer glow effect — teal when rising, red when falling. Dow Theory zones show a gradient from the current swing level to the current price. TP lines are semi-transparent, with TP1 the faintest and TP3 the most visible. The BE Stop line appears in gold only when the break even stop is active. A gray background indicates ADX is below the threshold — the strategy does not enter trades in this zone. An orange background means the Footprint Delta Filter is blocking entry. The status table shows all entry conditions and current state in real time, with a Japanese/English toggle.
概要
NORN WEAVE ᚠ FEHU は、「まず生き残る、利益はその次」 という一つの哲学から作られたトレンドフォロー型ストラテジーです。
エントリー条件はシンプルな3つのフィルターで構成されています——EMAの傾き、ダウ理論のスイング構造、ADXトレンドフィルター。この3つが同時に揃ったときだけエントリーします。レンジ相場と判断されたときは、何もせずに待ちます。
NORN WEAVEを特徴づけているのは、稼いだ利益をどう守るかという設計です。ブレークイーブンストップは、含み益が一定の閾値に達した瞬間に損切りラインをエントリー価格へ自動移動します。フットプリント・デルタフィルターはBTCまたはETHのオーダーフローを確認し、トレードの方向と逆行している場合はエントリーをブロックします。結果としてトレード数は絞られ、不要な損失が減り、ドローダウンが5年間の荒れた暗号資産市場でも極めて小さく抑えられています。
一夜にして資産を増やすストラテジーではありません。長くゲームに居続けるためのストラテジーです。
バックテスト結果
DOGEの2時間足、2021年1月から2026年3月まで、手数料0.055%を含む条件でバックテストを実施しています。総損益は+25.4%、最大ドローダウンは1.71%、勝率は70.7%、プロフィットファクターは1.80、トレード総数は557件です。
実運用の前に必ずご自身の対象銘柄でバックテストを行ってください。
エントリー条件
ロングエントリーはEMAが上向き、ダウ理論トレンドが上昇、ADXがしきい値以上の3条件が揃ったときに発動します。ショートエントリーはEMAが下向き、ダウ理論トレンドが下降、ADXがしきい値以上の3条件が揃ったときに発動します。
イグジット条件
TP1はエントリーからATR×倍率×1の地点でポジションの30%を決済します。TP2は×2の地点でさらに30%、TP3は×3の地点でさらに30%を決済します。損切りは設定した%を超えた時点でポジションを全決済します。ブレークイーブンストップは含み益がしきい値%に達した瞬間に自動発動し、エントリー価格でポジションを全決済します。ダウ理論のスイングが逆転したトレンド反転時も、ポジションを全決済します。
フットプリント・デルタフィルター(Premiumプラン以上が必要)
BTCまたはETHのフットプリント・デルタ(買い出来高から売り出来高を引いた値)を方向性確認フィルターとして使用します。オーダーフローがトレードの方向と逆行しているときはエントリーをブロックします。横ばい相場でのだましシグナルを大幅に削減します。
パラメーター
EMA期間のデフォルトは58で、推奨範囲は30〜100です。ボラティリティが高い銘柄は短め、安定した銘柄は長めに設定します。
ATR倍率のデフォルトは3.8で、推奨範囲は2.5〜6.0です。TP距離の基準となる値で、大きいほど利確ラインが遠くなります。
損切りのデフォルトは-5.0%で、推奨範囲は-4〜-10%です。ボラティリティが高い銘柄は広め、BTC・ETHなどはタイトに設定します。
ADXしきい値のデフォルトは20.5で、推奨範囲は15〜28です。高いほどトレード数が減り、精度が上がります。
スイング検出期間のデフォルトは13で、推奨範囲は2〜20です。大きいほど小さなスイングに反応しにくくなります。
BE発動しきい値のデフォルトは9.0%で、推奨範囲は3〜15%です。TP1到達距離より低めに設定することで、TP1到達前に元本を保護できます。
フットプリントSMA期間のデフォルトは21で、推奨範囲は1〜50です。デルタシグナルの平滑化期間です。
銘柄タイプ別おすすめ設定
ミーム系銘柄(DOGE・SHIBなど)ではEMAを44〜58、ATR倍率を3.5〜5.0、損切りを-5〜-8%、ADXしきい値を18〜22、BEトリガーを7〜10%に設定することを推奨します。
主要銘柄(BTC・ETH)ではEMAを55〜80、ATR倍率を2.5〜4.0、損切りを-4〜-6%、ADXしきい値を20〜25、BEトリガーを5〜8%に設定することを推奨します。
中堅アルト(SOL・SUIなど)ではEMAを35〜55、ATR倍率を4.0〜5.5、損切りを-5〜-7%、ADXしきい値を18〜23、BEトリガーを6〜10%に設定することを推奨します。
時間足については、1〜5分足ではADXしきい値を15〜20、15分〜1時間足では18〜23、2〜4時間足では20〜25に設定することを推奨します。デフォルト設定はDOGEの2時間足向けに最適化されています。
チャートの見方
EMAラインは3層のグロー効果で描画されます。上向きのときはティール、下向きのときはレッドで表示されます。ダウ理論ゾーンは現在のスイングレベルから現在価格へ向かうグラデーションで表示されます。TPラインは半透明で、TP1が最も薄く、TP3が最も濃く表示されます。BEストップラインはブレークイーブンストップが発動している間のみゴールドのラインで表示されます。グレーの背景はADXがしきい値以下の横ばいゾーンを示しており、このゾーンではエントリーは発生しません。オレンジの背景はフットプリント・デルタフィルターがエントリーをブロックしていることを示します。ステータステーブルは全エントリー条件と現在の状態をリアルタイムで表示し、日本語・英語の切り替えに対応しています。
デフォルト設定はDOGEの2時間足向けに最適化されています。実運用の前に必ずご自身の対象銘柄・時間足でバックテストを行ってください。過去の結果は将来の利益を保証するものではありません。
NORN WEAVEは今後も継続的にアップデートされます。ただし、コアコンセプト——生き残ること——は変わりません。
Estrategia

Average Price Calculator / VisualizerDCA Average Price Calculator - Visualize Your Breakeven & TP!
Ever wished you could visualize your trades and instantly see your average entry price right here on TradingView? Especially if you're a DCA (Dollar-Cost Averaging) trader like me, tracking multiple entries can be a hassle. You're constantly switching to a spreadsheet or calculator to figure out your breakeven and take-profit levels. Well I've developed this DCA Average Price Calculator to solve exactly that problem, bringing all your position planning directly onto your chart.
What It Does
This indicator is a interactive tool designed to calculate the weighted average price of up to 10 separate trade entries. It then plots your crucial breakeven (average price) and a customizable take-profit target directly on your chart, giving you a clear visual of your position.
Key Features
Up to 10 Order Entries: Plan complex DCA strategies with support for up to ten individual buys.
Flexible Size Input: Enter your position size in either USD Amount or Number of Shares/Contracts. The script is smart enough to know which one you're using.
Instant Average Price Calculation: Your weighted average price (your breakeven point) is calculated and plotted in real-time as a clean yellow line.
Customizable Take-Profit Target: Set your desired profit percentage and see your take-profit level instantly plotted as a green line.
Detailed On-Chart Labels: Each order you plot is marked with a detailed label showing the entry price, the number of shares purchased, and the total USD value of that entry.
Clean & Uncluttered UI: The main Average and TP labels are intelligently shifted to the right, ensuring they don't overlap with your entry markers, keeping your chart readable.
How to Use It - Simple Steps
Add the indicator to your chart.
Open the script's 'Settings' menu.
In the 'Take Profit' section, set your desired profit percentage (e.g., 1 for 1%).
Under the 'Orders' section, begin filling in your entries. For each 'Order #', enter the Price.
Next, enter the size. You can either fill in the 'Size (USD)' box OR the '/ Shares' box. Leave the one you're not using at 0.
As you add orders, the 'Avg' (yellow) and 'TP' (green) lines, along with the blue order labels, will automatically appear and adjust on your chart!
Who Is This For?
DCA Traders: This is the ultimate tool for you!
Position Traders: Keep track of scaling into a larger position over time.
Manual Backtesters: Quickly simulate and visualize how a series of buys would have played out.
Any Trader who wants a quick and easy way to calculate their average entry without leaving TradingView.
I built this tool to improve my own trading workflow, and I hope it helps you as much as it has helped me. If you find it useful, please consider giving it a 'Like' and feel free to leave any feedback or suggestions in the comments!
Happy trading Indicador

SPX IB Intraday Real TimeThis indicator was designed for traders doing Iron Butterflies intradays with the SPX.
Draw and assemble the picture of an IB with the call and put wings chosen according to the selected configuration. Additionally, it shows both breakevens according to the credit obtained.
The indicator shows the distance, in real time, between the current price of the SPX and the breakevens (calls and puts) that have been selected. This result is shown in percentages and points. In the upper right corner (for calls) and lower right (for puts). The label will change color as the price moves closer or further away from the breakevens.
Setting:
Open Time (Hour): IB opening time.
Open Time (Minute): IB opening minutes.
Open Price: Strike to which the center or body of the IB was opened.
Auto Price Open: If enabled, it will take the strike at the price closest to the SPX.
Wings Width: width of the IB wings.
Credit: Refers to the credit obtained according to the IB that was opened.
Shows Breakeven: Shows breakeven points at expiration based on credit earned.
Add SMAs: Adds the SMAs 8, 20 and 50 to the chart.
Note 1: It is recommended to use TradingView's Dark Theme Color.
Note 2: this indicator will only work in intraday times of less than 30 minutes (1m,2m,5m,10m,15m,30m) and will only show results while the market is open, that is, in real time.
************************************
Spanish Version:
Este indicador fue diseñado para los traders que hacen intradías de Iron Butterflies con el SPX.
Dibuja y arma el cuadro de un IB con las alas call y puts elegidas de acuerdo a la configuración seleccionada. Además, muestra ambos breakevens según el crédito obtenido.
El indicador muestra la distancia, en tiempo real, entre el actual precio del SPX y los breakevens (calls y puts) que se hayan seleccionado. Este resultado se muestra en porcentajes y en puntos. En la esquina superior derecha (para los calls) e inferior derecha (para los puts). El label cambiará de color a medida que el precio se acerque o aleje de los breakevens.
Configuración:
Open Time (Hour): Hora de apertura del IB.
Open Time (Minute): Minutos de apertura del IB.
Open Price: Strike al que se abrió el centro o cuerpo del IB.
Auto Price Open: Si se encuentra habilitado tomará el strike al precio más cercano al SPX.
Wings Width: ancho de las alas del IB.
Credit: Se refiere al crédito obtenido según el IB que se abrió.
Shows Breakeven: Muestra los puntos de breakeven en la expiración según el crédito obtenido.
Add SMAs: Agrega al cuadro las SMA 8, 20 y 50.
Nota 1: se recomienda usar el Dark Theme Color de TradingView.
Nota 2: este indicador solo funcionará en temporalidades intradías menores a 30 minutos (1m,2m,5m,10m,15m,30m) y solo mostrará resultados mientras el mercado esté abierto, o sea en tiempo real.
Indicador

Risk to Reward - FIXED SL BacktesterDon't know how to code? No problem! TradingView is an excellent platform for you. ✅ ✅
If you have an indicator that you want to backtest using a risk-to-reward ratio or fixed take profit/stop loss levels, then the Risk to Reward - FIXED SL Backtester script is the perfect solution for you.
introducing Risk to Reward - FIXED SL Backtester Script which will allow you to test any indicator / Signal with RR or Fixed SL system
How does it work ?!
Once you connect the script to your indicator, it will analyze your entry points and perform calculations based on them. It will then open trades for you according to the specified inputs in the script settings.
HOW TO CONNECT IT to your indicator?
simply open your indicator code and add the below line of code to it
plot(Signal ? 100 : 0,"Signal",display = display.data_window)
Replace Signal with the long condition from your own indicator. You can also modify the value 100 to any number you prefer. After that, open the settings.
Once the script is connected to your indicator, you can choose from two options:
Risk To Reward Ratio System
Fixed TP/ SL System
🔸if you select the Risk to Reward System ⤵️
The Risk-to-Reward System requires the calculation of a stop loss. That's why I have included three different types of stop-loss calculations for you to choose from:
ATR Based SL
Pivot Low SL
VWAP Based SL
Your stop loss and take profit levels will be automatically calculated based on the selected stop loss method and your risk-to-reward ratio.
You can also adjust their values to match your desired risk level. The trades will be displayed on the chart.
with the ability to change their values to match your risk.
once this is done, trades will be displayed on the chart
🔸if you select the Fixed system ⤵️
You have 2 inputs, which are FIXED TP & Fixed SL
input the values you want, and trades will be on your chart...
I have also added a Breakeven feature for you.
with this Breakeven feature the trade will not just move SL to Entry ?! NO NO, it will place it above entry by a % you input yourself, so you always win! 🚀
Here is an example
Enjoy, and have fun, if you have any questions do not hesitate to ask
Estrategia

Estrategia

Indicador

Estrategia

Indicador

Indicador
