![[Abaco-Ind] Trading Costs - Fees, Spread, Cost vs ATR Stop](/v1/packages/abacolab/abaco-ind-trading-costs-fees-spread-cost-vs-atr/artwork/image?size=thumb&v=6b8f4117-1d6a-4337-b93f-538f9cf3d948)
[Abaco-Ind] Trading Costs - Fees, Spread, Cost vs ATR Stop
What a trade's round trip costs against your stop: the venue's taker fee plus an estimated spread, for 5m, 15m, 1h, 4h and the chart.
No README in this version.
Indicator
Outputs
| Output | Plot | Panel | Style |
|---|
cost_pct_chart | data only | overlay | default |
round_trip_bps | data only | overlay | default |
spread_bps | data only | overlay | default |
fee_bps | data only | overlay | default |
tab_pos | data only | | default |
lad_r5 | data only | | default |
lad_r15 | data only | | default |
lad_r60 | data only | | default |
lad_r240 | data only | | default |
lad_rc | data only | | default |
Handles
Drawings the Indicator creates, moves and removes across bars. A kind listed here is enabled and every new one starts with this look.
| Kind | Panel | Look |
|---|
box | overlay | fill #e07c4e, opacity 0.2, border #e07c4e, border width 1 |
label | overlay | color #e07c4e, size 11 |
Params
| Name | Default | Min | Max |
|---|
venue | 1 | | |
atr_len | 14 | 1 | 14 |
stop_atr | 1 | 0.25 | 20 |
table_position | 0 | | |
show_box | 1 | 0 | 1 |
chart_interval_sec | 0 | | |
market_kind | 0 | | |
Inputs
| Input | Source | Selection |
|---|
close | ohlcv | field close |
days | candles | interval DAY |
open | ohlcv | field open |
high | ohlcv | field high |
low | ohlcv | field low |
volume | ohlcv | field volume |
bar_t | time | field bar_open_sec |
Provenance
| ABI | wrun-3 |
|---|
| Source | Runs on OpenMarket's servers; not downloadable |
|---|
| Version | Published | Note |
|---|
| 1.0.1 | Nov 24, 2026 | The round trip words sit apart from the cost box. |
| 1.0.0 | Nov 23, 2026 | First stable release. |
| 0.1.0 | Nov 23, 2026 | |