Nicolas

Flat Base Consolidation

Category: Screeners By: Nicolas Created: January 18, 2016, 3:05 PM
January 18, 2016, 3:05 PM
Screeners
6 Comments
Flat Base Consolidation

This is a stock screener that spot the consolidation of price in a narrow box over the last 5 weeks. Price range of the last 5 candlestick must be inferior of a 15% consolidation pullback.

Stop limit order maybe place at top of the box on a daily timeframe.

TIMEFRAME(weekly)
fast = average[10](close)
slow = average[40](close)
spread = ((fast/slow)-1)*100
flatrange = ABS((lowest[5](low)-highest[5](high))/close)*100

c1 = fast>slow AND spread>10 AND close>fast AND flatrange<=15

SCREENER[c1]

 

Download
Filename: Flat-Base-Consolidation.itf
Downloads: 272
Nicolas
Nicolas Legend
I created ProRealCode because I believe in the power of shared knowledge. I spend my time coding new tools and helping members solve complex problems. If you are stuck on a code or need a fresh perspective on a strategy, I am always willing to help. Welcome to the community!
Author’s Profile

Comments

IAmShareCrazy
2 years ago
#

Is it possible to change the range and have it between 2 weeks and 8 weeks?

Talero125
9 years ago
#

Thank you! Very kind

Talero125
9 years ago
#

I would like to ask you what does spread mean? Thank you

Nicolas
9 years ago
#

In this case Spread is the difference in percentage between the 2 moving average

Sofitech
10 years ago
#

Est-il envisageable de créer une box de consolidation sur x bougies utilisable sur des timeframe intraday  (M5, M15) voir des tickcharts  (bougies en 70 ticks)... une box tracée sur le chart pour la V3 par exemple 

Nicolas
10 years ago
#

Oui c'est très faisable, ouvre un topic stp dans le support probuilder francophone et on le fera ensemble là bas.

ProRealCode ProRealCode
Loading...