SutraLipi docs grammar v1

Candle patterns

Pattern helpers return a boolean for a symbol and timeframe (the timeframe is quoted):

if (Bullish_Engulfing_Pattern(nifty, 'M15')) {
    OrderSend(nifty, BUY, 1, 0, 0, 0, INTRADAY, DAY, "engulfing");
}

Available: Bullish_Engulfing_Pattern, Bearish_Engulfing_Pattern, Shooting_star, Inverted_Hammer, Three_White_Soldiers, Three_Black_Crows, Morning_Star, Evening_Star.

Ready to run this? Build and backtest strategies in the SutraLipi algo trading platform — no-code builder, tick-level backtesting and one-click live execution. Browse all documentation topics.

Code copied — paste it into the editor with Ctrl+V.