Screener Pin Bar

Category: Screeners By: JJ Tec Created: February 9, 2019, 3:56 PM
February 9, 2019, 3:56 PM
Screeners
6 Comments

The Screener is based on the location of candles with climatic volume that have closed at the top or bottom (pin bars) indicative of patterns of trend reversal.

Screener to locate pin bar sails (in the last 3 sails) with the following characteristics:

– Significant volume.

– It has generated a maximum or minimum in 20 periods.

– The wick is at least 2 times the body of the candle.

– The opening and closing are in 1/3 of the lower half of the candle

– The range is greater than the range of the last 5 periods.

It includes a filter of capitalization and price.

//Screener Pin Bar.
//Settings
// Filtros del Screener
CM=2 // Capitalización media expresada en millones.
Pr= 0 // Precio de cierre mínimo
Cap= average[10](volume)*close >CM*1000000
Prc=close>Pr
// Generación de máximos / minimos
Mx=high>highest[20](high[1])
Mnn=low<lowest[20](low[1])
// Volumen significativo
VS=volume>exponentialaverage[10](volume[1])
// Mecha 2 veces el cuerpo de la vela
M=2*abs(close-open)< range
// rango medio superior a la media de los últimos 5 periodos
RM=range>exponentialaverage[5](range[1])
//apertura / cierre en la parte inferior de la vela
Pl1=close>low+((2*range)/3) and open> low+((2*range)/3)
Pl2=close<low+((range/3)) and open<low+((range/3))
// Screener
PBB=Mx and VS and M and RM and Pl2 and Cap and Prc
PBA=Mnn and VS and M and RM and Pl1 and Cap and Prc
PBBc= PBB or PBB[1] or PBB[2]
PBAc=PBA or PBA[1] or PBA[2]
// Criterio
If PBBc then
 Criterio=-1
Endif
If PBAc then
 Criterio=1
Endif

Screener[ PBBc or PBAc] (criterio as "PB")

Download
Filename: JJP-PinBar-V.1.itf
Downloads: 482
JJ Tec Veteran
Code artist, my biography is a blank page waiting to be scripted. Imagine a bio so awesome it hasn't been coded yet.
Author’s Profile

Comments

Logo Logo
Loading...