Modification to One Candle EA

MQL4 Experten Skripte

Auftrag beendet

Ausführungszeit 10 Tage
Bewertung des Kunden
Great to work with, very good job. Thank you so much.
Bewertung des Entwicklers
Jack is a very experienced man! Working with him is a pleasure!

Spezifikation

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 

 

Dateien:

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

Bewerbungen

1
Entwickler 1
Bewertung
(98)
Projekte
134
64%
Schlichtung
6
17% / 67%
Frist nicht eingehalten
32
24%
Frei
2
Entwickler 2
Bewertung
(365)
Projekte
507
40%
Schlichtung
159
17% / 74%
Frist nicht eingehalten
99
20%
Beschäftigt
3
Entwickler 3
Bewertung
(1)
Projekte
1
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
4
Entwickler 4
Bewertung
(69)
Projekte
146
34%
Schlichtung
13
8% / 62%
Frist nicht eingehalten
26
18%
Frei
Veröffentlicht: 6 Beispiele
5
Entwickler 5
Bewertung
(40)
Projekte
58
22%
Schlichtung
10
10% / 70%
Frist nicht eingehalten
13
22%
Frei
6
Entwickler 6
Bewertung
(64)
Projekte
144
46%
Schlichtung
21
38% / 24%
Frist nicht eingehalten
32
22%
Arbeitet
Ähnliche Aufträge
i need price action and candle logic understand programmer need for this job... first understand logic and interested please message .... first understand logic and interested please message .... 2 types of hedge entry conditions: 1 is candle based 1- when i start point ea hh candle buy entry, after ll made 2- below the previous candle hedge sell order 3- if market goes again hh, if sell order profit book again
Ea which is based on the price returning to the open or close of a 1-minute candle or zone of candles. panel on chart need too have buttons : trainding on/off close all close profit add buy stop add buy limit add sell stop add sell limit ( all to existing setups) calculating profit/loss for a single open setup and in total in account currency calculating profit/loss for a single open setup and in total in percentage
Hi, I’m looking for an experienced MQL5/MT4 developer to work on a trading BOT project. I currently have an MT4 demo environment with IC Markets for testing, but the complete strategy specifications have not yet been provided. I’d like you to first review the available project/BOT information and let me know what you would need to configure, develop, and properly forward-test it. The testing should cover entries
PEACE BOT 30+ USD
#property version "2.10" #property description "Chizzy Trend Rider - HFM-ready (hedging/netting safe)" #include <Trade/Trade.mqh> CTrade trade; //================ INPUTS =================// input double LotSize = 0.01; // Fixed lot (used if RiskPercent = 0) input double RiskPercent = 0.0; // Risk % of balance per trade (0 = use LotSize) input ulong MagicNumber = 220026; input ENUM_TIMEFRAMES TrendTF =
PRECISION ENTRY PRO EA V1 MT5 EXPERT ADVISOR REQUIREMENTS SPECIFICATION PROJECT NAME: Precision Entry Pro EA V1 PLATFORM: MetaTrader 5 (MT5) LANGUAGE: MQL5 1. PROJECT OBJECTIVE I want a simple, reliable and fully automated MT5 Expert Advisor based on the following trading concept: TREND → MARKET STRUCTURE → FIBONACCI RETRACEMENT → PRICE ACTION CONFIRMATION → ENTRY → STOP LOSS → TAKE PROFIT. The purpose of V1 is to
I need an MT5 Expert Advisor (EA) specifically for NFP news trading. Strategy: - Trade EURUSD during the US Non-Farm Payroll (NFP) release. - Automatically identify the NFP release time. - Place a Buy Stop above the current price and a Sell Stop below the current price shortly before NFP. - Adjustable distance from current price for both pending orders. - When one order is triggered, automatically cancel the opposite
yoo i want to make a trading bot i have my strategy in videos and also the rules to if anyone can work it out for me i will be glad welcome your bid and it urget let connect here on mgl5 And if you know you can not do the project without getting paid first please don't bid thanks
Bonjour ! Je vous ai contacté pour le développement de mon EA sur MetaTrader. Je souhaite intégrer une stratégie précise avec une gestion stricte des règles du courtier Exness. J'ai déjà préparé le cahier des charges complet sous format PDF avec toutes les spécifications techniques
SKBOT 35+ USD
want an MQL5 Expert Advisor (EA) for MetaTrader 5, mainly for XAUUSD (Gold). Strategy: The EA should trade based on market structure, Break of Structure (BOS), Fair Value Gaps (FVG), Order Blocks (OB), and Fibonacci retracement levels. BUY setup: Detect bullish market structure. Detect a bullish Break of Structure (BOS). Identify the relevant bullish FVG and/or Order Block created around the structure move. Use
Light 🕯️ 50+ USD
To apply, you must already have your EA running on an active MT5 trading account connected to the market. The account must have genuine trading history that can be independently reviewed and verified. EA Requirements 1. Prop-Firm Compatible Risk Management - The EA must include daily and overall drawdown protection. - Required inputs: "MaxDailyLoss = 5%" "MaxTotalDrawdown = 10%" - Once either limit is

Projektdetails

Budget
50- USD
Ausführungsfristen
bis 6 Tag(e)