Martingale Expert Advisor with no indicators

MQL4 Experts

Specification

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.




Responded

1
Developer 1
Rating
(374)
Projects
398
31%
Arbitration
62
19% / 68%
Overdue
50
13%
Loaded
2
Developer 2
Rating
(2409)
Projects
3026
66%
Arbitration
77
48% / 14%
Overdue
340
11%
Free
3
Developer 3
Rating
(23)
Projects
45
20%
Arbitration
24
29% / 42%
Overdue
12
27%
Working
4
Developer 4
Rating
(466)
Projects
695
56%
Arbitration
43
30% / 33%
Overdue
112
16%
Working
5
Developer 5
Rating
(356)
Projects
632
26%
Arbitration
89
73% / 13%
Overdue
12
2%
Free
6
Developer 6
Rating
(1)
Projects
3
33%
Arbitration
0
Overdue
3
100%
Free
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(221)
Projects
369
66%
Arbitration
10
50% / 0%
Overdue
46
12%
Free
9
Developer 9
Rating
(26)
Projects
34
26%
Arbitration
7
14% / 43%
Overdue
7
21%
Free
10
Developer 10
Rating
(437)
Projects
494
33%
Arbitration
25
40% / 48%
Overdue
7
1%
Loaded
11
Developer 11
Rating
(66)
Projects
143
34%
Arbitration
11
9% / 55%
Overdue
26
18%
Working
Similar orders
Hello. I have a mql4 ea using SuperTrend and "Absolute Strength Histogram" indicators. I need a small modification. It has missing Entry condition. If you're intereseted in it, let me know. Thanks
Adapt the following TradingView strategy for MT5, where the following values must also be modifiable: 1. **Values for Fibo calculation**: Parameters for `lenSMA`, `lenATR`, and the Fibonacci factor (`firstFactor`). 2. **Values of LenSSL**: Length for calculating SSL (`lenSSL`). 3. **Value of the LSMA**: Length of the window for calculating the LSMA (`lenLSMA`). 4. **Degree of inclination of the LSMA**: Threshold for
Necesito un bot decente para prueba de fondeo y también cuenta personal, scalp, no grid, no martingale, no practicas prohibidas, algo objetivo, confiable y rentable... 5 Min mínimos de duración por operación, algo ya hecho y bactesteado en cuenta real y de fondeo
Would it be possible to get a custom offer for a custom indicator for the Tradovate platform? they use javascript. https://github.com/tradovate I'd like an indicator calculates and displays the quantity of transactions hitting the bid, the quantity of transactions lifting the offer, as well as the % difference between them in rolling 10 second intervals updated every 0.5 seconds. is this something you can do
Hi, how are you I want a good expert that works on the MT4 platform The total must be profitable and stable StopLoss and TakeProfit should be running, not TrailingStop TakeProfit must be greater than StopLoss If you have an expert with the previous specifications Please send a test executable file and send your price as well Thank you
Tradovate platform 300 - 400 USD
Would it be possible to get a custom offer for a custom indicator for the Tradovate platform? they use javascript. https://github.com/tradovate I'd like an indicator calculates and displays the quantity of transactions hitting the bid, the quantity of transactions lifting the offer, as well as the % difference between them in rolling 10 second intervals updated every 0.5 seconds. is this something you can do
Hello, I am looking for a good quality coder to create an EA based on the following specification: Entry using the super-arrow indicator. Needs to have as little lag and repainting as possible. Entry is on the buy or sell arrow. There must not be more than one active trade at a time. This strategy has no stop loss, therefore the reversal entry in the opposite direction is the stop loss. The TP is 5 pips (to be
This EA bot is more specific and advance assiting.... Only needs people who have no experience in trading. System that build in EA system bot is more experter. The strategy is simple organised allowed you to trade manual and auto... This EA also provide you with an signals but depending on the market event and fundermentals
An EA based on Fibonacci 100 - 750 USD
I am in need of 3 EA based on Fibonacci re-tracement after a high or low is made,each EA will have a hedge trade on it.the hedge trade will be at the 50 percent of the Fibonacci..this will be present on all 3 EA, all three EA will have different levels of re-tracement, while the hedge trade will be a continuation (buy/sell stop), while the re-tracement trades will be (buy/sell limit)This EA must work on timeframe
EA GRIGLIA 100+ USD
Buongiorno, Vorrei sapere se è realizzabile questo semplice EA, non perchè abbia dubbi sulle sue capacità, ma che il sistema dei broker non lo blocchi come mi è già capitato con altri Expert, insomma avere la certezza che funzioni, ovviamente alle condizioni di settaggio, e se diminuire le funzioni giovi per un miglior funzionamento me lo dirà Lei. Si tratta di una banale griglia di ordini pendenti con sl e tp, a

Project information

Budget
75 - 100 USD
For the developer
67.5 - 90 USD
Deadline
to 5 day(s)