From 6e93ab9a2fce110cec0be34039b6de4a45fb02e3 Mon Sep 17 00:00:00 2001 From: wvr Date: Sun, 22 Nov 2026 02:42:56 -0600 Subject: [PATCH] y --- pine/bracket_morning_panel.pine | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pine/bracket_morning_panel.pine b/pine/bracket_morning_panel.pine index f1bcad2..9c96bd2 100644 --- a/pine/bracket_morning_panel.pine +++ b/pine/bracket_morning_panel.pine @@ -24,7 +24,7 @@ // Prior cash close = the last regular session's close: the 3:59 candle, or the 1:14 pm candle after an // early-close day (e.g. the day after Thanksgiving). Holiday sessions that halt at 1:00 pm don't count. // Sizing: contracts = round(stop $ / ($ per point x 0.20 x daily ATR(14))), min 1, max 4; -// stop pts = (stop $ - $20 x contracts) / (contracts x $ per point); target pts = (target $ + commission x contracts) / (contracts x $ per point). +// stop pts = (stop $ - allowance x contracts) / (contracts x $ per point), allowance $0 by default (stop at the floor); target pts = (target $ + commission x contracts) / (contracts x $ per point). // Small contracts when the stop $ is under 75% of one full contract's risk at the ATR stop distance: // MGC / MCL / MNQ (1/10 size, max 40); nat gas uses QG (E-mini, 1/4 size, tick 0.005, max 16) because Lucid has no micro NG. // Then $3 allowance per small contract and its own commission. @@ -63,8 +63,8 @@ targetUsd = input.float(3000, "Target $", step = 50, group = grpS, display = dis atrFrac = input.float(0.20, "Stop as share of daily ATR", step = 0.01, group = grpS, display = display.none) maxC = input.int(4, "Max contracts (full-size)", minval = 1, group = grpS, display = display.none) nqFull = input.bool(true, "NQ: always full contracts (no MNQ)", group = grpS, tooltip = "Fleet test 2016-26: always at least 1 NQ beat the micro switch by about $0.4-0.8k a year, and it is simpler to enter. Other markets keep the micro switch.", display = display.none) -costUsd = input.float(20, "Stop: cost allowance per contract, round trip ($)", step = 1, group = grpS, tooltip = "Commission plus slippage. Taken off the stop, which can slip.", display = display.none) -costUsdM = input.float(3, "Stop: cost allowance per micro, round trip ($)", step = 0.5, group = grpS, display = display.none) +costUsd = input.float(0, "Stop: cost allowance per contract ($)", step = 1, group = grpS, tooltip = "0 = stop exactly at the floor (default). With the stop at all the room, a stop-out ends the account either way, so leaving a few dollars of room protects nothing and only makes stop-outs more likely. Fleet test 2016-26: $0 beat $20 by about $10-15k a year. Use 20 only for a stop that is NOT all the room.", display = display.none) +costUsdM = input.float(0, "Stop: cost allowance per micro ($)", step = 0.5, group = grpS, tooltip = "0 = stop exactly at the floor (default); see above.", display = display.none) grpE = "Evaluation endgame (one account at a time)" needUsd = input.float(0, "Still needed to pass ($), 0 = off", step = 50, minval = 0, group = grpE, tooltip = "For an evaluation close to its target. $500 or less: stop = what's needed (1:1), sized in micros. More than $500: target = what's needed, stop = Stop $ above (all the room). Set back to 0 afterwards.", display = display.none) endThr = input.float(500, "Use a 1:1 stop when needed is at most ($)", step = 50, group = grpE, display = display.none) @@ -396,7 +396,7 @@ if barstate.islast table.cell(t, 9, 4, pts(nqTp), text_color = color.new(color.lime, 40)) endTxt = not endOn ? "" : needUsd <= endThr ? "ENDGAME: needs " + usd(needUsd) + " -> 1:1 stop (" + usd(needUsd) + "). Set back to 0 for other accounts. " : "ENDGAME: needs " + usd(needUsd) + " -> target " + usd(needUsd) + ", stop all the room. Set back to 0 for other accounts. " - note = endTxt + "USD amounts include costs (stop: slippage + commission; target: commission): type as shown. Yellow = micros. Per-account sizes: tracker. Skip holidays and early closes." + note = endTxt + "Stop = exactly the room (no cost allowance; a stop-out ends the account either way). Target includes commission. Type as shown. Yellow = micros. Per-account sizes: tracker. Skip holidays and early closes." table.cell(t, 0, 5, note, text_color = color.new(color.white, 30), text_size = size.small) table.merge_cells(t, 0, 5, 9, 5)