Hello everyone,
congratulations for the forum. I’m not good at proScreener programming.
Could someone help me for a screener on price action figures (Pin Bar, Engulfing pattern, Inside bar, etc.).
Thanks in advance 🙂
You posted in the French forum but you wrote in English.
Please use the correct forum next time.
I moved it to the English forum.
Let’s start with a Pin bar, can you post the correct definition of Pin bar or a link to it?
I just deleted another duplicate post, still in the wrong forum!
Plese do NOT double post, no matter what language you are using.
I found this definition of a PinBar at https://www.learntotradethemarket.com/forex-trading-strategies/pin-bars-forex-trading-definition, this is the screener (unused variables have been commented out):
// definition of a candlestick
//
Body = abs(close - open)
UpperWick = high - max(open,close)
LowerWick = min(open,close) - low
//Wicks = range - Body
//Bullish = close > open
//Bearish = close < open
//
// Definition of a PinBar
//https://www.learntotradethemarket.com/forex-trading-strategies/pin-bars-forex-trading-definition
//
PB = body <= (range * 0.10) //Body must be smaller than or equal to 10% of the candle's range (very small body)
bullPB = LowerWick >= (range * 0.67) //Bullish PinBars should have a lower wick greater than or equal to 67% of range
bearPB = UpperWick >= (range * 0.67) //Bearish PinBars should have a upper wick greater than or equal to 67% of range
BullishPB = PB and bullPB
BearishPB = PB and bearPB
PinBar = 0
IF BullishPB THEN
PinBar = 1
ELSIF BearishPB THEN
PinBar = 2
ENDIF
SCREENER[PinBar](PinBar as "1=↑,2=↓")
It’s fairly simple to add other patterns, or make a new screener for each additional pattern.
Should you need further help, let us know.
Additional filters could be added to make sure a PinBar has formed at new HGHs or LOWs.
Thank you very much.
I can’t wait to try it on Monday morning for the scalping on the dax