Modification to One Candle EA

MQL4 专家 脚本

工作已完成

执行时间10 天
客户反馈
Great to work with, very good job. Thank you so much.
员工反馈
Jack is a very experienced man! Working with him is a pleasure!

指定

I would like to add to my EA a module that is kind off martingale strategy. 
My EA gives a signal to buy or to sell and has everything regarding SL TP Trailing. 
The EA is able to add extra orders to average the price value, when the price goes against the direction. 
The extra orders are based on the Fibonacci levels.

Example: 
1. The EA has generated a MASTER sell order (the main order) the price goes against the direction. 
StopLoss is 100 Take Profit is 100 but Trailing Stop Starts at 5 pips and Trailing Stop Pips is 1. 
It means when the price is +5 pips the trailing stop pips is on the level of +4 (1 pip behind the profit)
Very important to pay attention to this difference 5 - 1 = 4 

2. The EA starts to open extra orders on the levels of Fibonacci.

3. All extra orders can have the same value or have different values. 
If the Master order is $1, the next extra order on the level of 
38.2    multiply this level by 1  
50.0   multiply this level by 2 
61.8   multiply this level by 3 
78.6   multiply this level by 4 
100.0  multiply this level by 5 
127.2   multiply this level by 6 

161.8   multiply this level by 7

200     multiply this level by 8 

The distance between the orders will be different, because the Fibonacci levels are not the same, 
but for this example I am going to use 10 pips distance from each Fibonacci level for easy calculation. 

4. The EA opens EXTRA 2 orders.
1st on the level of 38.2  with value $5
2nd on the level of 50.0 with value $10

Now we have 3 orders. 
Master $2.50
1st Extra order   $5

2nd Extra Order $10

Each order is 10 pips away. 

Master order is 20 pips away from break even $2.50 x 20 = -$50
1st Extra order is 10 pips away from break even $5 x 10 = -$50
2nd Extra Order is just open ($10 value) 0 (minus spread) 
Total value not calculating the spread is minus $-100

5. The EA should calculate the minimum Take Profit - which is 5 - 1 = 4 pips 
Because the value of the Master Order was $2.50 x 4 = $10

This is the target for all 3 order to make = $10

When the Master order will reach about  minus 13.7 pips  the value will be 13.7 x $2.50 = -$34.25

1st Extra order will reach minus -3.7 pips the value will be -3.7 x $5 = -$18.50  

2nd Extra Order will reach plus 6.3 pips the value will be 6.3 x $10 = 63

The average price will be $10.25 profit on all orders.

Sorry it is not exact calculation, but it give you an idea.  

-----------------------------------------

6. Now the EA should add Penalty Pips. 
Remember that total value of all orders is $2.50 +$5 + $10 = $17.50
It means that for every open order, the EA will ADD extra pips "penalty" (for the extra stress of the trader :)  )
In this example we have 2 extra orders PLUS the master order = 3 orders in total. 

The have to add function to add the Penalty Pips.

If if the value of penalty pips is 1  in this example the EA will add 3 orders x 1 = 3 pips extra 

(if the penalty pips value is 0.5 it means the EA should add only 1.5 pips penalty.    3 x 0.5 =1.5  )
We calculated that Value of all 3 orders in total is $17.50 per pip. 

Look at the point 5 about the levels in order to average the price level. 
Now the EA is adding 3 extra pips to the level where all orders already have $10

When the Master order will reach -10.7 pips (-13.7 + 3 pips penalty) x $2.50 = -$26.75 level 
1st Extra order will reach -0.7 pip (-3.7 +3 pips penalty) x $5 = -$3.50 
2nd Extra Order will reach 9.3 pips (6.3 +3 penalty) x 10 = $93
We will have $62.75 profit on all orders.
3 pips penalty  x $17.5 = $52.50   plus the original $10 (minimum profit) = $62.50  (about)
(Picture 222)

7. When the EA will reach the $62.50 profit on all orders, it should start trailing on all orders.  
In my EA there is a place called "Use Extra Pips" when is True the EA should trail 1 or 2 pips behind the secured $62.50 profit on all orders. 
If by any change the price action will go in the correct direction by 5 pips, we should have 
this result: 

$62.50  + (5 x $17.50)  = $150. 

 

8. When extra orders are added, the EA should close ALL orders at ONCE with the profit or with the StopLoss.
If the StopLoss is 100 it means that ALL orders will close with loss when the Master order reaches 100 pips StopLoss. 

Picture 333. 

9. The the EA there is also Daily Profit Target.

If this function is set up on 20. It means that the EA will stop placing new orders after the 20 pips profit.  

10. The EA has time 4 time tables to trade. 

If the time is from 00:00 to 13:00 (my broker time) and second time is from 16:00 to 23:59:59

The EA will not open Master Orders during the 13:00 to 16:00 , BUT if the EA has open a Master Order before 13:00 and there is a need to open Extra orders,

the EA should allow to open Extra Orders Only during the 13:00 -16:00 time in order to average the price.

11. The should work with Mini accounts as will normal Accounts. The EA has to calculate the values on Fibo levels even when not every level has assigned value.

Example:

38.2    multiply this level by 0

50.0   multiply this level by 2 

61.8   multiply this level by 0

78.6   multiply this level by 0

100.0  multiply this level by 4

127.2   multiply this level by 6

161.8   multiply this level by 0

200     multiply this level by 8 

 If you are able to complete this job, please contact me. Thank you 

 

附加的文件:

ZIP
111.zip
280.9 Kb
ZIP
1_candle.zip
305.8 Kb

反馈

1
开发者 1
等级
(98)
项目
134
64%
仲裁
6
17% / 67%
逾期
32
24%
空闲
2
开发者 2
等级
(365)
项目
507
40%
仲裁
159
17% / 74%
逾期
99
20%
已载入
3
开发者 3
等级
(1)
项目
1
0%
仲裁
0
逾期
0
空闲
4
开发者 4
等级
(69)
项目
146
34%
仲裁
13
8% / 62%
逾期
26
18%
空闲
发布者: 6 代码
5
开发者 5
等级
(40)
项目
58
22%
仲裁
10
10% / 70%
逾期
13
22%
空闲
6
开发者 6
等级
(64)
项目
144
46%
仲裁
20
40% / 15%
逾期
32
22%
工作中
相似订单
Hola, estoy buscando un programador MQL5 con experiencia real en el desarrollo de EAs diseñados específicamente para generar un alto volumen de operaciones diarias. Mi principal prioridad no es un bot que realice solo unas pocas operaciones, sino un sistema con una alta actividad comercial, capaz de abrir lotes de gran tamaño de forma constante y que opere en condiciones reales de mercado, incluyendo spreads
I am looking for an expert in trading bot development to trade Bitcoin and other cryptocurrencies. The bot must be able to execute trades automatically based on a specific strategy, including risk management, precise entries, and automated exits. Experience with exchange APIs and trading automation is essential
I need an experienced developer to carry out an indicator and trading robot using the following; moving averages risk ( take profit and stop loss) and maximum drawdown limits heiken ashi confirmation. trendline breakout if possible The developer will test this on a demo account that I will provide before conclusion as I don’t want anyone to waste my time trying to use chartgpt trial and error. If you can do the
I need screenshots for the MetaTrader 5 documentation - https://www.metatrader5.com/en/terminal/help I need you to remake all the images included in the guide, except for those on the very first page which are already up to date. You simply go through each page of the guide, and take the same images: same size, same interface elements, same set of charts/trades, symbols, etc. These include small icons of commands
I am looking for an experienced MQL5 developer to build a currency strength analysis tool for MetaTrader 5 , inspired by the functionality shown here: https://www.livecharts.co.uk/currency-strength.php The main idea is simple: calculate and display the relative strength of major forex currencies to support better trade decisions. However, the key feature I want (which is currently missing from most strength meters)
I am looking to purchase or create an HFT EA for US30 using live account. Need to proof results and need to use in Live accounts for at list a week, developer can lock for my live account and disable account number after 5 dys. I tested HFT in a demo account and worked fine but when used in live account it did not work because of slippage/spreads. so, this time I need more safe
I need a professional MQL4/MQL5 developer to build a custom hybrid scalping Expert Advisor for EURUSD M5, with aggressive but controlled risk, using fixed TP/SL, no martingale, no grid, and a hybrid entry engine (price action + indicators). The EA must be delivered in both MT4 (MQL4) and MT5 (MQL5) versions, with identical logic. 1. Platform & symbol - MT4 (MQL4) and MT5 (MQL5) - Symbol: EURUSD - Timeframe: M5 - EA
Hello i need an EA automated using Supply & Demand + Shooting Star/Hammer Bot: Timeframes: H1 main, M5/M15 for entry Indicators: ATR(14 ≥0.80), Supply/Demand zones, Candlestick patterns Short Entry: 1. Price enters supply zone 2. Shooting star forms (small body, long upper wick ≥2× body) 3. ATR ≥0.80 4. Sell below shooting star low Stop Loss: above upper wick Take Profit: next support zone or 1:2 R:R Trailing Stop
HFT Directional Grid Scalper (Simple, Training Project) Overview We are looking for a developer to create a high-frequency grid scalper with a simple, deterministic logic. This is not a complex bot — the goal is to have a clean implementation for training, testing, and educational purposes. The bot should: Continually open trades in one direction only (BUY or SELL) Use ATR-based grid spacing Maintain a fixed lot size
Looking to buy an EA which is good, profitable and takes many trades, good for IB broker comissions, Any strategy or martingale is fine, send me a demo license file, I will backtest and purchase immediately if my team like it

项目信息

预算
50- USD
截止日期
 6 天