Martingale Expert Advisor with no indicators

MQL4 Experts

Spécifications

Open Buy and Sell

input double StartLots = 0.1;


Maritnagle on both sides.


input double pipStepWin = 25;

input double pipStepLoss = 25;


Lot exponent on both sides

input double LotExponentWinning= 1;

input double LotExponentLosing= 2;



For losing side, tp is breakeven point + Takeprofit + Sread

For winning side

1. first 2 levels profit at breakeven + X pips

2. for levels more than 2, tp is the previous level. for examples after 4 levels entries, tp is level 3.


If things go bad in martinagle at certain level, there will be a hedge in the opposite direction. SO if the buys are losing, at level 5, it will hedge the trade.

extern double HedgeLineLevelBuy = 5;

extern double HedgeLineLevelSell = 5;


If one set is hedged in sell, there can be more sets based on MaxSets allowed.

input int MaxSetsBuys = 3;

input int MaxSetsSells = 3;


When a trade is hedged, it stores the retracement distance to TP.

If there is one hedged trade of buy side and one hedged trade from sell side, we will open the hedges and allow them to move. One will take profit and the other one gets hedged at that next level.


The max level for emergency stoploss is level 10.


So example is as follows

Enter long and short 0.1 lots each

at 25 pips up- Level 1, the buy takes another 0.1 and the sell takes a 0.2 with different tp levels as mentioned above.

at another 25 pips up is the Level 2, the biy takes another 0.1 and sell takes 0.4 and so on, with diff tp as mentioned above.

the buys and sell are irrespective of each other.


If it reaches level 5, that is 125 pips, the sells will get hedged with 0.1+0.2+0.4+0.8+1.6 = 3.1 lots.

This will be held with a note of the tp distance.

Another hedged buy is collected, as the market going in the reverse direction.

In the above 2 trades we close the hedges and allow the market to move. Let's say the market went up, the buy trade took profit and the sell trade went to level 6 and got hedged. It will wait for the next buy to be able to take profit.


This will repeat as many times as the emergency stoploss is croseed or when MaxSetsBuys  || MaxSetsSells is exceeded.


Any information needed, kindly ask.




Répondu

1
Développeur 1
Évaluation
(375)
Projets
398
31%
Arbitrage
62
19% / 69%
En retard
50
13%
Travail
2
Développeur 2
Évaluation
(2409)
Projets
3026
66%
Arbitrage
77
48% / 14%
En retard
340
11%
Travail
3
Développeur 3
Évaluation
(23)
Projets
45
20%
Arbitrage
24
29% / 42%
En retard
12
27%
Travail
4
Développeur 4
Évaluation
(466)
Projets
695
56%
Arbitrage
43
30% / 33%
En retard
112
16%
Travail
5
Développeur 5
Évaluation
(356)
Projets
632
26%
Arbitrage
89
73% / 13%
En retard
12
2%
Gratuit
6
Développeur 6
Évaluation
(1)
Projets
3
33%
Arbitrage
0
En retard
3
100%
Gratuit
7
Développeur 7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
(221)
Projets
369
66%
Arbitrage
10
50% / 0%
En retard
46
12%
Gratuit
9
Développeur 9
Évaluation
(26)
Projets
34
26%
Arbitrage
7
14% / 43%
En retard
7
21%
Gratuit
10
Développeur 10
Évaluation
(439)
Projets
496
33%
Arbitrage
25
40% / 48%
En retard
7
1%
Chargé
11
Développeur 11
Évaluation
(66)
Projets
143
34%
Arbitrage
11
9% / 55%
En retard
26
18%
Travail
Commandes similaires
I have a thinkorswim indicator that I'd like to convert to trading view. Is anyone here that can help me with! Do you need to know anything details about this project before you could see if it's something you can do ? Send a DM and let me share with you my scrip
Hello, am looking for an expert that can code my expert advisor from the scratch and also adding my indicator to it, NOTE: the developer must be a professional and i need it within two days from now and also i need someone that can provide me with the test file before placing the order but will already be selected
Hello, am looking for an expert that can code my expert advisor from the scratch and also adding my indicator to it, NOTE: the developer must be a professional and i need it within two days from now and also i need someone that can provide me with the test file before placing the order but will already be selected
Can you get my drafts to work? Have to conditions in RSI and Stoch oscillators ,,,I have a draft but its not run,, you can help me? if iRsi <30 ordersend op_sell iStoch > 80 ordersend op_sell Period_15M Send Orders_Buy limit Pivot Price Send Orders_Sell Limit Pivot Price
Hello, am looking for an expert that can code my expert advisor from the scratch and also adding my indicator to it, NOTE: the developer must be a professional and i need it within two days from now and also i need someone that can provide me with the test file before placing the order but will already be selected
I need to develop an EA that based on SMC concept on any Forex Pairs and timeframe. The action flow of the EA will be as following link: https://fxopen.com/blog/en/smart-money-concept-and-how-to-use-it-in-trading/#:~:text=The%20Smart%20Money%20Concept%20(SMC)%20is%20a%20trading%20strategy%20focused,as%20banks%20and%20hedge%20funds. The EA's entry points will always be within the order block. The block will be
I require a highly experienced coder to create an MT5 EA, based on detailed instructions. The EA is quite basic in nature, and is reliant on the settings inputted by the user. However, the EA still needs to be coded correctly to ensure settings inputted are correctly executed by the EA. The coder must speak fluent english and have a basic understanding of trading to ensure a common sense approach to any coding. For
Hello there!! I need a very and highly technical developer to help me with a project on the ninjatrader please kindly bid if you can do this and all the needed information will be shared via inbox
I recently bought an indicator, that sends out notifications for trades i need to place, on the notification these and SL and TP, so i want an EA that would automate that for me
SMART MONEY 30 - 49 USD
--- Job Title: EA Programmer for Smart Money Concept (Urgent) Job Description: We are seeking an experienced EA programmer to finalize a project focused on implementing the Smart Money Concept. The progress is at 80%, and we need someone to complete the remaining tasks within a week. Project Requirements: - Liquidity, CHoCh, and Return to OrderBlock: Implement these key components effectively into the Expert Advisor

Informations sur le projet

Budget
75 - 100 USD
Pour le développeur
67.5 - 90 USD
Délais
à 5 jour(s)