指定
Hello,
I want to create an EA which will recognize the highest price and the lowest price and the movement of the market as it reaches new peaks both in going up and in reverting back. So we consider the start of the robot from the first day. As a result, once the robot is activated, it starts to identify the high and the low price movements to know when to activate the next bid. So at the time frame bases, it identifies the movement of the market and if the next time frame is in the same trend as the previous time frame, it will use the extreme prices at the time frame to calculate the next price action and this will determine whether the action is a BUY or a SELL depending on the movement.
This is an example of High and low of Daily timeframe, and the coloured part of each day is the movement according to my theory and foundation of this project.
The coloured part shows the movements based on the extreme positions discussed while the RED shows every EXTREME HIGH and GREEN shows EVERY EXTREME LOW
The below report shows the cumulative Highest and lowest price from the beginning of the start of period from day 18 to 25, and then another from day 26 to last day
The 5 thcolumn shows the period Highest and the 6 thcolumn shows the period lowest, so the highest will help project for SELL and the LOW will help project for BUY positions using the Robot.
So using the example of the first picture below is computed data for an example
So if price is as follows for example daily HIGH and LOW figures
Day 1 2 3 4 5 6 7 8 9 10
High 30 35 39 34 32 40 47 49 45 41
Low 20 23 30 28 25 32 38 44 39 30
The movement will be as follows where H is HIGH and L is Low.
Day 1 2 3 4 5 6 7 8 9 10
position V1 L H H L L H H H L L
Prices 20 35 39 28 25 40 47 49 39 30
so if gap to take is at 5 Level or more, then lets assume its as follows
Level 1= 10, L2= 8, L3= 6, L4=5, L5=4. So no position will activate after L5. Where B= BUY and S= Sell
So according to the RULE the robot will identify the following points Day1=20, Day 3=37, Day 5=25, Day 8= 49 Day 10= 30
Based on first position to use to activate trade, the Low Price will be used to BUY and the HIGH price will be used to SELL
So at end of DAY 1, using the LOW of 20, because the robot would have started to identify the highest and lowest prices
L1 L2 L3 L4 L5
At low of 20, 30 38 44
At High of 37 27 19 13
At Low of 25 35 43 49
At High of 49 39 33 27
So based on the data identified above, the robot will compare every new position with the last activated position and take a bid towards the trend/ direction of the price as a BUY ABOVE and a SELL BELOW
So using the whole data the ROBOT will have activated the following bids at the end of DAY 10 as follows
Because the first position is predicted using the LOW price, then it will be a BUY.
B30, S27, B35, B43, B49, S39, S33..
But because B35 is Higher than B30, then Bid 3 can activate at B30 once price falls below 30 and then continue at B38, B44 etc, else it will activate at B35, B43, B49.
Same thing for Sell positions, if new SELL is lower than previous SELL and market goes above the previous SELL, then it can activate a SELL at the previous SELL rather than the actual one. SELL will consider the Higher opportunity while BUY will consider the lower opportunity
If a robot returns back to an existing old bid position to retake the Bid, and the previous Bid has been closed, the Robot can increase the lot size of that position.
So as shown in the sample above, since price fell below 35 to 30 for a BUY, if previous BUY of 30 has been closed, then a new BUY of double lot size will be opened when market reverts back upwards, and same too if market reverts back downwards. This is only if the EXTREME positions still remain the same, eg LOWEST position or HIGHEST POSITION, if any of it changes, then it will be a new position without the increase.
The robot will be such that it will close any previous bid that has reached previous Setting position of bid limit
So for example at Low of 20, all bids taken to higher levels 38, being maximum bid of first Move, will always close itself. And only remain new bids of later movements before reversal. But bids can also close itself automatically when it achieves X number of bids of same direction by closing the earliest bid.
I have an existing EA which can be remodified to complete this job just in case it may be useful.
Please Note
I want only serious and immediately available programmers as time is essential. Also please ensure you understand the concept as well.
I will have the following as it relates to the EA
- Source code
- Ownership and Copyright of code
- EA should have a Password input
- I will need as much as 3 weeks to test the accuracy of robot before finalizing payment
- Robot should be usable on any product, currency, indices or stock