Skip to content

Conditions & Triggers

Price Conditions (Level 1)

ConditionDescription
CrossingPrice crosses the target value in either direction
Crossing UpPrice crosses above the target value
Crossing DownPrice crosses below the target value
Greater ThanPrice is above the target value
Less ThanPrice is below the target value

Channel Conditions

ConditionDescription
Entering ChannelPrice enters a defined upper/lower range
Exiting ChannelPrice exits the defined range
Inside ChannelPrice is within the range
Outside ChannelPrice is outside the range

For channel conditions, you specify both an upper and lower price level.

Historical (Bar-Based) Conditions

ConditionDescription
Moving UpPrice moves up by a specified amount within N bars
Moving DownPrice moves down by a specified amount within N bars
Moving Up %Price moves up by a percentage within N bars
Moving Down %Price moves down by a percentage within N bars
IndicatorCondition based on a technical indicator value

Trigger Frequency

TriggerBehavior
Only OnceFires once, then stops
Every TimeFires every time the condition is met
Once Per BarFires at most once per bar
Once Per Bar CloseFires once when the bar closes with the condition met
Once Per MinuteFires at most once per minute

ChartLabs Documentation