strategy.position_entry_name
Id of the oldest entry still held; "" when flat.
strategy.position_entry_name() -> string
Example
isBreakout = strategy.position_entry_name == "Up"
Id of the oldest entry still held; "" when flat.
strategy.position_entry_name() -> string
isBreakout = strategy.position_entry_name == "Up"