Forex Factory (https://www.forexfactory.com/)
-   Platform Tech (https://www.forexfactory.com/forum/69-platform-tech)
-   -   Automatic Notification of pattern detection (https://www.forexfactory.com/thread/1033736-automatic-notification-of-pattern-detection)

viktor256 Oct 15, 2020 9:16am | Post# 1

Automatic Notification of pattern detection
 
5 Attachment(s)
Hello traders !

I would like te hear from people that have skils in coding if it is posible to code to receive notification every time the falowing false breakout apear in the market:

- For bullish case the 3-rd bar touches the low of first bar and closes higher than the close of 2-nd bar. The close of 2-nd bar is also higher than close of first bar.
- For bearish case is the reverse : 3-rd bar is a false breakout to the upside of the previous 2-bar bearish move.

The greater the number of candle in a row the stronger must be the signal when we have multiple patern formation as in the nzdusd picture below.

For weekly time frame very easy to detect but for daily an 4H almost imposibile especialy if the we have daily close at midnight.

Thanks
Click to Enlarge

Name: Untitled.png
Size: 113 KB
Click to Enlarge

Name: 123.png
Size: 102 KB
Click to Enlarge

Name: Screenshot_2020-10-15-15-56-44-777_net.metaquotes.metatrader4.jpg
Size: 215 KB
Click to Enlarge

Name: Screenshot_2020-10-15-15-58-34-097_net.metaquotes.metatrader4.jpg
Size: 205 KB
Click to Enlarge

Name: Screenshot_2020-10-15-15-59-22-502_net.metaquotes.metatrader4.jpg
Size: 222 KB

tommydoginti Oct 15, 2020 10:04am | Post# 2

6 Attachment(s)
Hello traders ! I would like te hear from people that have skils in coding if it is posible to code to receive notification every time the falowing false breakout apear in the market: - For bullish case the 3-rd bar touches the low of first bar and closes higher than the close of 2-nd bar. The close of 2-nd bar is also higher than close of first bar. - For bearish case is the reverse 3-rd bar violates to the upside the previous 2-bar bearish move. The greater the number of candle in a row the stronger must be the signal when we have multiple pattern...
You do know that your rules are not precise enough to fit all of your examples? A quick look at different charts seems to spot quite a number of false signals, while the frequency is pretty low. My chart clock is not the same as yours so some pattern may not be shown on mine.

The rules for Bull
1) Current bar retest low of 2 bars before (low <= low[2])
2) This bar closes higher than last (close > close[1])
3) Last bar closed higher than 2 bars before (close[1] > close[2])

Bears are opposite directions.

You can simply copy and paste the rules above, a "new bar" function and SendMail() on any MQL4 coding tutorials, and you are done. Click to Enlarge

Name: Screenshot1.png
Size: 73 KBClick to Enlarge

Name: Screenshot2.png
Size: 72 KBClick to Enlarge

Name: Screenshot3.png
Size: 72 KBClick to Enlarge

Name: Screenshot4.png
Size: 73 KBClick to Enlarge

Name: Screenshot5.png
Size: 80 KBClick to Enlarge

Name: Screenshot6.png
Size: 66 KB

viktor256 Oct 15, 2020 10:11am | Post# 3

{quote} You do know that your rules are not precise enough to fit all of your examples? A quick look at different charts seems to spot quite a number of false signals, while the frequency is pretty low. My chart clock is not the same as yours so some pattern may not be shown on mine. The rules for Bull 1) Current bar retest low of 2 bars before (low <= low[2]) 2) This bar closes higher than last (close > close[1]) 3) Last bar closed higher than 2 bars before (close[1] > close[2]) Bears are opposite directions. You can simply copy and paste the rules...
I know ... This is because of different broker time zone .


© Forex Factory