|
Category
Current Position Information
Description
Returns 1 (true) if the current stock passed EntrySetup for the specified strategy.
Notes
Without Combined or Extern, IsSetup will by definition be 0 (false) when referenced in EntrySetup, or 1 (true) in any other entry-related formula, since the others are only evaluated for setups.
When used with Combined or Extern, IsSetup returns the count of strategies for which the current stock met the EntrySetup condition.
Since IsSetup remains true even for skipped setups, IsOrder is generally more useful for avoiding duplicate entries in the same symbol.
When another strategy's IsSetup is referenced during same-bar setup processing, the value is final for strategies in an earlier EntryPhase; within the same phase it reflects only the processing completed so far in 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 setups, skipped or not, so the TestData item Extern(@strategy, IsSetup) marks each symbol that was a setup on that bar (see SetupSum).
|