Expert Advisor based on BB MacD and Donchian Channel

MQL4 专家

指定





The idea of the trading system is as follows: market entries are performed when BBMACD changes dot color, in the next bar. The SL and risk is determined by the Donchian Channel indicator.

The Expert needs 2 modes of working:

The user can choose if the EA works only in normal mode or in Normal and Recovery mode.

The Risk can be defined by user for trades in normal mode in a % of the balance in the moment of the opening. The EA will calculate the precise lots, so that the points up to the SL result in the% risk assigned.

Normal. Open 2 positions with the stoploss in the opposite line of the Donchian Channel, the main one 1 with a RR defined by user, so if the Stoploss is 300 and the RR “1” the tp 300, if the RR is “1.5” 450Tp... and the scout one without TP, but the same SL (300 in the example) Scout closes when a new signal appears.

If the losses are less than the risk, F.E. the risk of the normal orders are 1%(x2) risk and the last trades losses are 0,2%(main) and 0,2% (scout) sum 0,4% so stay in normal mode.

Recovery, If the Losses are greater than the % of risk open 1 order with the same SL and TP and the risk is the amount of losses, if the risk is 1% it has 3 consecutive loses of -0,2%(x2) + - 0,25%(x2) + -0,5%(x2)= -0,4% -0,5% - 1% = -1,9% open 1 order with 1,9% risk and reward, and if parameter is set to yes, 1 scout order with the defined Risk. The recovery mod reset and turns into normal when the losses are recovered.

Once the recovery mode is activated, it will remain until recovering the losses that activated it and those that were caused during the mode and will return to normal mode.

The maximun consecutive recovery trades and the maximum risk could be defined by user or 0 till recovery so:

  • If the maximun consecutive recovery is set to 0=to infinity, if 5, the EA will try to recover 5 times and reset to normal mode.

  • Maximun risk of recovery is made to limit the “martingale” of the Recovery, if the recovery fail to recover the loses no more than the risk of this parameter will be open. IF max recovery risk is 5% the greatest order of the EA will be with 5% risk. Example, if the losses are 7% the EA will open an order of 5% if succeed the next order will be open with 2%, if fails the risk will be 2% + the last losses till recover with a maximun of 5%.

  • If the maximun risk is reached, no open for scout even is recovery scout is set to YES







Trading Signals:

  • Closes and open a new order if the BBMACD change color in the opposite direction, only for closed bars.

  • No open a new trade if the sl or tp is reach until a new signal.

Trailing Stop.

If the main position reach TP, the SL of the scout order goes to breakeven.



In the recovery Mod if the price goes in the direction of the trade and is at a defined by user distance of the TP the SL goes to Break Even, Example: fix amount of pips 10, if the buy opening is at 1.050, the SL 1,000 and the TP 1,1 and the price goes to 1,090 the sl goes to BE



Positions are opened: at the market price, when a new bar open. In the previous signal.



Close by Take Profit:— during position opening, Take Profit of main order is defined by RR parameter.



Trade in different pairs separetly The basket of losses will be different for every pair. And managed that way



User definable parameters:

  • Magic Number: for every pair

  • Recovery Mode: ON, OFF


  • Normal mode.


  • Risk (percentage of balance 1=1% 0,5=0,5% balance…)

  • Reward (multiple of Risk, if 1, sl 200 tp 200 if 1,5 sl200 tp 300…)

  • Use scout in normal mode (yes or not)


  • BBMACD

    • Fastlen:

    • Slowlen:

    • Length:

    • Stdv:

  • Donchian Channels

    • Bars to count


  • Recovery Mod
    • Maximun trades no take of consideration of scout only the main (0 = infinity)

    • Maximun Risk in % only for the main (0= infinity)

    • Distance to TP to trigger BE

    • Open Scout. Yes or not



Information in screen:

  • Magic number

  • Mode running actually (Normal or Recovery)

  • Level and risk of Recovery Mod

  • Risk in recovery mod

  • Total losses fo the current Recovery basket (only for that pair and recovery cicle)


Coment in order


  • Main
  • Scout
  • Recovery and number or attempt
  • Recovery Scout


附加的文件:

MQ4
BB_MACD.mq4
13.6 Kb
EX4
BB_MACD.ex4
15.2 Kb

反馈

1
开发者 1
等级
(356)
项目
632
26%
仲裁
89
73% / 13%
逾期
12
2%
空闲
2
开发者 2
等级
(196)
项目
318
35%
仲裁
64
13% / 56%
逾期
82
26%
空闲
3
开发者 3
等级
(22)
项目
28
29%
仲裁
3
0% / 67%
逾期
7
25%
空闲
4
开发者 4
等级
(548)
项目
825
73%
仲裁
15
53% / 13%
逾期
193
23%
工作中
5
开发者 5
等级
(28)
项目
30
50%
仲裁
4
0% / 100%
逾期
8
27%
空闲
6
开发者 6
等级
(252)
项目
404
38%
仲裁
83
41% / 19%
逾期
70
17%
已载入
7
开发者 7
等级
(82)
项目
86
57%
仲裁
25
0% / 84%
逾期
19
22%
空闲
8
开发者 8
等级
(6)
项目
8
13%
仲裁
1
0% / 100%
逾期
0
空闲
9
开发者 9
等级
(117)
项目
138
41%
仲裁
30
7% / 77%
逾期
17
12%
空闲
10
开发者 10
等级
(195)
项目
395
28%
仲裁
155
20% / 52%
逾期
112
28%
空闲
11
开发者 11
等级
(258)
项目
395
28%
仲裁
69
19% / 49%
逾期
120
30%
空闲
12
开发者 12
等级
(2411)
项目
3028
66%
仲裁
77
48% / 14%
逾期
340
11%
空闲
13
开发者 13
等级
(2067)
项目
2625
62%
仲裁
113
45% / 26%
逾期
418
16%
工作中
相似订单
I need a feature setup that will input the Sunday opening price as a horizontal ray on any chart and can be used by another EA as part of a trading strategy. Like this TradingView example below
I need a mobile phone EA that is similar to no limitz EA mobile bot which will use an ea converter for scalping strategy that will execute trade automatically, set tp and sl for different pairs using integrated trading strategies . It must hedge for both action to buy and sell under 1 min and 5 min based on scalping strategy to execute trades
Hello everyone, I am looking for a talented developer who can help me create my EA. I have several indicators that I want to combine in the EA. I will take care of the integration of the indicators and the trading strategy myself, I need someone to program all the trading operations for me. This is probably absolutely standard, someone with experience has certainly programmed this several times before. Here are the
Hi there, I am looking for someone to build a Martingale/Cost Averaging Expert Advisor (EA) with the following features and functions: Martingale and Cost Averaging Features: 1. **Martingale Calculation Settings:** - Standard Martingale system allowing the trader to set the initial trade size and the pip step for subsequent trades. - Option for averaging up and averaging down: - **Averaging Up:** Lot size
Job Title: MQL5 Trading Bot Code Debugging and Optimization** **Description:** We are seeking an experienced MQL5 developer proficient in debugging and optimizing trading bot codes. The current project involves fixing existing code that runs into debugging issues without errors and optimizing it for efficient performance in live trading environments. **Responsibilities:** - Debug existing MQL5 trading bot code to
need a very skilled developer to create ea from indicator .i have source code for the indicator and it is non repainting. More details will be provided .i need parameters like take profit/stop/loss/loss recovery and few more
Active expert 250+ USD
hi, I must do changes to a dashboard with manual input of trader and active expert. Budget 250$ Can do? the budget is correct based on job to do. If you want me to increase the budget you can message me
HELLO DEAR DEV'S. I'VE AN EA BUT IT STOP WORKING WHEN MT4 HAS BEEN UPDATED TO THE LATEST VERSION (1420). SO I NEED A GOOD DEVELOPPER THAT COULD UPDATE THIS EA TO THE LATEST VERSION OF MT4 SO I CAN USE IT. NB: IT'S A SINGLE FILE (.EX4) AND THE PRICE CAN BE NEGOCIATED TO BE SUITABLE FOR BOTH PARTIES. THANK YOU
hey friends, I am looking to build a smart trading robot, for the capital market. He knew how to trade in all the different types of trade. Example - in shares, currencies, index, indices, ETFs, funds, commodities, options, futures and so on. Suitable for trading on all stock exchanges in the world. It will be possible to install the trading robot in the MetaTrader 5 trading software. But it will also be possible to
STI EA 30 USD
I need to convert this MT4 indicator into MT5 EA/indicator. The problem is I only have the .ex4 file bt not .mq4 file and it is also a repainting indicator. I need preliminary assessment if the conversion can be done based on .ex4 file first before exploring the EA details further. Attached is the indicator Budget below is just indicative for the assessment. We can discuss further once the conversion can be done and

项目信息

预算
50+ USD
VAT (21%): 10.5 USD
总计: 60.5 USD
开发人员
45 USD
截止日期
 5 天