|
Category
Current Position Information
Description
Returns 1 (true) if the current stock passed EntrySetup for the specified strategy and became an actual entry order — that is, it was not skipped due to a position or allocation limit (MaxSetups, MaxPositions, etc.)
Notes
Without Combined or Extern, IsOrder applies only to the current stock in the current strategy.
When used with Combined or Extern, IsOrder returns the count of strategies for which the current stock is a setup and has not been "skipped".
When another strategy's IsOrder is referenced during same-bar setup processing (in EntrySetup or SetupSkip), the value is final for strategies in an earlier EntryPhase. Within the same phase, it reflects only the orders granted in earlier selection turns of the current bar.
During entry processing (EntrySkip, EntryTradeValue) and later in the same bar, a setup that has already been entered or skipped no longer counts. After the bar's entries, in StratData, TestData and TestScan formulas, it again counts all of the bar's orders, filled or not, so the TestData item Extern(@strategy, IsOrder) marks each symbol that got an entry order on that bar (see OrderSum).
|