ADD TRAILING STOP AND MONEY MANAGEMENT - mGRID v.7

Trabalho concluído

Tempo de execução 1 hora
Comentário do cliente
fast and efficient. did most of the work before even accepting the job. excellent work
Comentário do desenvolvedor
Thanks.

Termos de Referência

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;
  }

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(208)
Projetos
310
34%
Arbitragem
59
36% / 39%
Expirado
100
32%
Trabalhando
2
Desenvolvedor 2
Classificação
(2622)
Projetos
3327
67%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
3
Desenvolvedor 3
Classificação
(772)
Projetos
1039
44%
Arbitragem
50
8% / 50%
Expirado
116
11%
Livre
Pedidos semelhantes
Acquire existing profitable Expert Advisor with source code for client investment portfolio - Full .mq5 code (clean & commented) - 4+ years backtest (Jan 2022 - Dec 2025, 100% tick data) - ~10% monthly return - Max DD ≤15% - No grid/martingale (strictly enforced) - 1-month forward test required - Send trade history + EA details for review - Demo EA file needed for backtest replication - Open to any currency
i need the multi-chain dex bot with set up and installation i need you to help me set the copy reading wallet on binance or phantom with capital for 100 Euro to 1 Million in one year
123c ea 30+ USD
i need to fix this it is returning invald 2025.12.25 23:08:31.011 Trades '700031908': failed prices for 0 [Invalid request] i want it fixed i use Ai to chek and this is what it report
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
I'm looking for a skilled trader/developer to share a proven scalping strategy on M1-M5 timeframes without using Martingale, Grid trading, or Hedge. Requirements: - Minimum trade duration: 2 minutes - Lot size: <20 - Proof of skill: Provide MT4/MT5 trade history report (PDF/HTML) - No High Frequency Trades - GMT+1 timezone, flexible hours - Price negotiable, performance-based compensation possible If you're a
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I have an indicator i need automated i use it manually and it plots arrows. Can you automate it for my Ninjatrader8? Do you need to see file? Expert Ninjatrader Developer can Bid for this project
Hi! I need a trading bot/robot to automate my trades. I don't need much complicated bot. I want it to enter, exit trade and can do this in matter of second or multiple times in a second. Should be able to adjust, put SL/TP in the same menu. Would appreciate your ideas! Please write to me before anything else

Informações sobre o projeto

Orçamento
30 - 50 USD
Prazo
de 1 para 5 dias