Entry Point
The Entry Point determines when the strategy opens a position — at a price or at a time.
The Entry Point is the first of the four indicator slots of the Strategy Editor. It is mandatory and holds exactly one indicator: every strategy has one entry point, and a new strategy starts with Bar Open.
The slot's indicator produces the pending order level for each direction. The indicator itself always allows both directions; the Entry Rules, when present, decide which direction opens. See the slot table in the Indicators index for the full slot semantics.
Indicator families
Entry point indicators fall into two families — entry time indicators and entry price indicators.
Entry time indicators
- Bar Open — it sets the position entry price to be the bar's Open price. It cannot determine the trading direction and needs Entry rules for that purpose. Logical rule: Enter at Bar Open.
Entry price indicators with one line
- Moving Average — a single line. It determines the entry price but cannot determine the trading direction. It needs additional Entry rule indicators to specify the trading direction. Logical rule: Enter at Moving Average.
Entry price indicators with two lines
They determine both the entry price and the entry direction:
Logical rules: Enter long at Upper Band, Enter long at Lower Band (Fractal uses Enter long at Up Fractal and Enter long at Down Fractal).
Direction
The entry point always allows both directions; the direction of a position comes from the rules:
- Time and one-line indicators — Bar Open and Moving Average place the long and the short order at the same price level, so they cannot determine the trading direction. Add Entry Rules to select the direction. Without rules, both directions are possible every bar: when both can fill at the same price, the bar is ambiguous and no order is placed. See Ambiguous Bars.
- Two-line indicators — the bands and the fractal levels place the long and the short order at different levels, so they determine the entry direction together with the entry price. When the price reaches the long level, the strategy goes long; when it reaches the short level, it goes short. Entry rules can still be added to filter the entries further.
With and without entry rules
- None — with no entry rules added, the strategy raises an entry signal each time the Entry Point is reached, for both directions.
- One or more — the entry rules allow or deny a position opening and select the direction. With multiple entry rules, the strategy opens a position only when all of them are satisfied (AND logic). See Entry Rules.
Managing the slot
The strategy layout shows the Entry Point in the Entry point and rules section. Click the indicator to open its form, where the Logic selector lists the indicator's entry point logic rules and the parameters can be edited. The form's replace button (replace-entry-point) swaps the indicator through the replace catalog.
Backtesting
The entry point and the exit point together select the per-bar simulator (see engine/backtester/backtester-core.ts):
| Entry point | Exit point | Scenario |
|---|---|---|
| Bar Open | Bar Open | OpenOpen |
| Bar Open | Bar Close | OpenClose |
| Bar Open | other indicator | OpenIndicator |
| other indicator | Bar Open | IndicatorOpen |
| other indicator | Bar Close | IndicatorClose |
| other indicator | other indicator | IndicatorIndicator |
| any | No Indicator Exit | as above, without the indicator exit |
- Bar Open entry — orders are placed at the bar open price.
- Indicator entry — orders sit at the indicator's price level (a band, a fractal level, a moving average value) and are filled when the bar reaches the level. When both the long and the short level are inside the same bar, the intrabar interpolation method (Pessimistic, Shortest, Nearest, Optimistic, Random) decides which side fills first.
- The long and the short order level of a two-line indicator differ, so both pending orders can be placed; with Bar Open or Moving Average the two levels coincide, and the bar is ambiguous unless the entry rules exclude one direction.