Consecutive UP/DOWN bar buy/sell EA

MQL5 Experts

Spécifications

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.

Dossiers :

Répondu

1
Développeur 1
Évaluation
(13)
Projets
24
42%
Arbitrage
3
33% / 0%
En retard
4
17%
Gratuit
2
Développeur 2
Évaluation
(54)
Projets
64
42%
Arbitrage
5
20% / 60%
En retard
4
6%
Gratuit
Commandes similaires
Hi, i need a Expert Advisor, that can pass prop firm Challenges like FTMO / E8 / 1OF1FUNDING Profit 10% Max Drawdown (DD) 10% Max Daily Loss 4% All trades with SL NO trades during and after high impact news NO trades during Weekend Profitable backtest from 2010 to 2024 Trades Forex (If you already have a finished EA, send me the backtest) PLease contact me asap
Specific time EA 50 - 100 USD
EA must be able to enter Buy or Sell or Both trade(s) as a market order at a pre-determined time specified as HH:mm:ss using one of two options: regardless of what the price of the instrument is at that time or using the price as at the last closed minute as the reference eg, if specified time is 09:29:20 (HH:mm:ss), then the last reference price should be 09:29:00 If this option (1.b. / reference price) is selected
looking for a developer who can Design MT5 EA as per my Strategy based on Nadaraya [LuxAlgo] + RSI Multi Length [LuxAlgo] pine script indicator to MT5 (Mql5) Main Inputs 01) Indicator: Nadaraya [LuxAlgo] + RSI Multi Length [LuxAlgo] 02) CYCLE SETTINGS 03) LOT SIZE SETTINGS 04) TP, SL, TS SETTINGS 05) EQUITY PROTECTOR SETTINGS 06) CUSTOM TRADING SESSION TIMES 07) HIGH IMPACT NEWS FILTER Stratagy is : After identify
If auto trading disabled and trades closed (like to avoid news), then when auto trading enabled, EA needs to start trading again right away, but it doesn't. If the terminal is restarted with active EA, the EA should pick up where it left off, not make new trades because terminal restart. EA has terminal GVs. If EA is re initialized with same set file it overwrites the GVs, it should not overwrite the GV values, but
I need assistance setting up both manual and automated trading strategies. I want the flexibility to add multiple strategies in the same order as needed. Additionally, I need any profits made to automatically convert to USDT (Tether) rather than remaining in the same coin. The setup should be compatible for both PC and mobile use, and across platforms including Binance, Bybit, Bitget, Gate.io, and TradingView. If you
I need a developer who can convert my simple script from tradestation to pinescript about just 15 to 20 lines of code, the code will be drop in the conversation please let me know if this is what you can do
I want to convert my tradingview indicator to MT4. I need a developer who can get it completed under the course of 24-48hrs. And I need some who is more experience at this level and possibly if you have experience with NinjaTrader too, we can collaborate and work on it as well
Hello, I would like you to help me develop a simple Expert Advisor (EA) for trading the Boom and Crash markets. All the project requirements is available with me . kindly bid if you can develop EA for boom and out crash . Thanks
Hello, I am looking for an programmer to convert a TradingView strategy pine script to MT5 EA auto trade bot. The indicator is based on the FVG/Imbalance (Pine script will be provided) The MT5 EA must return 100% the same results as TradingView script The MT5 EA must include the same options as TradingView The MT5 EA must be errors free
Project Overview: We are seeking an experienced developer to create a custom Copy Trading Expert Advisor (EA) that supports two-way communication between MetaTrader 4 (MT4), MetaTrader 5 (MT5), and cTrader trading terminals. The EA should enable seamless copying of trades from one account to another, incorporating additional settings for flexibility and customization. The project will involve developing a DLL

Informations sur le projet

Budget
20- USD
Délais
à 5 jour(s)