Please create an EA

MQL5 Uzmanlar Forex

Şartname

Summary: This is a trading strategy designed to generate profits through rebates. It starts by opening positions in both directions, and all positions are closed at a breakeven or slight profit level of around $0 or $1, including virtual profits (based on the set TP). After that, trades follow the trend according to the pending orders. However, if positions in both directions are open, they are closed again at around $0 or $1, as initially done. Even if the position closes at breakeven due to rebates, it results in a profit. The reason for closing positions at around $0, including rebates, when both directions are open is based on the principle that one cannot predict the market direction.

Settings:

  1. Magic Number
  2. Distance
  3. Virtual Profit per Position
  4. TP A (when positions in both directions are open) (Set in USD, up to two decimal places)
  5. TP B (when a position in one direction is open) (Set in USD, up to two decimal places)
  6. Position Total SL - True, False 6-1. If False, input the number of points at which the SL should activate, based on the second order opened after the initial Buy and Sell.
  7. Trading Time Specification (separated into Start and End times)

Process:

  1. Initially, both Sell and Buy orders are opened simultaneously. A Sell Stop is placed below the Sell order based on the set distance, and a Buy Stop is placed above the Buy order. Suppose the Sell order is opened, and all positions are closed according to TP A. (For example, there will be 1 Buy and 2 Sell positions, and the balance will close at a loss. However, due to the rebate, the loss will be near $0.) The orders are closed as soon as Buy and Sell positions are mixed, not only for three positions but also from the moment they are combined. This assumes Setting 6 is True.

After the Buy and Sell orders are opened simultaneously, if an additional order is opened and the market moves in the opposite direction, all three positions will be closed with a combined loss if Setting 6 is False (as further explained in point 4).

If closed, existing pending orders should be deleted.

  1. Once the Sell Stop is opened, a Buy Stop is placed above, and another Sell Stop is placed below, based on the Sell order. When the Sell Stop is opened, the existing orders are closed for profit (based on the set TP B). If a second Sell Stop is opened, the remaining Buy Stop is canceled, and new Buy Stop and Sell Stop orders are placed based on the set distance value.

  2. The virtual profit per order (Setting 3) is applied when Buy and Sell orders are mixed.

  3. If Setting 6 is False, both Sell and Buy orders are open simultaneously, and an additional order is opened due to the Stop. The total number of orders will be 3. For example, if the Buy order is opened, there will be 2 Buy and 1 Sell orders. If the order opened by the Stop reaches a negative of around 10 points, all three orders are closed.

  4. The initial orders (Buy & Sell) are opened based on the close of the candle on the current chart.

  5. If closed in profit, the existing Stop orders are not deleted and remain pending. They are utilized to capture further profits in line with the trend. Example: If the Buy Stop is opened, new Buy Stop and Sell Stop orders are set based on that order.

  6. The trading time is set based on the server time.

  7. Information text is needed on the chart: 8-1. Number of closed orders 8-2. Number of SL orders 8-3. Amount of SL


I will provide additional examples after making a selection.


Dosyalar:

PNG
Buy_Sell.png
187.8 Kb

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(256)
Projeler
319
29%
Arabuluculuk
34
26% / 65%
Süresi dolmuş
10
3%
Serbest
2
Geliştirici 2
Derecelendirme
(50)
Projeler
64
20%
Arabuluculuk
11
27% / 55%
Süresi dolmuş
5
8%
Serbest
3
Geliştirici 3
Derecelendirme
(75)
Projeler
80
6%
Arabuluculuk
46
11% / 54%
Süresi dolmuş
7
9%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(2)
Projeler
5
0%
Arabuluculuk
3
0% / 100%
Süresi dolmuş
1
20%
Çalışıyor
Benzer siparişler
Samuel 100+ USD
//+------------------------------------------------------------------+ //| LEVEL 100 SNIPER BOT (SMC + ATR + RSI + Trend Filter) | //+------------------------------------------------------------------+ #property strict #include <Trade/Trade.mqh> CTrade trade; //--- Inputs input double RiskPercent = 1.0; input int FastMA = 20; input int SlowMA = 50; input int RSI_Period = 14; input int ATR_Period = 14; input
Subject: Expert Advisor Refactoring & Optimization Request – ZigZagSignalTrader_SmallAcc Dear Developer, I am seeking a senior MQL5 developer to refactor and optimize an existing Expert Advisor titled "ZigZagSignalTrader_SmallAcc." The current version is a prototype designed for small accounts (0.01 lot) using a ZigZag and EMA trend-following strategy. While functional, the code requires professional hardening to
Panda101 500+ USD
//+------------------------------------------------------------------+ //| Simple Moving Average Crossover EA | //+------------------------------------------------------------------+ #property strict input int ShortMA = 10; input int LongMA = 50; input double LotSize = 0.01; int shortMAHandle; int longMAHandle; //+------------------------------------------------------------------+ int OnInit() { shortMAHandle =
Panda402 30 - 100000 USD
The file must be fast to move with the market. It must be transparent it must move accordingly with the market and increase the money and also with less risk
Description: I am looking for an experienced MT4/MT5 (MQL4/MQL5) developer for consultation and possible future development of an advanced Expert Advisor architecture. This is NOT a simple RSI, MACD, martingale, or indicator-only EA project. I already have an existing EA framework using: RSI timing logic EMA direction filters trend and volatility filters DCA / basket management protection and recovery logic Now I
I need an experienced MQL5 developer to build a custom MT5 Expert Advisor for XAUUSD. Strategy Overview: Trend-following using EMA 50/200 on H4 and H1 Pullback entries on M5 using RSI + candle confirmation No martingale, no averaging down Controlled scaling only when trades are already in profit Maximum 2–3 positions per direction Risk Management: Daily loss limit (%) Equity hard stop (%) Consecutive loss pause
I am looking for an experienced MT4 developer or strategy tester to run a comprehensive optimization of my existing Expert Advisor (EA). The EA is already developed and working as intended — your task will be to configure and execute the optimization process using the "Every tick based on real ticks" model. Scope of Work: Run EA optimization in MT4 Strategy Tester. Use "Every tick based on real ticks" as the
Gold Edge Pro 30 - 150 USD
Create a fully working Expert Advisor (EA) for MetaTrader 5, designed exclusively for GOLD (XAUUSD only). This is a high‑probability trend‑following breakout strategy built specifically for passing 2‑step prop firm challenges — it delivers a ~60–65% win rate, uses a strict 1:3 risk/reward ratio, and is optimised to pass both phases in roughly 1–2 weeks total. --- ⚙️ USER INPUTS — FULLY FLEXIBLE RISK --- All main
This EA is for trading XAUUSD. There are 2 trade logics. One based on trend reversal (with 5 trade opening conditions). The second is based on trend continuation (with 1-2 conditions)
I want the bot to be fully automated trading key levels of (support and resistance ) from the higher-timeframe with atleast a 70% win rate. Experienced developer with atleast 3-4 years THANK YOU

Proje bilgisi

Bütçe
50+ USD