Scans for Freebars

Scans for Freebars

In the world of technical analysis, “Free Bars” are a rare but powerful price pattern. A Free Bar is a candlestick that is completely outside the bounds of the Keltner Channels, indicating a strong directional move that can be followed by significant price action. This article will guide you through setting up a ProScreener in ProRealTime to identify these Free Bars across any market.

What Are Free Bars?

Free Bars occur when a candlestick’s entire range—high to low—trades completely above or below the Keltner Channel. This is typically a signal of strong momentum, either to the upside or downside, and can indicate the potential for continued movement in that direction. Traders often look for these patterns after periods of consolidation or low volatility as a sign of a new trend emerging.

Setting Up the Screener

To scan for Free Bars using ProScreener in ProRealTime, you’ll need to understand how to set up and customize ProScreeners using the ProBuilder language. Here’s how you can do it:

  1. Keltner Channel Calculation: The Keltner Channel is typically calculated using a moving average (usually the Exponential Moving Average or EMA) and the Average True Range (ATR). The upper and lower bounds of the Keltner Channel are derived as follows:
    • Upper Band = EMA + (ATR * Multiplier)
    • Lower Band = EMA – (ATR * Multiplier)

    For our screener, we’ll use the standard settings of a 20-period EMA and a 2x ATR multiplier.

  2. Identifying Free Bars: To identify Free Bars, the screener must check that the entire range of the current bar is above the upper Keltner Channel or below the lower Keltner Channel:
    • A Free Bar above: Low of the bar is greater than the Upper Keltner Band.
    • A Free Bar below: High of the bar is lower than the Lower Keltner Band.

ProScreener Code Implementation

Here’s how you can write the ProScreener code to identify Free Bars in ProRealTime:

Conclusion

The Free Bar pattern is a powerful tool for identifying strong market momentum. By implementing the above ProScreener code in ProRealTime, you can automatically scan multiple instruments across different timeframes to find these unique and potentially profitable trading opportunities.

Remember, while Free Bars can indicate strong market moves, it’s important to consider the broader market context and other technical indicators before making trading decisions. Happy trading!

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
Related users ' posts
Stephane0174 Bonjour et merci pour le Screener. Je suis nouveau ici et je ne connais rien en programmati...
Nicolas Je pense que c'est le copier/coller des guillemets qui pose problème, il faudrait les retape...
enriquem
3 years ago
bab el franco hello once installed I have no results despite different options of markets or temporality
Vinks_o_7
3 years ago
3 Bars LONG
3 Bars LONG
3
Screeners
Maxime Csls Hello Vinks_o_7 Thank You for your work. I am working on a different candle setup. Your wor...
Vinks_o_7 Hi Maxime This is a momentum strategy that I use for swing trading (couple of day, weeks). ...
haimpinto Thank you for the code How can I use it for a short trend?
Sofitech le screener "resserrement" (le premier) correspond aux flèches rouge / vertes sur l'image ?
JC_Bywan Bonjour, non les flèches sur l'image correspondent aux croisements des ema15/ema60, 2e screener
jc_aries Thanks for the SCREENER. I have a doubt. Is it not necessary to put a time interval for the ...
BoutDePain Here is the updated screener with variables that are more understandable:
BoutDePain https://www.prorealcode.com/topic/three-line-breakouts/#post-155918
haimpinto Hi What should be added in the code in order to limit the price range of the shares it disp...
StephFor //ind1 = ZigZagPoint[2*averagetruerange[200]](close) avr = 3 //3% ind1 = ZigZag[avr](close...
Manu L. @Steph un grand merci pour ton aide mais :-( J'ai copier le code tel quel mais cependant j...
AlphaMauss Je n'ai pas réussi à faire fonctionner l'indicateur avec le code fourni en commentaire sur P...
Fozzie Très bon code, merci pour le travail.
Titi Gone Très bon travail merci
Mike.44 Hello Merci beaucoup pour le code !
smarttrader1 hi, can you improve on this ? can you make this flag screeener for day trading, I want to be...
Nicolas Please open a new topic in the proscreener forum for this specific query. Please provide exp...
NHGambler Nice screener. Only thing is I wonder if this is aimed more at small/medium/large caps? I ...
jonny.cash the chikou is 26 periods behind current price, it's not the close
Nicolas Chikou is the current Close decayed 26 periods in the past of the chart.
jonny.cash yes, thanks for the correction. my post was complete rubbish
mickey992 salut merci pour ton partage et ton travaille
patapouf Hi Vivien René I just discovered your “Ordered trend-following stocks Screener”. Great work...
yeoreum Thank you very much for the screener, it reminds me on Minervini VCP. How to change th...
reecet any codes like this but in minutes and hours rather than days?
PHAN100 bonjour, je viens de tester ce screener, je constate une anomalie...il ne renvoie pas l'e...
bibifricotin Je pense avoir compris dans la première colonne exemple 92 le 9 indique la période et le 2 ...
Leo_da_Pisa It seems to work very well. Good for confirmation. Thanks for sharing Vivien.
jaginho Bonjour Vivien, je n'arrive pas à comprendre ce screener... En tout cas merci pour tes contr...
avatar
Anonymous Superb, merci!
Oxxoz Re bonjour Vivien, Il me smeble que 3 mois, c'est 60 séances. Cordialement,
Vinks_o_7 thanks ...and It can be used on a monthly and weekly basis by changing just the duration in ...

Top