Switch strategie EA between Sell and BUY order

MQL4 Indicators Experts

Job finished

Execution time 19 hours
Feedback from employee
good customer having a strategy that has the potential to make a lot of money
Feedback from customer
very good job - fast and profesionnal

Specification

hi  look  video  on Youtube

https://youtu.be/hPXhc3mAB4I



1 - i need to  start  with pending  orders  like  based  on actual price  + 100 points for exemple  - valors to  chose

2 - if price  go up so Open  BUY order  and cancell sell order and keep  BUY

3 - Same time open Pending order Buy and  sell + 100 points


VERY IMPORTENT OR with possibilities  to  chose 100 points  or 50 or 200 what i want 


4 - TP  to  actually  open BUY order with 0.50 cents  or  what  i  want and  close  all orders  and  restart like point 1

5 - if  first Buy  reach TP  clean  all pending orders and  restart point  1 

6 - if  not reach TP  and  go  down  open SELL with multiple  valors x2 or  with VALOR add 0.01 or 0.02 or 0.03 what  i want 

so  we  have 0.01 buy + 0.02 sell

7- If  price  go  down and  buy + sell = 0.50 cents so close  all  orders back to point 1 

8 - if  not  reach TP 0.50 cents because  price  go  up ADD new  BUY 0.04 at  same place  like 0.01 first  buy  or  accord  to  step size  with first pending order

If not  reach  TP , price  go  down OPEN SELL 0.08 till reach  net  profit after  add comission swap  etc 

and  continue like  that 

9 - calculation TP by 0.01 = 0.50 cents so  we  have  0.01 +0.02+0.04 so  New  valor TP  = 0.50x 0.01 + 0.50 x 0.02 + 0.50 +0.04 = 3€ 

and  like  This
every time  if  not  rech TP  add new  Buy or  Sell switch  between them  and  calculate  new  TP for  0.01 = 0.50 cents 

10 - IF  i  put at the  beginning 0.30 TP  so  calculate  all orders  by 0.30  cents  and  like this

11 - IF  reach TP  close  all and  restart with new  pending + 100 points like point 1

Look Youtube  video  how  i see this .  thanks 


of  course  i  give  you  an  example  with BUY  situation  but  if  first  order  will open  SELL  so please  do  exactly  same  for  sell . thanks


Files:

Responded

1
Developer 1
Rating
(137)
Projects
167
35%
Arbitration
11
91% / 0%
Overdue
0
Free
2
Developer 2
Rating
(499)
Projects
744
56%
Arbitration
48
31% / 31%
Overdue
120
16%
Free
Published: 1 code
Similar orders
Your XAUUSD Buy Stop / Sell Stop Grid EA Strategy 1. Initial order placement Buy Stop orders — 5 orders Place 5 Buy Stop pending orders above the current market price. Each order is spaced 1.00 XAUUSD price unit apart. Initial lot sizes range from 0.01 to 0.05 lots . Sell Stop orders — 5 orders Place 5 Sell Stop pending orders below the current market price. Each order is spaced 1.00 XAUUSD price unit apart. Initial
I am looking for an experienced and highly competent MQL5 developer to create a bespoke, fully automated Forex Expert Advisor for Meta Trader 5 for my Apple iMac. The EA will incorporate a proprietary trading strategy involving multiple position management, dynamic trade execution, advanced profit management and sophisticated risk controls. Key technical requirements: Automated trade execution and management
Hello developers and quantitative traders, I am looking to purchase a license for an EXISTING, professionally developed MT5 quantitative portfolio Expert Advisor with a long-term, independently verifiable trading history. Purchase budget: $5,000–$15,000 USD Additional annual maintenance fee: $1,000 USD I am willing to establish a long-term commercial relationship with the developer. IMPORTANT: I am NOT looking for
SIERRA CHART 40+ USD
Hello. I have some custom chartbooks/studies that run on ACSIL C++ in Sierra Charts trading platform. I need them put into pinescript to be able to be used in trading view and look similar to the charts we are giving you. also need it to be able to work on ninja trader NinjaScript (C#)/java, and MQL4 and MQL5 for metatrader 4 and 5. You would have to assist with testing. Let me know if you can help with this task
Trading 35+ USD
Project: XAUUSD Gold Trading Robot for MetaTrader 5 I want to develop a fully automated Expert Advisor (EA) for MetaTrader 5, designed exclusively for Gold (XAUUSD) and compatible with the Exness broker. Trading Strategy: Liquidity + CHOCH + Retest Identify important buy-side and sell-side liquidity zones using previous highs and lows, equal highs/lows, and confirmed swing points. Wait for a clear liquidity sweep
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Hello, I am a serious buyer interested in acquiring an existing, stable and profitable Expert Advisor (EA) specifically designed to: 👉 mainly (XAUUSD) or any other exchange rate This is a full purchase order. ⚠️ I'm not interested in creating a new EA from scratch. Only ready-to-use, proven systems with a real track record of performance. ✅ EA Requirements (Stringent) 📌 Symbol and Strategy ✔️ Trade Gold Only
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical

Project information

Budget
45+ USD
Deadline
from 2 to 3 day(s)