Martingale Expert Advisor with no indicators

MQL4 エキスパート

指定

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.




応答済み

1
開発者 1
評価
(376)
プロジェクト
398
31%
仲裁
62
19% / 69%
期限切れ
50
13%
仕事中
2
開発者 2
評価
(2424)
プロジェクト
3051
66%
仲裁
77
48% / 14%
期限切れ
340
11%
3
開発者 3
評価
(23)
プロジェクト
45
20%
仲裁
24
29% / 46%
期限切れ
12
27%
4
開発者 4
評価
(466)
プロジェクト
698
56%
仲裁
43
30% / 33%
期限切れ
113
16%
仕事中
5
開発者 5
評価
(356)
プロジェクト
632
26%
仲裁
89
73% / 13%
期限切れ
12
2%
6
開発者 6
評価
(1)
プロジェクト
3
33%
仲裁
0
期限切れ
3
100%
7
開発者 7
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
8
開発者 8
評価
(221)
プロジェクト
369
66%
仲裁
10
50% / 0%
期限切れ
46
12%
9
開発者 9
評価
(26)
プロジェクト
34
26%
仲裁
7
14% / 43%
期限切れ
7
21%
10
開発者 10
評価
(458)
プロジェクト
517
33%
仲裁
26
38% / 46%
期限切れ
7
1%
多忙
11
開発者 11
評価
(66)
プロジェクト
143
34%
仲裁
10
10% / 60%
期限切れ
26
18%
類似した注文
I have an Expert Advisor in ex4 and mq4 file formats that I would like to recreate with its original strategy. I believe the file have a bug or one error inside or maybe also is a Decomp file , and as a result, I am unable to understand the rules it follows to evaluate the market and open orders. I am looking for a developer who can help me reconstruct the strategy accurately. The mql4 format file would need to be
Just need an EA based on Half Trend Indicator. Maybe add stop loss and take profit. ! am open to any suggestion you may recommend me. Lot size and time frame adjustable
I am looking for live MetaTrader integration with Google Sheets using a DLL. The goal is to write trade data to a sheet after each trade closes, where the data can be accessed for further use. Data must be added to the sheet in order, must not overwrite existing information, and must not duplicate information. When writing info to the Google Sheet, use this information for each column field: Account name Account ID
Hello, I am looking for an expert in DLL to help control my current EA. I want to implement some conditions that will allow my EA to turn on and off according to DLL specifications. For example, the EA should only execute trades when a specific condition in the DLL is met, and it should stop trading when the condition is not met
Skarito98 30 - 100 USD
Always stay winning and survive....we all want a better life now this is a chance someone can take,to change their lives for the better.No one is supposed to suffer in this world,we create and invert new things and come up with ideas to solve situations we come across especially when it comes to finance. We all need better things in life and God want good things for us
Hi, I looking for a developer to help me create an EA. The EA is using 3 moving averages system namely green,red and blue MA. The EA must work on this principles. For buy setup, red MA must close above blue MA. Bullish candlestick must close above green MA. For sell setup, green MA must close below blue MA. Bearish candlestick must close blow red MA. The EA also must be able to use optimization parameters. The
--- Job Title: EA Programmer for Smart Money Concept (Urgent) EA SOURCE CODE WOULD NOT BE SENT IF THE JOB IS NOT ACCEPTED Job Description: We are seeking an experienced EA programmer to finalize a project focused on implementing the Smart Money Concept. The progress is at %, and I need someone to complete and cross-check the remaining tasks within a week. Project Requirements: - Liquidity, CHoCh, and Return to
# Automated Trading Bot for MetaTrader 5 (MQL5) ## Job Description I am looking for an experienced MQL5 developer to create an automated trading bot for MetaTrader 5. The bot should execute buy and sell orders based on specific trading conditions and include functionality to hedge open positions using a recover zone strategy. ## Requirements 1. **Trading Conditions:** - The bot should buy when the price crosses
Tipos de entrada, Alzig/RSI/ Toque na média, modo de operação, compra e venda/ somente compra/somente venda, inverter sinal sim/não, entrada automática/manual, stop por ponto/ afastamento da média, fechar no sinal oposto, sprrad máximo, slippage, número mágico, horário de abertura com início e fim, lotes de adição e espaçamento de operações separados por vírgula, adição por distância de pontos/ sinal, filtro de linha
Very quick and easy job, shouldn't take long. My strategy uses data from the ClusterDelta footprint indicator. It uses range bars, NOT timeframe bars. I need: 1) a function that checks whether a new range bar has been formed on the ClusterDelta footprint, and if so, runs a section of code that I will write 2) key values from the footprint are retrieved/stored in buffers that my EA will access (e.g. volume, delta

プロジェクト情報

予算
75 - 100 USD
開発者用
67.5 - 90 USD
締め切り
最高 5 日