Add martingale to my Bollinger Band EA see the Martingale Logic

MQL4 전문가

명시

I want someone to modify my EA: 

1.    My EA uses Bollinger Band of M5,M15 and M30 simultaneously.

1.    My EA uses Bollinger Band of M5,M15 and M30 simultaneously.

2.       I want to modify the EA to work with Martingale

3.       My stop loss is usually set at 1000 pips and Martingale entry at 500 pips

4.       If “a buy trade” opens and the price goes up to take profit martingale should not work.

5.       If “a sell trade” opens and the price goes down to take profit martingale should not work.

6.       If “a buy trade” opens and the price goes down instead of going up, but the price level < 500 pips from the open buy, to the extent that the price retraces back to take profit, martingale should not work.

7.       If “a sell trade” opens and the price goes up instead of going down, but the price level < 500 pips from the origin, to the extent that the price retraces to back to take profit, martingale should not work.

8.   If “a buy trade” opens and the price goes down instead of going up, but the price level = > 500 pips, the martingale should initiate logic, so that it helps to make profit  or reduce the loss

9.       If “a sell trade” opens and the price goes up instead of going down, but the price level = > 500 pips from the origin, the martingale should initiate logic, so that it helps to make profit  or reduce the loss

 

1.  Logic 1. If the Bollinger band opens Sell, but the price goes up or increased to a distance of 500 pips. The Martindale will open both Sell (S1) and Buy (B1) at the same time. Sell(S1) at Martindale = (1*Lot* Distance), and Buy (B1) at Martindale = (2*Lot*Distance).

  • Logic 1.1. If after the Martindale in logic 1 i.e. (Sell (S1) at Martindale = 1*Lot* Distance) opens, and the price rises and keeps rising, then do nothing to B1 until the (Buy (B1) at Martindale = 2*Lot* Distance) takes profit.
  • Logic 1.2. If after opening the Martindale in logic 1 i.e. (Buy (B1) at Martindale = 2*Lot* Distance), and the price falls, this will make the Buy (B1) becomes a loss. So if the price continues to fall and reaches 0.5*lot*distance i.e. 0.5 of S1, then open  new Sell (S2) again from S1. The sell (S2) will now be (2*Lot*0.5*distance). I believe this well help to reduce the loss if it occurs. Note that when martigale  opens S2, it does not close S1. The S1 and S2 will stop at the take profit, while B1 ends at stop loss
  • Note that after all this, the lot size must return back to the original i.e. Lot = 1.0.

 

     2.  Logic 2. If the Bollinger band opens Buy, but the price goes down or decreased to a distance of 500 pips. The Martindale will open both Sell (Si) and Buy (Bi) at the same time. Sell(Si) at           Martindale = (2*Lot* Distance), and Buy (Bi) at Martindale = (1*Lot*Distance).

  • Logic 2.1. If after opening the Martindale in logic 2 i.e. (Buy (Bi) at Martindale = 1*Lot* Distance), and the price falls and keeps falling, then do nothing until the (Sell (Si) at Martindale = 2*Lot* Distance) takes profit.
  • Logic 2.2. If after the Martindale in logic 2 i.e. (Sell (Si) at Martindale = 2*Lot* Distance), and the price rises, this will make the Sell (Si) becomes a loss. So if the price continues to rise and reaches 0.5*lot*distance, i.e. 0.5 of (Bi) then open  new Buy (Bii) again. The Buy (Bii) will now be (2*Lot*0.5*distance). I believe this well help to reduce the loss if it occurs.
  • Note that when martigale  opens Bii, it does not close Bi. The Bi and Bii will stop at the take profit, while Si ends at stop loss
  • Note after all this, the lot size must return back to the original i.e. Lot = 1.0

 

응답함

1
개발자 1
등급
(49)
프로젝트
134
27%
중재
62
13% / 53%
기한 초과
58
43%
무료
2
개발자 2
등급
(121)
프로젝트
134
66%
중재
36
25% / 56%
기한 초과
22
16%
무료
3
개발자 3
등급
(46)
프로젝트
73
16%
중재
13
8% / 92%
기한 초과
37
51%
무료
4
개발자 4
등급
(130)
프로젝트
210
40%
중재
90
20% / 43%
기한 초과
85
40%
무료
5
개발자 5
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
비슷한 주문
Zzz 30+ USD
// กำหนดค่าตัวแปรพื้นฐาน input double lotSize = 0.1; // ขนาดล็อตที่ต้องการ input int takeProfit = 50; // ระยะ Take Profit (จุด) input int stopLoss = 50; // ระยะ Stop Loss (จุด) input int magicNumber = 123456; // หมายเลข Magic Number input int smaPeriod = 14; // ช่วงเวลา Simple Moving Average (SMA) // เวลาที่ออเดอร์ล่าสุดถูกเปิด datetime lastOrderTime = 0; // ฟังก์ชั่นหลักของ EA void OnTick() { //
Mobile robot 50 - 100 USD
I want a profitable scalping EA robot for mt5 and mobile phones (licence key should be provided).the video link attached below indicates how the EA robot should operate it.it analyses the market before taking trades and it trades candle to candle .also coding samples are provided on the video .it should be applicable to all timeframes.it should trade indices(Nas100,US30,S&p500,GER30,)
I use the translator I hope to make myself understood. I'm looking for a cyclical indicator. mt5. I attach videos to understand how it works. to be inserted at any point of the graph. It is possible to change the color and thickness of the line
This EA must have the following functions together: BE: place BE when the price reach a certain gain in PIPS and you can choose the offset too, so, for example it activates after 10 pips with 1 pip of offset so you can have profit with BE too Auto SL and TP Can manage the trades made by phone when MT5 is open in the PC or VPS Trailing stop (step by step): I can decide at what number of pips the trailing stop get
This is a strategy based on crossing two trend indicators on the second timeframe (1s, for example). We work not only with the market but with the limit orders as well (robot must "read" an order book). Read the whole instruction please for more details. Speak Russian, English
Martingale EA for MT5 30 - 100 USD
Criteria: Only one trade at a time. Cannot open another trade if one is running Trade on EURUSD only, once job is completed I will be happy to schedule more for other pairs You choose entry strategy and criteria win rate must be above 50% in long term backtest of EURUSD Every trade has got TP and SL Trades to last about a day, few trades a week, at least 10 pips gain per trade, so that it can be launched on normal
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market

프로젝트 정보

예산
기한
에서 1 일