ADD TRAILING STOP AND MONEY MANAGEMENT - mGRID v.7

Job finished

Execution time 1 hour
Feedback from customer
fast and efficient. did most of the work before even accepting the job. excellent work
Feedback from employee
Thanks.

Specification

Hello,

Can anyone add a trailing stop and money management feature to the following EA?

It is a grid system that uses a user defined number of levels to set incremental pending orders in either direction of the current market price or a specific time, depending on the amount of pips you decide for each level.

If someone can add a trailing stop feature for all orders, this can be a very useful strategy. Also, if they can incorporate the following MoneyManagement system from a similiar EA into the mGRIDas well, that would be excellent..

Inserted Code
extern double Lots = 1;
extern bool MM = false, //Use Money Management or not
FromBalance = false; //Use Balance instead of Margin
extern int Risk = 10; //10%

Inserted Code
//----------------------- ADJUST LOTS IF USING MONEY MANAGEMENT
if(MM)CalculateMM();

Inserted Code
void CalculateMM()
  {
   double MinLots=MarketInfo(Symbol(),MODE_MINLOT);
   double MaxLots=MarketInfo(Symbol(),MODE_MAXLOT);
     {
      if(FromBalance==false) Lots=AccountFreeMargin()/100000*Risk;
      else if(FromBalance==true) Lots=AccountBalance()/100000*Risk;
     }
   Lots=MathMin(MaxLots,MathMax(MinLots,Lots));
   if(MinLots<0.1)Lots=NormalizeDouble(Lots,2);
   else
     {
      if(MinLots<1)Lots=NormalizeDouble(Lots,1);
      else Lots=NormalizeDouble(Lots,0);
     }
   if(Lots<MinLots)Lots=MinLots;
   if(Lots>MaxLots)Lots=MaxLots;
  }

Files:

Responded

1
Developer 1
Rating
(211)
Projects
313
34%
Arbitration
63
37% / 38%
Overdue
100
32%
Loaded
2
Developer 2
Rating
(2649)
Projects
3366
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
3
Developer 3
Rating
(772)
Projects
1039
44%
Arbitration
50
8% / 50%
Overdue
116
11%
Free
Similar orders
Trend follower 100 - 250 USD
Tired of emotional trading and inconsistent results? Let automation do the work for you. 💡 Introducing a powerful Expert Advisor designed to: Execute trades based on proven strategy logic Eliminate human errors and emotional decisions Manage risk intelligently Operate 24/7 without fatigue 📊 Key Features: ✔️ Advanced entry & exit conditions ✔️ Smart trade management (SL/TP optimized) ✔️ One-trade-at-a-time logic for
Alphapipfx 30+ USD
Sniper Strategy EA -Presicion Forex Trading Bot for MT4 and MT5 Sniper Strategy EA is a fully automated Expert Advisor that executes high-probability forex trades using EMA 50/200 trend detection, RSI 14 momentum filtering, and automatic Support and Resistance zone identification. This bot does not chase price — it waits for price to come to key levels and confirms with multiple indicators before entering, just like
I already have an MT5 trading bot called Omega Bot and I am looking for a marketer / seller who can help me find real buyers. Commission: 100 USD per successful sale Bot details: - MT5 only - Gold and Silver - M15 - ORB strategy - Asia and New York sessions - Automatic risk management - Break-even - Trailing stop - Spread filter - Beginner friendly - Ready settings file - Trial version available - Support after sale
Hello, I’m looking for an experienced MQL4 developer to build a custom MT4 Expert Advisor based on a Koncorde-style indicator strategy. Here are the main requirements: 🔹 General Overview The EA must be a master EA , running on a single chart and managing multiple currency pairs simultaneously No need to attach EA to each chart Must support a configurable list of symbols 🔹 Indicator Requirement Develop a custom
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party
Hi guys I’m looking for a coder who’s experienced in one script. The candidate must be familiar with fractals and self similarity. If you can’t code self similarity, please don’t bother contacting me ( respectfully). I just don’t want us to waste each others time. My budget is 100$. If that’s too low for you please, don’t contact me. Only contact me if you can code self similarity and can accept 100$. I will provide
Looking to acquire a good MT5 based EA that works on Gold, forex pairs or BTC. Must be suitable for current market conditions and profitable in backtests. Suitable on 1 Min timeframe to be used on, Must be actively opening many positions throughout the day. Share me the details if this matches something you have or developed. Looking to get this finalised within the weekend
I am looking for an experienced MQL5 developer to improve an existing forex EA, not build a completely new robot from zero. Important note: I use GPT to help me write because my English is limited. The wording may be assisted by GPT, but the trading issues, testing observations, and improvement goals are real from my side. I need a developer who is patient, understands strategy logic well, and can explain the
Fair Value Gap Expert , Optimize the core logic for live chart . [Filters are working] Lets ace the trailing stop . Change points to pip . Project will start from next week
I am looking to develop a highly optimized and fully modular script in MQL5 specifically for detecting RSI Divergences. This script will serve as a foundational building block to be integrated into a larger, comprehensive Expert Advisor (EA) later. Therefore, execution speed, strict logic, and a clean codebase are my absolute top priorities. Here are the core technical requirements for this project: 1. MQL5

Project information

Budget
30 - 50 USD
Deadline
from 1 to 5 day(s)