Predefined Patterns

Predefined Patterns

Scan Syntax Reference: Predefined Patterns

There are several predefined patterns that you can set as filters for your scan, including candlestick and P&F patterns. For more information on writing scans using these and other scan clauses, please see our Support Center article on Writing Scans.

Candlestick Patterns

Users can scan for several different bullish and bearish candlestick patterns, found in the Candlestick Patterns dropdown menu in the Advanced Scan Workbench.

Bullish Engulfing

Whether or not the security is displaying the Bullish Engulfing Pattern.

Syntax:

  • Bullish Engulfing

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Bullish Engulfing is true]

Bearish Engulfing

Whether or not the security is displaying the Bearish Engulfing Pattern.

Syntax:

  • Bearish Engulfing

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Bearish Engulfing is true]

Dark Cloud Cover

Whether or not the security is displaying the Dark Cloud Cover Pattern.

Syntax:

  • Dark Cloud Cover

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Dark Cloud Cover is true]

Piercing Line

Whether or not the security is displaying the Piercing Line Pattern.

Syntax:

  • Piercing Line

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Piercing Line is true]

Bullish Harami

Whether or not the security is displaying the Bullish Harami Pattern.

Syntax:

  • Bullish Harami

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Bullish Harami is true]

Bearish Harami

Whether or not the security is displaying the Bearish Harami Pattern.

Syntax:

  • Bearish Harami

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Bearish Harami is true]

Morning Star

Whether or not the security is displaying the Morning Star Pattern.

Syntax:

  • Morning Star

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Morning Star is true]

Evening Star

Whether or not the security is displaying the Evening Star Pattern.

Syntax:

  • Evening Star

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Evening Star is true]

Rising Three Methods

Whether or not the security is displaying the Rising Three Methods Pattern.

Syntax:

  • Rising Three Methods

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Rising Three Methods is true]

Falling Three Methods

Whether or not the security is displaying the Falling Three Methods Pattern.

Syntax:

  • Falling Three Methods

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Falling Three Methods is true]

Gravestone Doji

Whether or not the security is displaying the Gravestone Doji Pattern.

Syntax:

  • Gravestone Doji

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Gravestone Doji is true]

Dragonfly Doji

Whether or not the security is displaying the Dragonfly Doji Pattern.

Syntax:

  • Dragonfly Doji

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Dragonfly Doji is true]

Three White Soldiers

Whether or not the security is displaying the Three White Soldiers Pattern.

Syntax:

  • Three White Soldiers

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Three White Soldiers is true]

Three Black Crows

Whether or not the security is displaying the Three Black Crows Pattern.

Syntax:

  • Three Black Crows

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Three Black Crows is true]

Hammer

Whether or not the security is displaying the Hammer Pattern.

Syntax:

  • Hammer

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Hammer is true]

Hanging Man

Whether or not the security is displaying the Hanging Man Pattern.

Syntax:

  • Hanging Man

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Hanging Man is true]

Shooting Star

Whether or not the security is displaying the Shooting Star Pattern.

Syntax:

  • Shooting Star

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Shooting Star is true]

Filled Black Candle

Whether or not the security is displaying a Filled Black Candle.

Syntax:

  • Filled Black Candle

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Filled Black Candle is true]

Hollow Red Candle

Whether or not the security is displaying a Hollow Red Candle.

Syntax:

  • Hollow Red Candle

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Hollow Red Candle is true]

Elder Bar Red

Whether or not the security is displaying a Red Elder Bar.

Syntax:

  • Elder Bar Red

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [yesterday's Elder Bar Red is false] AND [today's Elder Bar Red is true]

Elder Bar Blue

Whether or not the security is displaying a Blue Elder Bar.

Syntax:

  • Elder Bar Blue

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [yesterday's Elder Bar Blue is false] AND [today's Elder Bar Blue is true]

Elder Bar Green

Whether or not the security is displaying a Green Elder Bar.

Syntax:

  • Elder Bar Green

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [yesterday's Elder Bar Green is false] AND [today's Elder Bar Green is true]

In Ichimoku Cloud

Whether or not the security's price is in the Ichimoku Cloud.

Syntax:

  • In Ichimoku Cloud

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [yesterday's In Ichimoku Cloud is false] AND [today's In Ichimoku Cloud is true]

Above Ichimoku Cloud

Whether or not the security's price is above the Ichimoku Cloud.

Syntax:

  • Above Ichimoku Cloud

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [yesterday's Above Ichimoku Cloud is false] AND [today's Above Ichimoku Cloud is true]

Below Ichimoku Cloud

Whether or not the security's price is below the Ichimoku Cloud.

Syntax:

  • Below Ichimoku Cloud

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [yesterday's Below Ichimoku Cloud is false] AND [today's Below Ichimoku Cloud is true]

Green Ichimoku Cloud Top

Whether or not the Ichimoku Cloud is green.

Syntax:

  • Green Ichimoku Cloud Top

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [yesterday's Green Ichimoku Cloud Top is false] AND [today's Green Ichimoku Cloud Top is true]

Red Ichimoku Cloud

Whether or not the Ichimoku Cloud is red.

Syntax:

  • Red Ichimoku Cloud

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [yesterday's Red Ichimoku Cloud is false] AND [today's Red Ichimoku Cloud is true]

Candlestick Building Blocks

Candlestick Building Blocks are candlestick characteristics that can be combined together to create candlestick patterns. Users can scan for several of these candlestick building blocks, found in the Candlestick Building Blocks dropdown menu in the Advanced Scan Workbench.

Uptrend

Whether or not the security is in an uptrend. For the purposes of scanning using this building block, the security is considered to be in an uptrend if the midpoint of the candlestick is above its 5-day exponential moving average.

Syntax:

  • Uptrend

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Uptrend is true]

Downtrend

Whether or not the security is in a downtrend. For the purposes of scanning using this building block, the security is considered to be in a downtrend if the midpoint of the candlestick is below its 5-day exponential moving average.

Syntax:

  • Downtrend

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Downtrend is true]

Long Body

Whether or not the security's candlestick has a long body.

Syntax:

  • Long Body

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Long Body is true]

Short Body

Whether or not the security's candlestick has a short body.

Syntax:

  • Short Body

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Short Body is true]

Doji

Whether or not the security is displaying a Doji candlestick.

Syntax:

  • Doji

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Doji is true]

Marubozu

Whether or not the security is displaying a Marubozu candlestick.

Syntax:

  • Marubozu

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Marubozu is true]

Star

Whether or not the security's candlestick is in a star position.

Syntax:

  • Star

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Star is true]

Spinning Top

Whether or not the security is displaying a Spinning Top candlestick.

Syntax:

  • Spinning Top

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Spinning Top is true]

Engulfed

Whether or not the security is displaying either a Bullish Engulfing Pattern or a Bearish Engulfing Pattern.

Syntax:

  • Engulfed

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [Engulfed is true]

P&F Patterns

Users can scan for several different bullish and bearish P&F patterns, found in the P&F Patterns dropdown menu in the Advanced Scan Workbench.

PnF Bullish Catapult

Whether or not the security is displaying the Bullish Catapult P&F Pattern.

Syntax:

  • PnF Bullish Catapult

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Bullish Catapult is true]

PnF Bearish Catapult

Whether or not the security is displaying the Bearish Catapult P&F Pattern.

Syntax:

  • PnF Bearish Catapult

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Bearish Catapult is true]

PnF Bullish Signal Reversal

Whether or not the security is displaying the Bullish Signal Reversed P&F Pattern.

Syntax:

  • PnF Bullish Signal Reversal

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Bullish Signal Reversal is true]

PnF Bearish Signal Reversal

Whether or not the security is displaying the Bearish Signal Reversed P&F Pattern.

Syntax:

  • PnF Bearish Signal Reversal

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Bearish Signal Reversal is true]

PnF Bullish Triangle

Whether or not the security is displaying the Bullish Triangle P&F Pattern.

Syntax:

  • PnF Bullish Triangle

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Bullish Triangle is true]

PnF Bearish Triangle

Whether or not the security is displaying the Bearish Triangle P&F Pattern.

Syntax:

  • PnF Bearish Triangle

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Bearish Triangle is true]

PnF Long Tail Down

Whether or not the security is displaying the Long Tail Down P&F Pattern.

Syntax:

  • PnF Long Tail Down

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Long Tail Down is true]

PnF Triple Top Breakout

Whether or not the security is displaying the Triple Top Breakout P&F Pattern.

Syntax:

  • PnF Triple Top Breakout

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Triple Top Breakout is true]

PnF Triple Bottom Breakout

Whether or not the security is displaying the Triple Bottom Breakdown P&F Pattern.

Syntax:

  • PnF Triple Bottom Breakout

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Triple Bottom Breakout is true]

PnF Spread Triple Top Breakout

Whether or not the security is displaying the Spread Triple Top Breakout P&F Pattern.

Syntax:

  • PnF Spread Triple Top Breakout

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Spread Triple Top Breakout is true]

PnF Spread Triple Bottom Breakout

Whether or not the security is displaying the Spread Triple Bottom Breakdown P&F Pattern.

Syntax:

  • PnF Spread Triple Bottom Breakout

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Spread Triple Bottom Breakout is true]

PnF Ascending Triple Top Breakout

Whether or not the security is displaying the Ascending Triple Top Breakout P&F Pattern.

Syntax:

  • PnF Ascending Triple Top Breakout

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Ascending Triple Top Breakout is true]

PnF Descending Triple Bottom Breakout

Whether or not the security is displaying the Descending Triple Bottom Breakdown P&F Pattern.

Syntax:

  • PnF Descending Triple Bottom Breakout

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Descending Triple Bottom Breakout is true]

PnF Quadruple Top Breakout

Whether or not the security is displaying the Quadruple Top Breakout P&F Pattern.

Syntax:

  • PnF Quadruple Top Breakout

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Quadruple Top Breakout is true]

PnF Quadruple Bottom Breakout

Whether or not the security is displaying the Quadruple Bottom Breakdown P&F Pattern.

Syntax:

  • PnF Quadruple Bottom Breakout

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Quadruple Bottom Breakout is true]

PnF Bull Trap

Whether or not the security is displaying the Bull Trap P&F Pattern.

Syntax:

  • PnF Bull Trap

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Bull Trap is true]

PnF Bear Trap

Whether or not the security is displaying the Bear Trap P&F Pattern.

Syntax:

  • PnF Bear Trap

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Bear Trap is true]

PnF Double Top Breakout

Whether or not the security is displaying the Double Top Breakout P&F Pattern.

Syntax:

  • PnF Double Top Breakout

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Double Top Breakout is true]

PnF Double Bottom Breakout

Whether or not the security is displaying the Double Bottom Breakdown P&F Pattern.

Syntax:

  • PnF Double Bottom Breakout

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Double Bottom Breakout is true]

PnF Buy Signal

Whether or not the security is displaying a P&F Buy Signal.

Syntax:

  • PnF Buy Signal

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Buy Signal is true]

PnF Sell Signal

Whether or not the security is displaying a P&F Sell Signal.

Syntax:

  • PnF Sell Signal

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Sell Signal is true]

PnF Chart In Xs

Whether or not the security has an X in the most recent box on its P&F chart.

Syntax:

  • PnF Chart In Xs

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Chart In Xs is true]

PnF Chart In Os

Whether or not the security has an O in the most recent box on its P&F chart.

Syntax:

  • PnF Chart In Os

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Chart In Os is true]

PnF High Pole

Whether or not the security is displaying the High Pole P&F Pattern.

Syntax:

  • PnF High Pole

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF High Pole is true]

PnF Low Pole

Whether or not the security is displaying the Low Pole P&F Pattern.

Syntax:

  • PnF Low Pole

Acceptable Values:

  • true, false

Operators:

  • is, is not, =, !=

Example:

  • [PnF Low Pole is true]