Three execution models with different information
Record the observation time, order-submission deadline and fill assumption separately. In a daily historical chart, seeing a closing price does not establish that the price was available early enough to submit an order for that auction. The following distinctions apply to both entries and exits.
- TradingView documents next-tick fills by default. With calculation at bar close, a daily market order normally fills at the next daily open. The chart feed and session definition determine what that open represents.
- Setting process_orders_on_close to true permits same-tick simulated fills. TradingView warns that alerts sent after a closed session may only lead to real execution when the market opens again.
- A Pine strategy order is a simulated order. An external broker connection needs its own order type, routing, deadline and acknowledgment checks; a chart marker is not an exchange acceptance record.
| Model | Information used | Execution assumption |
|---|---|---|
| Confirmed daily signal | Final daily close, high, low and completed indicators. | Submit after confirmation; the baseline simulates a market fill at the following daily open, with slippage. |
| Pre-close auction decision | A frozen snapshot before the applicable cutoff, plus earlier completed sessions. | Submit an eligible MOC or LOC order in time. The auction price is unknown when the order is submitted; a limit can prevent execution. |
| Same-close simulator fill | Final close used to create the order. | The emulator fills on the closing tick when configured to do so. Treat this as a timing sensitivity case until a real submission path is established. |