Simple Martingale EA with lot manipulation

工作已完成

执行时间1 一天
客户反馈
Developer delivers very fast and timely, reply without much delay. Recommended if you are searching for fast developer. Although ugly code at first, he was willing to modify it and make it better.
员工反馈
Very good customer. Replies quickly. Explains everything very clearly. No problems at all. Looking forward to work for you again.

指定

Entry

First trade type = Buy (Default)/ Sell

Start lot = 0.1

Lot multiplier = 2.0

Max lot = 1.0


Entry condition

  1. If there is no trade (and no losing trade in the past). Directly open 1 trade with start lot and default First trade type (by default it will first open buy)
  2. Once the trade TP, (and is confirmed profit with Swap, commission and spread), it will immediately reopen a new Buy trade again (same as last winning trade).
  3. When it reached SL, (and is confirmed profit with Swap, commission and spread), it will immediately reopen a new Sell trade (reverse the trade type from the one that is losing)
    • Buy SL = Open Sell
    • Sell SL = Open Buy
    • The new open trade here due to SL of last trade will be >> Previous open lot * Lot multiplier = 0.1*2.0 = 0.2 lots
    • If this trade (Sell) hit SL again, it will change back to buy with 0.2*2.0 = 0.4 lots
    • If SL again, it will change to open sell at 0.8 lots
    • If SL again, it will open buy trade BUT at 1.0 lots (limit by the Max lot of 1.0)
      • If continuously SL, it will just open fixed at 1.0 lots
    • When the trade finally get TP (e.g. the Buy trade at 1.0 lot), it will change the lot size back to start lot of 0.1. And continue the same trade type as last winning trade with starting lot. (Back to checking condition of 2 and 3)


Exit (Fixed TP & SL)

TP = 500 pts

SL = 500 pts


Inputs

Magic no = 15112021

Comment = RM_EA_(ORDER TYPE)_(Magic no.)

  • Insert ORDER TYPE - when buy is 1 and when sell is 2
  • Magic no. as what key in by user


Clean and Readable source code is needed



反馈

1
开发者 1
等级
(70)
项目
83
11%
仲裁
13
62% / 23%
逾期
6
7%
空闲
发布者: 16 文章, 6 代码
2
开发者 2
等级
(93)
项目
133
35%
仲裁
13
38% / 31%
逾期
32
24%
空闲
3
开发者 3
等级
(772)
项目
1039
44%
仲裁
50
8% / 50%
逾期
116
11%
空闲
4
开发者 4
等级
(71)
项目
103
20%
仲裁
6
0% / 83%
逾期
3
3%
空闲
5
开发者 5
等级
项目
0
0%
仲裁
1
0% / 100%
逾期
0
空闲
6
开发者 6
等级
(499)
项目
744
56%
仲裁
48
31% / 31%
逾期
120
16%
空闲
发布者: 1 代码
7
开发者 7
等级
(91)
项目
144
38%
仲裁
67
15% / 48%
逾期
55
38%
空闲
8
开发者 8
等级
(169)
项目
204
30%
仲裁
25
40% / 44%
逾期
12
6%
空闲
9
开发者 9
等级
(568)
项目
641
41%
仲裁
25
48% / 36%
逾期
46
7%
工作中
10
开发者 10
等级
(319)
项目
568
35%
仲裁
83
30% / 45%
逾期
206
36%
已载入
11
开发者 11
等级
(69)
项目
146
34%
仲裁
13
8% / 62%
逾期
26
18%
空闲
发布者: 6 代码
相似订单
I DO NOT need any programming or strategy development. I already have a working NinjaTrader 8 automated strategy based on a 3/5 EMA crossover. I need you to run my existing strategy through NinjaTrader Strategy Analyzer/Optimizer, test the existing adjustable parameters, and find robust settings with the best profit factor and lowest reasonable drawdown. I will provide the existing NinjaScript ZIP. I do not want the
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
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
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
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
SPECIFICA TECNICA Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo , in grado di adattare il comportamento alle diverse condizioni di mercato di XAUUSD. Lo sviluppatore può utilizzare tecniche appropriate quali trend Following
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured
Composite robot 30 - 200 USD
Title: Multi-Timeframe Pure Price Action & Elliott Wave Execution Bot for XAUUSD 1. Project Overview I need a robust, automated trading bot (Expert Advisor) for MetaTrader 5 (MT5) to trade XAUUSD (Gold) exclusively. The strategy is built entirely on Top-Down Multi-Timeframe (MTF) market structure, pure price action, and Elliott Wave principles. It does not use traditional lagging technical indicators (like RSI or

项目信息

预算
30+ USD
截止日期
 3 天