3 Line Strike Indicator

3 Line Strike Indicator

1. Introduction

The 3 Line Strike (3LS) pattern is a price action formation rooted in Japanese candlestick analysis. It is a relatively rare but powerful reversal signal, indicating a potential change in trend following a strong price sequence.

This indicator automatically detects such setups in real-time and highlights them directly on the chart, removing the need for manual identification.

2. How the Indicator Works

The indicator by TheTrdFloor combines two well-known candlestick concepts:

🔹 Bullish and Bearish Engulfing:

  • Bearish Engulfing: A green (bullish) candle followed by a larger red (bearish) candle.

  • Bullish Engulfing: A red (bearish) candle followed by a larger green (bullish) candle.

🔹 3 Line Strike (3LS) pattern:

This pattern requires a sequence of 3 consecutive candles in the same direction, immediately followed by a larger engulfing candle in the opposite direction, signaling a reversal.

Bearish 3 Line Strike (Sell Signal):

  • Three consecutive bullish (green) candles.

  • Followed by a larger bearish (red) engulfing candle.

  • A red downward arrow () is drawn above the signal bar.

Bullish 3 Line Strike (Buy Signal):

  • Three consecutive bearish (red) candles.

  • Followed by a larger bullish (green) engulfing candle.

  • A green upward arrow () is drawn below the signal bar.

The indicator also optionally displays simple engulfing candles using smaller symbols ( and ), which can be enabled or disabled via parameters.

3. Indicator Settings

You can control whether simple bullish or bearish engulfing candles are displayed with the following input parameters:

showBullEngulfing=1
showBearEngulfing=1
  • showBullEngulfing: Set to 1 to show bullish engulfing candles (), or 0 to hide them.

  • showBearEngulfing: Set to 1 to show bearish engulfing candles (), or 0 to hide them.

This allows you to focus solely on 3LS signals if desired.

4. Practical Applications

This indicator works well on any timeframe, but it is generally more reliable on daily charts or higher, where candlestick formations carry more weight.

✅ Advantages:

  • Automatically detects powerful reversal patterns.

  • Provides clear visual cues directly on the chart.

  • Easily integrates with price action-based strategies.

⚠️ Limitations:

  • Not all signals are reliable; it’s recommended to use additional filters (like RSI, moving averages, or volume).

  • May produce premature signals in volatile or sideways markets.

5. ProRealTime Code

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

avatar
Register or

Likes

avatar avatar
Related users ' posts
robertogozzi Like my screener https://www.prorealcode.com/prorealtime-market-screeners/abcd-pattern-scree...
aldtrading Thanks for your work. I'm using V11 and nothing is drawn on the chart, I believe this is ...
robertogozzi It works on v10.3, v11 and v12. You are likely to have added it BELOW your chart (like RSI),...
Wolf I don't know why the indicator does not work for me. It gives me an error about RETURN... ...
sergibilbo Great job thanks!!!
druby I was glancing through the code and noticed that the variable name, Middle' has been used. I...
robert123 hi there, how do you get the images of the knights etc into your code....and is there anywhe...
swapping hello robert123, on this site -> https://fr.piliapp.com/symbol/
Pablo Carmona del Moral hola juanjo, muchas gracias por este screener que nos has compartido. creo que lo voy a util...
Pablo Carmona del Moral para el volumen he cambiado: // Volumen significativo VS=volume>2*(average[10](volume[1...
Juanjo Muchas Gracias Pablo, ...Tengo varios screener, uno lo tengo adaptado para operar intradía, ...
RGKP Hi Vonasi, great work! But what I do not understand is that the statistics change according ...
mr_delta Hi https://www.prorealcode.com/user/vonasi/ I am interested in in scanning for a similar set...
Vonasi Minor Bug Fix Please download an updated version with a minor bug fix from here: https://www...
ckat55 Thank you Nicolas, is there any way that an alert can be set for when the dot appears?
Nicolas yes, change the last line with: RETURN wrb,qh and set an alarm with the alert tool for ea...
ckat55 Thank you Nicolas, I will try it.
JohnScher After a small error crept in, a correct itf.file has been uploaded.
dougie80 Great Indicator, Is there a way to use this as an alert ?
JohnScher I created the screener with some help here from PRT. It is surely somewhere in one of the fo...
Ravindra Khanna copied it to pro real time not working. what to do?
GraHal Wow! Thank you Vonasi, great idea!
Vonasi No Problem GraHal. Please share anything interesting that you find using it.
Vonasi I've made a small improvement by adding a Buy and Hold line for comparison. This line can be...
Vonasi Thanks for your thanks Real Pro and yes everyone should import the itf file to make sure tha...
Pepsmile Good job, which could be applied for a spectrum of another indicators.
Pepsmile As to better understand which parameters are better for an indicators in a specific period (...
Bard I was talking to a Machine Learning coder today who's algos have apparently managed to get 7...
FULVIO09 Attualmente non c'è sufficiente volatilità : la condizione "C0 = AverageTrueRange[1500](Clos...
vlongobardo67 Ma io intendevo in backtest ! Scusa non l’ho menzionato.
ciniselloftse salve fulvio .il trading sistem e sempre profittevole?
Bard Hi Violet, Thanks so much for making this screener. Bulkowski's work is thorough. I though...
Gregg Hi all, is there anyone who is using this pattern? It's been 3 days I'm trying it and I'm ...
Violet Hi Gregg, TP and SL? There are no variables by those names. The signal appears/disapp...
Marcus Quartus Aurius Thanks great job !
777dks hi this doesnot seem to work on forex, any ideas? thanks.
4example excellent, thank you
avatar
Anonymous Found: just remove "T coloured(r,g,b) as "Top", Bo coloured(r,g,b) as "Bottom"... after return
darbes Hi I tried to use indicator in a strategy code. But backtesting is asking to define Signalb...
getset Hello, I like this indicator, it's small and very nice to use. So i changed the code a littl...
avatar
Anonymous Thanks for sharing! On the other hand can we remove the vertical gray lines?
ShaunG Appreciated! Thanks 100%
tonbijl good afternoon when i enter the code i get an error message Syntax error
rispardin no entiendo como funciana este indicador, por favor alguien podria explicar como utilizarlo???
AVT No se trata de un solo indicador, pero cada linea muestra otra información, de abajo hacia ...
IV Mcm Your indicator is interesting, I evaluated its relevance with the squeeze to detect the phas...
dzim0032 J'avais oublié de mettre un commentaire pour la vente du scalper dont les règles sont justes...

Top