Hey,
I'm looking an MT5 EA that gives me calculated number how many times 4 specific candlesticks form from custom period time.
Simplest example how I think this should be done:
Starting point:
Time frame: 1 minute chart
Bundle1:
9:00 Open price 10 -> Closed price 11 (Candlestick green)
9:01 Open price 11 -> Closed price 10 (Candlestick red)
9:02 Open price 10 -> Closed price 9 (Candlestick red)
9:03 Open price 9 -> Closed price 8 (Candlestick red)
Bundle2:
9:04 Open price 10 -> Closed price 11 (Candlestick green)
9:05 Open price 11 -> Closed price 10 (Candlestick red)
9:06 Open price 10 -> Closed price 9 (Candlestick red)
9:07 Open price 9 -> Closed price 10 (Candlestick green)
Using this information:
We have 4 candlesticks in this order (green,red,red,red) from 4 minutes of time. This is one bundle (bundle1).
We have another 4 candlesticks in this order (green,red,red,green) from 8 minutes of time. This is second bundle (bundle2).
Result:
EA needs to look custom bars back from past searching bundles (green,red,red,red) (green,red,red,green) and compress that information in separated "packets" and give calculated number on main screen. (Example: Bundle1 = 1 / Bundle2 = 1).
Then I want that bundle1 and bundle2 are compared to each other which one is more favourite.
Example of a workaround:
Step 1: Look 50 bars back
Step 2: Found bundle1 20 times / Found bundle2 30 times
Step 3: Show numbers on main screen (Bundle1 = 10 / Bundle2 = 20)
Step 4: Calculate difference of bundles as %
Step 5: Show percentage difference which bundle is more favourite (Bundle1 = 40% / Bundle2 = 60%)
Execution rules:
When we got information that Bundle2 is 20% more favourite than Bundle1 then EA will go from FALSE to TRUE.
If EA is TRUE and Bundle2 is 20% more favourite than Bundle1 it needs to look next 3 closed candlesticks in this order (green,red,red) = Execute LONG order after third candlestick is closed.
(If Bundle1 is 20% more favourite than Bundle2 then same rules but EA needs to execute SHORT order)
I want that I can custom these features:
- Custom time period for looking bars
- Custom TP
- Custom SL
- EA Min or Max % what is confirmation to execute trade (In this example it is 20%)
- EA ON or OFF
This is only first beta and if it goes well I want to use same freelancer to expand this indicator/ea more further.
Future plan is add custom bundles, moving average, alarms, more patterns etc.