Monthly Pin Bar ProScreener
Forums › ProRealTime English forum › ProScreener support › Monthly Pin Bar ProScreener
- This topic has 7 replies, 3 voices, and was last updated 6 years ago by TraderArun.
-
-
06/02/2018 at 3:09 PM #72057
Hi,
Can you supply the code for a Monthly Pin Bar ProScreener detection?
Many thanks
06/02/2018 at 3:31 PM #72058Unfortunately ProScreener does not support applying scanning to monthly bars.
You can check this by trying to apply any other screener you already have to another TF, the drop-down menu won’t show you the monthly TF.
06/05/2018 at 4:40 PM #72377But .. we could try to build the monthly candlestick from OHLC values collected along the reading of daily data history. If your query is still valid, @TraderArun, I think that we could do something!
06/05/2018 at 4:46 PM #72379Thank you.
How do I reference the previous months OHLC within the ProScreener?
Thanks
06/05/2018 at 4:55 PM #72380It’s not possible to reference the Monthly timeframe. However I successfully made this monthly pinbar screener:
123456789101112131415161718192021222324if month<>month[1] thenoo=openhh=0ll=oo*100endifhh=max(high,hh)ll=min(low,ll)body = ABS(oo-close)bearishwick = ABS(hh-close)bearishnose = ABS(close-ll)bullishwick = ABS(close-ll)bullishnose = ABS(hh-close)//bearish pinbarbearishpinbar = (body/bearishwick)<20/100 AND (body/bearishnose)>100/100//bullish pinbarbullishpinbar = (body/bullishwick)<20/100 and (body/bullishnose)>100/100test = (bearishpinbar or bullishpinbar)screener [test]Seems to work fine, please confirm.
2 users thanked author for this post.
06/05/2018 at 6:34 PM #72387Hi,
Thanks for providing the code. It works for the current monthly pin bar (Pinbar[0]).
Can you provde an amended code for last months Pin Bar (Pinbar[1])?
Thanks again
06/06/2018 at 7:52 AM #72409You can try with:
12345678910111213141516171819202122232425if month<>month[1] thenc=testoo=openhh=0ll=oo*100endifhh=max(high,hh)ll=min(low,ll)body = ABS(oo-close)bearishwick = ABS(hh-close)bearishnose = ABS(close-ll)bullishwick = ABS(close-ll)bullishnose = ABS(hh-close)//bearish pinbarbearishpinbar = (body/bearishwick)<20/100 AND (body/bearishnose)>100/100//bullish pinbarbullishpinbar = (body/bullishwick)<20/100 and (body/bullishnose)>100/100test = (bearishpinbar or bullishpinbar)screener [c]1 user thanked author for this post.
06/06/2018 at 6:48 PM #72503Worked a treat. Thank you every so much!
-
AuthorPosts
Find exclusive trading pro-tools on