Expert Adviser to open a trade and re-open extra trades depending on tick price, then close allopen trades on profit

MQL5 Experts OpenCL Forex

Job finished

Execution time 4 days
Feedback from customer
job completed quickly, smoothly and efficiently. Thankyou
Feedback from employee
Thanks for the job

Specification

On Start

  1. Place buy with stoploss=2*spread, take profit=spread, weight=min
  2. Count=0

On Tick

  1. If current price=bought price-spread * (count+1)
    1. Place buy with stoploss=2*spread, take profit=spread, weight=double last weight
    2. Count=0

         else

    1. If current price=bought price+spread * (count+1)
      1. count=count+1
      2. If count=2
        1. sell all
        2. restart On Start
else
      1. return to On  Tick
else
  1. return to On  Tick

Basically, every time the price drops the current spread the robot needs to rebuy with double the volume as the last buy.

Keeping a stop loss at 2 x the spread. So at any time there is a maximum of 3 open trades only.

Then when the price rises by the 2 spreads, all 3 open trades are closed.

The mathematics leaves a profit of the initial trade.


Once robot is tested and complete, then I will require a repeat robot but of the sell rather than the buy.


If you require any further information or to discuss please contact me via watsapp

+61421795623

















Responded

1
Developer 1
Rating
(334)
Projects
544
67%
Arbitration
53
21% / 40%
Overdue
169
31%
Free
Published: 1 code
2
Developer 2
Rating
(206)
Projects
333
35%
Arbitration
66
12% / 58%
Overdue
87
26%
Free
4
Developer 4
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
Published: 347 articles, 1 code
6
Developer 6
Rating
(88)
Projects
143
39%
Arbitration
21
19% / 48%
Overdue
30
21%
Free
7
Developer 7
Rating
(5)
Projects
14
86%
Arbitration
2
0% / 100%
Overdue
1
7%
Free
8
Developer 8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Chciał bym w tej grze poznać dużo i zrozumieć ciężko bez języka mam tylko sms na gry nie mam kieszonkowych i kiepsko się trzymam finansowo żeby czasem myślę gdzie będę
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
NinjaTrader 8 / NinjaScript Phase 1 build: convert an existing Auction Market Theory (AMT) strategy into objective, alert-only decision-support logic. Not a bot, no auto-execution — trades stay manual. Covers NQ/MNQ, ES, CL, MGC using 30-min TPO/Volume Profile context with 5-min confirmation: one 5-min close outside VAH/VAL = acceptance, close back inside = rejection. Dashboard shows bias, auction state, location
Hi i need help to connect my chat gtp with ninja trader I have all tools. Just need supervision and seeking a professional who can do that for me. This the bridge extension https://crosstrade.io/blog/chatgpt-to-ninjatrader-mcp-walkthrough
MetaTrader 5 (MT5) Price-Level Monitoring & Automated Phone Call Alert System Developer Needed Project Overview I am looking for an experienced developer to build a custom trading assistant for MetaTrader 5 (MT5) that monitors important price levels I manually mark on my charts and immediately calls my phone when the market reaches or interacts with those levels. This is Phase 1 of a larger trading assistant project

Project information

Budget
100+ USD
Deadline
to 10 day(s)