An expert advisor based on Market Volatility

MQL5 专家 外汇 股票

指定

Safe Haven EA

1)     PLACING ORDERS

EA opens Buy stop and Sell Stop  at a set distance  ‘d’ from below options depending on what is chosen.

Create EA to have below as options

1A) Open of a candle

1B) Current market position

1C) Set price

Example I

 If d = 100, option 1A) is chosen, Daily candle is chosen and openprice of US 30 daily candle is 46600.0 for a chosen lot “ L” = 0.01,

i)                     A buy stop order 0.01 will be placed at 46610.0

ii)                   A sell stop order order will be p

laced  at 46590.0

 Example II

 If d = 200, option 1B) is chosen, and current of US 30 is 46500.0 for a chosen lot “ L” = 0.01,

i)                     A buy stop order 0.01  will be placed at 46520.0

ii)                   A sell stop order 0.01 will be placed at 46480.0

Example III

If d = 300, option 1C) is chosen, and price of US 30 is  set at 46100.0 for a chosen lot “ L” = 0.01,

i)            A buy stop order 0.01 will be placed at 46130.0 when current price get to the set price of 46100

ii)           A sell stop order 0.01 will be placed at 46070.0 when current price get to the set price of 46100

 

2)     SETTING TAKE PROFIT AND STOP LOSS

2A) For all three options 1A, 1B, 1C, there should be an option to set Take profit and Stop Loss.

2B) There should an option to set trailing Stop

  

3)     ORDER TRIGGER

A)     When a  stop order is triggered, the opposite stop order is cancelled and a stop with lot XL is placed at the reference price that led to the order trigger. NB X 4 ie  4, 5, 6  etc. Create and option so the value of X can be decided. 

Lets assume  x= 5 is chosen,

Consider Example I in 1 above.

For  Take profit  = 46820, Trailing Stop trigger = 400 and trailing stop distance set to 10

If buystop (order1)  0.01 at 46610.0 is triggered, sell stop 46590.0 (order 2) will be cancelled and another sell stop order (order 3) 0.01* 5(because x=5 was chosen for this example) will be placed at price 46600.0

Let us assume

 Scenario 1

Price moves to  46820.0

In this scenario take profit will be taken and all orders close

Scenario 2

Price does not get to take profit 46820.0 but gets to 46720 and begins to drop.

In this scenario because price went past 46650.0, Trailing stop would have been triggered at 46650.0 using a following distance of 10 and take profit closed at a price either at 46650.0 or higher.

All orders that was not triggered will be automatically closed because trailing stop was closed at a profit

 

Scenario 3

 Price does not get to chosen take profit or above trailing stop price trigger, but reverses.

Option 1 - In this scenario if price gets to reference price (let this apply  apply to 1B and 1C if they were the options chosen ) automatic pending order with X Lot will be triggered.

Considering our reference example I

When price gets to 46600.0, sell stop 0.05(order 3) will be triggered, the take profit for this order 'SK' will be set at SK= triggered price(TK1) - d/2, triggered price(TK1) - 3/5d , triggered price (TK1) - 2/3d, triggered price – 3/4d depending. Create EA in a way any of these options can be chosen. Triggered price here stands for automatic multiple lot order price placed by ea which got opened because take profit was not reached. We can denote the first as TK1, second TK2 third TK3 etc.

Assuming we chose SK=triggered price(TK1) - d/2

The take profit will be set to 46600.0 – 50points = 46595.0

The stop loss of the buy order (order 1) will also be set to 46595.0  automatically i.e.(46610.0 - (d+d/2 ))=46610.0 -150 points = 46595.0 which is also = SK

A buy stop order of 0.24 i.e  ( 5*(5*L)-L) will be placed at 466610.0 with take profit  =BK= triggered price(TK2) + d/2, = 46610.0 + 50 points = 46615.0

The stop loss of the 0.05 sell order(order 3) will automatically set to BK(46615.0).

The Buy stop order of 0.01 will also have its take profit changed to BK= 46615.0

 If order 3 reaches take profit, all pending orders will be closed. If it does not  the cycle continues.

 

3B) Same Patterns should be in place for Example II  and III

 Option 2 -  Follows same pattern as Option 1 but with below difference. In Option 1 if d/2 or 2/3d  is the chosen  distance for take profit such that SK= TK1 - d/2 or SK= TK1 -2/3d it remains constant be it order 3,  order 5, order 7 or every order then onwards,  however in option 2 the  subsequent d/2s, 2/3ds chosen will be further shortened by a factor 's" and this same factor will multiply lot chosen....

Using our earlier example if s=2, order 4 will be lot =2*(0.24) SK = 46600+ 50points/2.So take profit for order 4 = 46635   

Option3- This is almost same as Option 1 except that automatic  take profits in triggered orders is replaced by trail stop start and following distance.

Still referencing  our example 1

Instead of SK=triggered price(TK1) - d/2,  SK= set take profit say - 2000 = 46400.0 However trail stop start is set at 46595.0 and following 10 or option chosen. In this scenario  50 points and following distance 10 as example


Option 4 - same concept as Option 2 except that takeprofit is replaced by trail stop start triggered price(TK1) - d/2.   Distance keep decreasing while lot increases by a factor


4)     Reccuring orders.

4a) There  should be an option to repeat a cycle once price gets back to the very price that started the cycle if initial cycle is already closed in profit.

Consider Scenario 3 in 3 above.

Assuming price reaches 46595.0 and all orders got closed. EA should place a buystop of 0.01 and

sell stop of 0.01 at 46610.0 and 46590.0  if price gets back to open market price which was 46600.

 

4b) Put an option to determine how many times cycle should be repeated when conditions are met

4c)Ensure  “4b)’ applies to all three ways to start cycle which is 1A), 1B), 1C)

4d) If current market price(option 1B)  is what was chosen, cycle should restart at  time T after which all orders were closed. If T is set = 0, once orders are closed, cycle should resume immediately at the next available current price.

4e) For 1 C) Order cycle should only resume when price returns to set price

4f) If a new candle opens while a cycle on a particular candle is not closed for 1A) option. EA should not start a new cycle. A new cycle only starts once a particular cycle is closed. Set this as true or false.

If false option is chosen EA can start a new cycle while another cycle is in place

 

5)     EA to work on all Candles, at Current market price or Set price depending on what is chosen

Ensure EA works with all candles 1 miniute 5 minute, 15 minutes, 30 minutes, 1 hr, 4 hrs, daily, weekly and Monthly candles

 

6)     Option for EA to work according to a particular set time should be in place.

For example EA can be set to work from 4:00am to 9:00pm GMT,  00:00hh – 23:00 etc

 

7)     EA should have a variable lot option where initial lot placed will be function of equity so as equity increases, initial lot can increase

 

8)     EA should have a magic number and should not get confused if it is used on different time frames at the same time or used on different symbols at one time

 

 

9)     EA should be set in a way it knows public holidays and does not trade on holidays

 

10) EA should have a gap protection option.

EA will trigger an opposite order to hedge market if all orders are not closed at Time To close of market.

This should be a true or false option. Time should be set in seconds.

The EA should close the hedge order at a certain time set once market reopens. Let that time be in seconds.

Create EA to have this option as true or false

 

11) EA should have and option were instead of placing higher lot sizes in the entire cycle it rather places multiple small lot sizes 

Taking Scenario 3 in 3 above, order three whose lot is (0.05) can instead be five of 0.01 lots. This means five 0.01 sell stop orders will have been placed and triggered instead of a single 0.05 sell stop order placed and triggered


12) Ensure EA can be tested on strategy Tester in mt5


13) Ensure EA can trade on mt5 platform              14) EA should work on all currency pairs, stock indices, Crypto, commodities and all other trading instruments.

 



反馈

1
开发者 1
等级
(18)
项目
22
9%
仲裁
6
33% / 50%
逾期
1
5%
已载入
1
开发者 1
等级
(2)
项目
3
0%
仲裁
1
100% / 0%
逾期
0
空闲
1
开发者 1
等级
(12)
项目
16
13%
仲裁
4
50% / 25%
逾期
4
25%
已载入
1
开发者 1
等级
(574)
项目
945
47%
仲裁
309
58% / 27%
逾期
125
13%
空闲
1
开发者 1
等级
(77)
项目
243
74%
仲裁
7
100% / 0%
逾期
1
0%
空闲
发布者: 1 文章
1
开发者 1
等级
(17)
项目
33
45%
仲裁
1
0% / 100%
逾期
8
24%
空闲
1
开发者 1
等级
(271)
项目
553
50%
仲裁
57
40% / 37%
逾期
227
41%
工作中
1
开发者 1
等级
(64)
项目
144
46%
仲裁
19
42% / 16%
逾期
32
22%
空闲
2
开发者 2
等级
(13)
项目
18
11%
仲裁
6
33% / 67%
逾期
1
6%
空闲
发布者: 1 代码
2
开发者 2
等级
(1)
项目
2
0%
仲裁
1
100% / 0%
逾期
0
空闲
2
开发者 2
等级
(16)
项目
35
23%
仲裁
4
0% / 50%
逾期
2
6%
工作中
2
开发者 2
等级
(3)
项目
3
33%
仲裁
0
逾期
0
空闲
发布者: 2 文章
2
开发者 2
等级
项目
0
0%
仲裁
0
逾期
0
空闲
3
开发者 3
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
3
开发者 3
等级
(311)
项目
557
35%
仲裁
79
32% / 43%
逾期
202
36%
工作中
3
开发者 3
等级
(2)
项目
3
0%
仲裁
0
逾期
0
空闲
4
开发者 4
等级
(60)
项目
87
29%
仲裁
24
13% / 58%
逾期
7
8%
工作中
4
开发者 4
等级
(296)
项目
475
40%
仲裁
105
40% / 24%
逾期
80
17%
繁忙
发布者: 2 代码
相似订单
Criei um Robô para a venda alta precisão que automatiza a estratégia de correção média de Larry Williams. Possui filtros de tendência seletiva, controle de lote por risco percentual e execução rápida. Compatível com contas Hedge e Netting. Configuração simples e otimizada para mercados de alta volatilidade. *55(16) 993786056
SMC ORDER BLOCK 30 - 60 USD
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
Project Title: Custom XAUUSD Support & Resistance Indicator Platform Required: MT5 preferred. If possible, also provide TradingView Pine Script version later. Main Goal: I want a custom indicator made specifically for XAUUSD (Gold) only. The indicator should automatically detect and draw strong support and resistance zones where price has a high probability of reacting, rejecting, or reversing. It must update
I need a boom-and-crash MT5 robot that is very accurate for opening trades just before the spike happens. It should use M1 timeframe It should have options for changing lot size, number of trades to open, stop loss and take profit in points If the spike happens and it makes some profit, it should automatically close all trades. If the spike happens and the spike is not in profits, the trades can remain open waiting
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
This is yakubu Jnr trading bots I create the trading robots to help my self and others traders to be successful please you can join my live trading bots or subscribe to my trading robots
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone

项目信息

预算
50+ USD
截止日期
 30 天