Intraday Candlestick Pattern Script in Scanning Manager

Hello,

I am trying to run a scan on intraday candlestick patterns. The goal is to have only results with patterns on the last completed candlestick. I’ve tried several alternatives and the scan results always include candlesticks from previous timeframes and not the last.

CANDLESTICKPATTERN(MINUTE(PERIODAMOUNT=10, BARBYBAR=False)SCANTYPE=[Bullish Engulfing,Bullish Hammer])

In the Scanning Manager I have selected
Scan Type - Multiple Codes
Codes to Scan - one of my manual lists
Date Range - Last Bar
Data Timeframe - Custom - 10 min

Appreciate your help,
Annette

Thanks Annette - we’ll take a look but maybe add the formula to a watchlist column instead, and the pattern will be calculated on the last bar (sort so they are at the top).

Capture

Great idea… Thank you!

Dear Optuma,
How to do scripts for Column “Pattern”?
Thank!

Watchlist-custom_CandleStick-Pattern.png

Hi Truong,

Use the CANDLESTICKPATTERN() function and select the Bullish, Bearish, or Doji Candlestick Patterns required:

https://www.optuma.com/kb/optuma/scripting/formulas-and-scripting-functions/candlestick-pattern-function

Capture