Documentation/AlgoCode/Function reference
arrow
Optional custom triangle on the bar. Use inside when.
arrow up "Buy"
buy, sell, and exit already mark the bar with Buy / Sell / Exit and the fill price. Write arrow only when you want a different caption, or a mark without an order. Direction is up or down. The label text is optional.
Return value
—
Example
when close crosses above previous day high arrow up "Breakout"