Consecutive UP/DOWN bar buy/sell EA

MQL5 Эксперты

Техническое задание

Hi - I have a 90% finished EA that needs to be fixed (the last coder did not finish it), below is the description and I will send bidders the MQ5 file so they can look at it.


I want an EA that opens a buy trade after "x" consecutive negative day closes; or enters a sell after "x" consective positive previous bars.. e.g. if I entered "x=5" into the parameter, the EA would buy after 5 negative bars (at the open of the 6th bar) and sell after 5 positive bars (at the open of the 6th bar).


Also the EA continues to open trades until it wins e.g. if "5" consecutive positive bars occured, the EA would Sell, then if the next bar was Positive it would sell again - The EA carries on selling until the next bar is negative and the EA wins.


The EA wil have a "first order lot" system and then a "Secondary multiple order system" - this is for any new orders that are opened after the first trade if the trend continues e.g. if "1" is entered for the "first order lot" parameter and "2" is entered into the "Secondary multiple order system", this means the EA will "x2" every further order. So if there was 3 orders before winning, the order lots would be: 1lot, 1x2=2lots, 2*2=4lots.


The EA continues selling with all orders open and closes all open trades in the martingale once a daily close is positive


The EA will have two  TP/SL systems.

1. The TP = the close of the first positive bar, no SL is used

2. the SL= the close of the CURRENT bar so the SL will not be active until the "now" bar has closed e.g. after 3 consecutive up bars close at $110, the sell order is executed at the open of the 4th bar, if the 4th bar rises and closes at 120, the SL for the order will be 120.

the TP = % retracement of the consecutive up/down candles e.g. if 3 consecutive up bars close at up at $100 (from $90), a sell is entered at the open of the 4th bar at $100 and the TP is a % of the $10 gains that the symbol has made. For example, if the TP = 50%, the sell position at $100 would have a TP of $95 - as 50% of $10 (the gains from the consecutive wins) is $5. So the TP is 5%. And there is an "open price" TP that sets the TP to a % of the open price e.g. if the trade is opened at $100 and the TP is 10% then it means the TP = $110.#



Attached is the code.

Файлы:

Откликнулись

1
Разработчик 1
Оценка
(13)
Проекты
24
42%
Арбитраж
3
33% / 0%
Просрочено
4
17%
Свободен
2
Разработчик 2
Оценка
(54)
Проекты
64
42%
Арбитраж
5
20% / 60%
Просрочено
4
6%
Свободен
Похожие заказы
In search of a dev who can develop an EA that executes buys on Boom and sells on Crash after a Spike. Need to be able to specify TP and SL
1. Extract all historical economic calendar data. 2. Extract all historical price data for all symbols and all timeframes. 3. Calculate the difference between successive OPEN, HIGH, LOW, and CLOSE prices for each symbol to measure correlation ( https://youtu.be/TytPUU9Y55E?si=hTGn4YBWw786J5QY 1:55-2:20). 4. Assign weights to each symbol based on their correlation with other symbols. 5. Aggregate the data from all
Hi, I am looking for a developer who will develop for me an EA code/program which will help me to get data from forex factory. The EA code/program meets the following requirements. 1. I currently have an EA that I manually specify specific (High impact) news times where I would want to start analysis (You will see a screenshot in the attached requirement). 2. I developed this EA myself, so I have the source code but
Please I need a profitable EA with any of the following criteria; Hedge Trading Hedging trades is permitted however, hedging separate accounts against each other (known as Wash Trading) is not permitted and is a direct violation of the OnlyFunds’ Terms and Conditions. Wash trading is illegal and considered to be fraudulent, as it undermines the integrity of financial markets. Swing Trading Swing trading is
I have an EA that has a nasty drawdown but otherwise is quite profitable. I am looking for a developer who can improve the drawdown by closing or hedging the older open orders. You'll need to supply a demo showing that you've solved this problem rather than just claiming that you can fix it
dear developers.i want to modify my custom indicator by adding new rules for alerts and arrows,the indicator is based upon some trend following rules and the indicator should be able to send out all types of alerts.i will need demonstration...thank you
Looking for a developer of profitable EA tested for over 2 or more years time history of profits with investors read me only access as proof of usage. MT4 or MT5
Adjust MY Hedging EA 30 - 40 USD
1. Need averaging TP for my hedging EA. (Close both Buy and Sell position with TP) 2. Add function auto/manual entry. (EA will entry based on manual position(placed by trader) or auto trade based on existing setting)
I have a robot set up that sends trading signals to my telegram group and the group sends trading signals for (28 forex pairs, 3 crypto pairs, 6 commodities, 6 indexes, & 55 stocks) basically almot 100 CFDs and sends out trend price action breakout, impulse, reversal, and exit indications to each one of those CFDs on different timeframes. I want to make it so that a person can sign up and choose which alerts they
I am in search of a skilled robot developer to craft a Martingale with Hedge strategy algorithm. The ideal candidate will possess deep expertise in algorithmic trading, proficiency in programming languages, and a keen understanding of financial markets. The role entails designing and implementing an automated system capable of effectively executing the Martingale strategy while integrating a hedge mechanism to manage

Информация о проекте

Бюджет
20- USD
Сроки выполнения
до 5 дн.