Navigation: Realtest Script Language > Syntax Element Details >

IsSetup

 

 

 

 

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.

 

 

 

 

 

Copyright © 2020-2024 Systematic Solutions, LLC