Tarea técnica
Hello,
I need an EA that can take daily bids according to some set defined rules as designed by me and the below format/ Procedures.
EVERYDAY IS A POSITION
THERE ARE ONLY 2 POSITIONS
POSITIONS ARE EITHER HIGH OR LOW
THERE IS ONLY 1 POSITION PER DAY AFTER DAY 2
EACH POSITION WILL REQUIRE A DIRECTION
EACH POSITION WILL REQUIRE AN ALTERNATIVE DIRECTION
EACH POSITION WILL REQUIRE A REVERSAL DIRECTION
EACH DAY POSITION IS USED TO PROJECT BIDS FOR NEXT DAY
IF POSITION IS HIGH AT END OF DAY, TAKE BID AT EXTREME CURRENT POSITION FOR NEXT DAY FOR SAME DIRECTION EG BUY
IF POSITION IS HIGH AT END OF DAY, TAKE BID AT A % LESS OF CURRENT EXTREME FOR ALTERNATIVE DIRECTION EG SELL (DEPENDING ON CURRENT PRICE)
IF POSITION IS HIGH AT END OF DAY, TAKE BID AT LOW OF CURRENT DAY FOR REVERSE DIRECTION EG SELL
IF POSITION IS LOW AT END OF DAY, TAKE BID AT EXTREME CURRENT POSITION FOR NEXT DAY FOR SAME DIRECTION EG SELL
IF POSITION IS LOW AT END OF DAY, TAKE BID AT A % HIGHER OF CURRENT EXTREME FOR ALTERNATIVE DIRECTION EG BUY (DEPENDING ON CURRENT PRICE)
IF POSITION IS HIGH AT END OF DAY, TAKE BID AT HIGH OF CURRENT DAY FOR REVERSE DIRECTION EG BUY
PRICES SHOULD BE UPDATED IMMEDIATELY BUT CAPTURED EVERY 6 HOURS (OR @4AM, 12PM AND 8PM) TO UPDATE THE POSITION FOR BUY OR SELL
THE % OF ALTERNATIVE DIRECTION SHOULD RANGE BETWEEN .01-2% OF PRICE
AS NEW PEAKS ARE ACHIEVED FOR THE DAY, THE ALTERNATIVE BID PRICES IF NOT ACTIVATED SHOULD BE UPDATED USING THE NEW EXTREME PRICE
DETERMINATION OF DAILY MARKET TREND
THE PRICE DIRECTION WILL BE DETERMINED BY THE DAILY HIGH AND LOW PRICES FOR THE PRODUCT
IF DAY 2 HIGH IS LOWER THAN DAY 1 HIGH, THEN TREND IS HIGH, ELSE LOW
IF DAY 2 LOW IS LOWER THAN DAY 1 LOW, THEN TREND IS LOW, ELSE HIGH
IF DAY 2 HIGH AND LOW IS HIGHER AND LOWER THAN DAY 1 HIGH AND LOW, THEN WAIT FOR DAY 3 TO DETERMINE TREND
INPUT DATA
LAST DAY HIGH
LAST DAY LOW
% CHANGE FACTOR
LAST POSITION HIGH/ LOW
RULE FOR MOVEMENT
IF PREVIOUS DAY IS HIGH, THEN TODAY HIGH VALUE MUST BE GREATER THAN YESTERDAY TO BE HIGH, ELSE TODAY WILL BE LOW
IF PREVIOUS DAY IS LOW, THEN TODAY LOW VALUE MUST BE LOWER THAN YESTERDAY TO BE LOW, ELSE TODAY WILL BE HIGH
PREVIOUS DAY WILL ALWAYS DETERMINE WHAT ACTION TO TAKE TODAY
ROBOT ACTION POSITION FOR THE 3 CONDITIONS
1 DIRECTION
2 ALTERNATIVE DIRECTION, WHICH WILL BE CALCULATED AS A % OF PREVIOUS DIRECTION
3 REVERSAL DIRECTION
1 IF YETSERDAY IS HIGH, THEN TODAY DIRECTION WILL BE YESTERDAY HIGH FIGURE
2 IF YESTERDAY IS HIGH, THEN TODAY ALTERNATIVE DIRECTION FIGURE WILL BE A % OF YESTERDAY HIGH
3 IF YESTERDAY IS HIGH, THEN TODAY REVERSAL DIRECTION FIGURE WILL BE YESTERDAY LOW
NB- REVERSAL PRICE IS PREVIOUS DAY OPPOSITE POSITION IF NOT DIRECTION
SO POSITIONS WILL ONLY BE ACTIVATING AT THOSE PRICES EVERY DAY.
I HAVE AN EXCEL TEMPLATE SHOWING EXAMPLE OF ROBOT LOGIC
If you need additional clarification, you can contact me.
Please note that only Serious and immediately available programmers should apply.
Testing of the EA will need 60 days to ensure it adheres to description.
Only after confirmation of 2 weeks full testing will the project finalised for payment
I want to also be able to have a control on the EA to assign it with a password or expiration time renewal control (if possible)