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
空闲
相似订单
Creating of an expert advisor or trading bot that uses a Top Down analysis (using monthly, weekly, daily, hourly, minutes ( 30, 15, 5, 1) to determine trade direction or trend direction and makes multiple trade decisions for mt4. You can use or combine accurate trend indicators
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Hello, I want to create an EA that can be able to take and optimise trade bids using the trend tracker concept I have developed. The tracker will monitor 2 lines to determine the trend of the market and afterwards take bids towards the correct direction. It will also be able to use a distance between the bids for the direction of the trend and plan a reverse bid when the price of the extreme doesn’t change again. The
Gradient boosting and L2 100 - 200 USD
I am looking for a well experienced programmer to put/implement a gradient boosting algorithm and an L2 to reduce overfitting in my ea which l already have which uses indicators . If you are experienced please adhere
Hello, I'm looking for a developer for repair calendar in EA MT4/MT5 (News Filter - https://ec.forexprostools.com ) for all windows servers. Note: EA MT4/MT5 works with calendar on PC Win 10, 11 but not on all windows servers. I have the source code and will post within the comments section for review. If you are able to do this and quality. Please apply. Thanks
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
SCALP MARTINCALE SPY TIMEFRAME 1MIN CANDLE - SHORT SIDE ONLY 1-SET RISK : A IS A VARIABLE (HOW MUCH $) 2-SET ATR(3) : SET THE TIME AT WHICH THE ATR SHOULD BE TAKEN, IF SET 933AM THEN THE ATR OF THE 1MIN CANDLE AT 933AM CANDLE WILL BE USED (ROUND AT 0.25 UP OR DOWN) *USE NEW YORK TIME 3-SET MAX NUMBER OF ENTRY : B IS A VARIABLE 4-SET RSI(14) / C IS A VARIABLE, IF RSI(14) > C = ORDERS OPEN 5-IF RSI(14) > C IS TRIGGERED

项目信息

预算
截止日期
 1 天