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
등급
(375)
프로젝트
398
31%
중재
62
19% / 69%
기한 초과
50
13%
작업중
2
개발자 2
등급
(2409)
프로젝트
3026
66%
중재
77
48% / 14%
기한 초과
340
11%
작업중
3
개발자 3
등급
(23)
프로젝트
45
20%
중재
24
29% / 42%
기한 초과
12
27%
작업중
4
개발자 4
등급
(466)
프로젝트
695
56%
중재
43
30% / 33%
기한 초과
112
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
등급
(439)
프로젝트
496
33%
중재
25
40% / 48%
기한 초과
7
1%
로드됨
11
개발자 11
등급
(66)
프로젝트
143
34%
중재
11
9% / 55%
기한 초과
26
18%
작업중
비슷한 주문
PLEASE PROGRAMMER WITH ARBITRAGE EA KNOWLEDGE REUIRED; I want a programmer to COPY the following setting from MAIN EA to work with the arbitrage EA TRADER SPREAD 600. 1.copy and add the VIRTUAL PENDING STOP SETTING 2. copy the TRADING CONDITION 1 TO 4 3. Copy the setting PULLBACK in MAIN EA to be considered before an order is opened.if in use. i will provide all eas, *please i need a trial first before we
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

프로젝트 정보

예산
75 - 100 USD
개발자에게
67.5 - 90 USD
기한
 5 일