Looking for a coder to modify a loop

Auftrag beendet

Ausführungszeit 21 Stunden
Bewertung des Kunden
The best developer I have used here.
Bewertung des Entwicklers
It was nice to work with the client. Thank you for the project.

Spezifikation

The loop will calculate consecutive losing trades and reset to zero once a winning trade is met. 

For example: A trade is closed as a losing trade, the loop will count 5 losing trades and return the value 5, then once a trade has closed in profit the loop will reset.

I am looking for very concise code that I will add to an existing EA.


This is the code I have as an example which does not function the way I am proposing.

//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
int ConsecutiveLosses()
  {
//Calculate the no of winners and losers from today's trading. These are held in the history tab.
   int LosingTrades = 0;
   int loss_count = 5;

// (BA) Get the start second of the current day (server time)
   for(int cc = 0; cc <= OrdersHistoryTotal(); cc++)
     {
      if(!OrderSelect(cc, SELECT_BY_POS, MODE_HISTORY))
        {
         continue;
        }
      if(OrderSymbol() != Symbol())
        {
         continue;
        }
      if(OrderMagicNumber() != MagicNumber)
        {
         continue;
        }
      if(OrderType() > 1)
        {
         continue;
        }
      if(OrderProfit() < 0)
        {
         LosingTrades++;
         if(LosingTrades > loss_count)
            break;
        }
     }//for (int cc = 0; cc <= tot -1; cc++)
   return(LosingTrades);
  }//End void CalculateDailyResult()

Bewerbungen

1
Entwickler 1
Bewertung
(131)
Projekte
152
22%
Schlichtung
5
0% / 60%
Frist nicht eingehalten
4
3%
Überlastet
2
Entwickler 2
Bewertung
(89)
Projekte
105
34%
Schlichtung
5
40% / 20%
Frist nicht eingehalten
5
5%
Beschäftigt
3
Entwickler 3
Bewertung
(375)
Projekte
398
31%
Schlichtung
62
19% / 69%
Frist nicht eingehalten
50
13%
Arbeitet
4
Entwickler 4
Bewertung
(150)
Projekte
220
58%
Schlichtung
3
100% / 0%
Frist nicht eingehalten
45
20%
Beschäftigt
5
Entwickler 5
Bewertung
(41)
Projekte
54
4%
Schlichtung
5
0% / 60%
Frist nicht eingehalten
4
7%
Frei
6
Entwickler 6
Bewertung
(298)
Projekte
427
26%
Schlichtung
18
61% / 33%
Frist nicht eingehalten
26
6%
Frei
7
Entwickler 7
Bewertung
(97)
Projekte
135
52%
Schlichtung
4
50% / 50%
Frist nicht eingehalten
0
Arbeitet
Ähnliche Aufträge
I have an ea which is working according to ict liquidity sweep strategy . With sl and tp but I test it in strategy tester but the result is awful the sl is hitting more than tp so i want to change its sl to tp and tp to sl to set the result to its normal form is there any professional programmer to solve my inquiry ? If yes so bet for it thnk alot
Dears, i am looking for developer to make expert advisor in forex to me and i have a strategy , i need the ea to be customize and has some options to be changeable
The specifications cover 4 requests: 1- Addition of a Trailing Take Profit function 2- Addition of a function to calculate the distance according to a decreasing mode (20, 15, 10, 5...pips) 3- Addition of a function Global Profit decrement /increment size in pourcentage 4- E rror s correction in coding
I am currently seeking a highly skilled developer for an important project. I need a professional developer to convert an Indicator to tradingview on MT4. If you are highly skilled and capable of handling this project, kindly reach out now
Can you convert my tradingview indicator into a mt4 ea ? Indicator called ut bot alerts on tradingview Its open script already Will my ea have same settings for the indicator as in the indicator version on tradingview ? And I need trailing input added Daily equity protector as well Also for inputs I need option for it to close existing trade when opposite confirmed Also input for time schedule to trade Like New York
Hello, I have EA's which were previously developed that are not running correctly and giving errors. Need an experienced MQL developer to fix all issues as well as add some new settings. Thanks
Looking for a developer to create an MT4 indicator and an EA / Robot. Indicator-based strategy consisting of several moving averages, PSAR Indicator and Pinescript indicator called Coral Trend Indicator by LazyBear (pinescript source code will be provided and will need converting to MT4 code - 34 lines of code). Strategy to be an intra-day trading period on 5-minute timeframe for the European session but “Trading”
Need a simple EA That opens a long position if the MA cross up above another MA and opens a short position if the MA cross down below another MA . - The EA should only allow for one position to be open at any given time. It should close the current position if it is going to open a new position. - I want to have option to input for a lot size, a stop loss, take profit, and an input for total profit/loss USD - I want
I am looking for a programmer to do EA trader. If you can understand what I want from the video i do and you can do it, contact me because you will be able to do what I want. https://drive.google.com/file/d/1wbHxbUQQqCkdpr0-pHfIh2b288LzYTV2/view?usp=sharing
Looking for a programmer who can make an indicator that Gives an Arrow for trade entry , Showing an Entry level , Stop Level and a Take profit level . based on the Logic in the attached Pictures . Once the Indictor is done then we will discus on Making an EA for auto trading

Projektdetails

Budget
30+ USD
Für die Entwickler
27 USD
Ausführungsfristen
von 1 bis 10 Tag(e)