ADD TRAILING STOP AND MONEY MANAGEMENT - mGRID v.7

Lavoro terminato

Tempo di esecuzione 1 ora
Feedback del cliente
fast and efficient. did most of the work before even accepting the job. excellent work
Feedback del dipendente
Thanks.

Specifiche

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

File:

Con risposta

1
Sviluppatore 1
Valutazioni
(203)
Progetti
303
35%
Arbitraggio
56
38% / 38%
In ritardo
99
33%
Gratuito
2
Sviluppatore 2
Valutazioni
(2422)
Progetti
3042
66%
Arbitraggio
77
48% / 14%
In ritardo
340
11%
In elaborazione
3
Sviluppatore 3
Valutazioni
(769)
Progetti
1033
44%
Arbitraggio
50
8% / 50%
In ritardo
117
11%
Gratuito
Ordini simili
I want to make a new dashboard using 3 common indicators and the ADX indicator , which you must supply I have a MA dash which you can strip & reuse if it helps you I tried to cover all questions in the attached but i'm sure there'll be more
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
Long Position 1. Trend Line: When a Lower High (LH) is formed, draw a trend line from the previous Higher High (HH) to the new LH. 2. Trend Line Adjustment: If a new Lower High (LH) is formed without breaking the trend line, redraw the trend line to the new LH. Draw a trend line between the Higher High (HH) and the Higher Low (HL). If a new Higher High (HH) is formed, remove the previous trend line and draw a new one
I have a custom EA that works fine in the live market trading, but when doing a back test in the strategy tester , it does not open sell orders. There are no errors or warnings; it just doesn't open sell orders. I've checked every possible reason that might be the reason why it does not open sell orders, but I can't find anything, especially since it works fine in the real market and it opens both buys and sells
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5
I am seeking a highly skilled and experienced developer to assist with an important project. I need a development of an automated trading bot for NinjaTrader, utilizing a 4 SMA (Simple Moving Average) crossing strategy, with additional custom diversions for trade entries. The bot needs to be based on a strategy involving the crossing of four different SMAs. The exact periods for these SMAs and the conditions for

Informazioni sul progetto

Budget
30 - 50 USD
Per lo sviluppatore
27 - 45 USD
Scadenze
da 1 a 5 giorno(i)