Outside reversal bar screener
Forums › ProRealTime English forum › ProScreener support › Outside reversal bar screener
- This topic has 14 replies, 4 voices, and was last updated 4 years ago by TheN00b.
-
-
01/04/2021 at 9:13 PM #156350
It’s like this.
The present candlesticks (after closing) range is higher & lower than the previous candlesticks range and closes above the prevoius bars high (bullish) or below the previous bars low (bearish)
The body of the candlestick does NOT need to engulf the prevoius body.
In short, the last candlesticks range engulfs the previous candlesticks range and closes above or below the high/low och the previous candlestick, no matter what colour the previous candlestick is (regardless of the pic below).
reference: https://www.prorealcode.com/topic/outside-reversal-bar-indicator/
01/04/2021 at 10:55 PM #156359Give your topic a meaningful title.Describe your question or your subject in your title. Do not use meaningless titles such as ‘Coding Help Needed’.
Moreover, what’s your question?
01/07/2021 at 11:50 AM #156734range is higher & lower
you need to be more specific because it cannot be both
01/07/2021 at 11:10 PM #156832I hope this might help explain it better,
https://backtestwizard.com/outside-bar-candlestick-patterns/
https://the5ers.com/outside-bar-candlestick/
thank you,
01/07/2021 at 11:34 PM #15683401/08/2021 at 12:17 AM #156837Pics should be attached, rather than embedded within the text of your post, to make the forum load faster.
Thank you 🙂
01/08/2021 at 12:26 AM #156838So you asking to code a screener that detects OUTSIDE:
- when they show a gap at opening
- when they make a swing point within the last N candles.
Got it. I’ll make it asap.
01/08/2021 at 12:39 AM #156839TheN00b – Please respect the few simple forum rules. I deleted the quote where you quoted yourself that then included massive images inserted into your post unnecessarily.
- Be careful when quoting others in your posts. Only use the quote option when you need to highlight a particular bit of text that you are referring to or to highlight that you are replying to a particular member if there are several involved in a conversation. Do not include large amounts of code in your quotes. Just highlight the text you want to quote and then click on ‘Quote’.
01/08/2021 at 9:34 AM #156863There you go:
12345678910111213141516171819LB = 40 //LookBack periodsBullish = close > openBearish = close < open// LONG outside barL1 = (low = lowest[LB](low))L2 = BullishL3 = (low < low[1]) AND (high > high[1])// SHORT outside barS1 = (high = highest[LB](high))S2 = BearishS3 = (low < low[1]) AND (high > high[1])//Result = 0IF L1 AND L2 AND L3 THENResult = 1ELSIF S1 AND S2 AND S3 THENResult = 2ENDIFSCREENER[Result](Result AS "1=↑, 2=↓")1 user thanked author for this post.
01/09/2021 at 12:49 AM #15701801/09/2021 at 1:13 AM #15702301/09/2021 at 1:17 AM #157026I tested it and it could find both bearish and bullush patterns
Maybe too many items are returned, try to apply it to a shorter list.
1 user thanked author for this post.
01/09/2021 at 1:34 AM #15703201/09/2021 at 5:22 AM #157034You can replace 40 with a smaller value, down to 1.
01/16/2021 at 4:28 AM #158014 -
AuthorPosts
Find exclusive trading pro-tools on