Option Spread Leg Strike
Returns the strike price of one leg (short or long) of the open option spreads matching the filter. Min or Max picks across several matching spreads. Has no value when no matching spread is open. Use it as an option leg's strike, with Strike Distance Type set to strike, to trade exactly a held spread's strike, for example selling a credit vertical at the same short strike as a filled debit vertical to leg into a butterfly.
Option Spread Leg Strike
Definition
Returns the strike price of one leg (short or long) of the open option spreads matching the filter. Min or Max picks across several matching spreads. Has no value when no matching spread is open. Use it as an option leg's strike, with Strike Distance Type set to strike, to trade exactly a held spread's strike, for example selling a credit vertical at the same short strike as a filled debit vertical to leg into a butterfly.
Parameters
Underlying (optional), Option Type (optional), Direction (optional), Spread Type (optional), Leg (short or long), Min or Max (default Min)
Output range: 0 to ∞ (strike price in dollars)
Example
`strike = Option Spread Leg Strike (SPX · long · call · vertical, short leg)` and `strike = Option Spread Leg Strike(...) + 5` (Sell a $5 credit call vertical at the held debit spread's short strike)
Full indicator reference