MobianFX

MQL4 Experts

Tâche terminée

Temps d'exécution 6 heures
Commentaires du client
Great Job ! Totally awesome. Best Developer..Easy to work with. Pays full attention to details, and well experienced. Great Job..
Commentaires de l'employé
Clear explanation, fast checking! Great customer!

Spécifications

PROJECT : MobianFX EXPERT ADVISOR


I want the EA to perform the following functions :



1. It should have the option of manual opening of trade or auto-trading.


2. When a BUY/SELL trade is opened, the EA should automatically set a BUYSTOP or SELLSTOP, in the opposite direction. 200 pips or 100 pips distance from the BUY/SELL.


3. Also It should set TP of BUY/SELL to 300 pips, and the SL of BUY/SELL to -500 pips. Same as the BUYSTOP OR SELLSTOP should be 300 pips TP and -500 pips SL.


4. The EA should set up BUYSTOP or SELLSTOP ORDERS subsequently if the price touches zone lines, thats the first trade and the BUYSTOP/SELLSTOP. The sequel should be set as 0.5, 1.0, 1.5, 3.0, 6.0, 12.0, 24.0, 48.0.. after this 8 times, it can close however..



5.. The EA should be able to automatically calculate the SPREAD and use it to determine 2nd, 3rd, 4th etc trade lot size. That is, so that the extra lot will cover the loss from the SPREAD, example, if the first trade is openned at 0.5 lot, and the SPREAD is 40 pips, the stoploss will be 500 + 40 (spread) = 540 SL,
   Then the next trade (2nd trade) will open with 1.0 + the cost of the spread in the first trade. Example, if first trade is 0.5 lot, the 2nd trade will be 1.067 lot, the 3rd trade will be 1.663 lot, the 4th tarde will be 3.255 and so on.     ‌

Example, a chart like CAD/JPY, my broker is FXTM and they dont charge commision, rather the SPREAD is much. If i open a BUY trade at price 85.200, the spread is for instance 60 pips or points. So bid price is 85.200, ask price is 85.260.

Once the first BUY trade is open with TAKE PROFIT set 300 points and Stop Loss set 500 points plus SPREAD = 500 + 60 = 560 SL. Also a SELLSTOP will be set 200 points in the opposite direction of the BUY trade with SELLSTOP set with TP 300 points and SL (to be determined by EA based on the spread at the time of order) example spread is 60, meaning SL will be 560 points)  Because the trade or trades will only close when TP or TPs are reached,  ‌if price moves against the first BUY trade and opens the SELLSTOP, the EA should determine the lot size of the 2nd SELLSTOP trade, meaning it will take account of the SPREAD loss of the first BUY trade. Example:

i) First trade BUY 0.5 lot @ 85.200. if one point is $0.45, then TP will be 300 points * $0.45 = $135 . 

SL will be 500‌ + 60 (SPREAD) = 560 points * $0.45 = $252

ii) Set Second trade SELL (lot side determined by EA) @ 85.000‌, (200 points away) , TP will be 300 points, SL will be 500 + SPREAD). So if the lot size was 1.0, it would be $0.45 *2 =$0.90

So therefore, TP will be 300 points * $0.90 = $270.. It means $270 - $252(SL of first trade) = $18 Profit. Note, because the 2 trades will close at exactly the TP of the 2nd trade

If we didnt include the SPREAD of First Trade, it would have been SL 500 points * $0.45 = $225.(instead of $252).  It would mean $270 - $225 = $45 Profit.

SPREAD Loss is $252 - $225 = $27.

Now to cover this SPREAD LOSS, it will mean to 1.0 =($0.90 *300)‌ = $270.  So the EA can find the percentage of $27 in $270, which‌ is 10%.

That means, when opening the 2nd trade‌, 10% of the original lot size of 1.0, must be included to the lot size so as to cover the SPREAD LOSS.

That is 10% of 1.0 = 0.1 . So the lot size for the 2nd trade (SELLstop) will be 1.10 (instead of 1.0). For instance lot size 1.10 ($0.99 * 300 TP) = $297

So $297 TP of 2nd trade - $252 SL of 1st trade = $297 - $252 = $45..  Same setting done for the 3rd, 4th, 5th, 6th, 7th, 8th trades.‌

In conclusion, the EA should always know the SPREAD difference, calculate the SPREAD LOSS and determine the percentage to be added to the lot size of the subsequent trade.‌‌



‌6. Also let the EA force all trades to close once one TP or TPs is reached. PLEASE NOTE: Only when the TAKE PROFITS are reached. Not the Stoploss, because of SPREAD. Once the TP of any side of the trades are reached, then the EA should force the stoploss trades to close including the spread at the time.

As i have explained. because the TP is more important than the SL in this strategy, the SL can be forced to close at the TP price. so far the SPREAD LOSS is covered by the lot size of the next trade.


7. The EA should also be able to send notification alerts, when price touches the zone recovery lines ie the BUY/SELL and the BUYSTOP/SELLSTOP lines. That is each time a new
ORDER is opened. Also a sound alarm when the trade closes, or sequence of trades closes. Thats when the TP of any of the 2 opposite trades is reached, it should
close all open trades and send alert notification to also the MT4 android app on my phone.
This is a zone hedging strategy, as u already know. its to make profit either which way the price goes.

‌Th‌is function is normal, i get notified when a buystop or sell stop order is opened, i get it on my MT4 phone app. (thats touching the zone recovery lines)

Also i get notified when the trades close. U can just enhance the notifications to be like an ALARM.


Répondu

1
Développeur 1
Évaluation
(121)
Projets
134
66%
Arbitrage
36
25% / 56%
En retard
22
16%
Gratuit
Publié : 10 codes
2
Développeur 2
Évaluation
(252)
Projets
462
26%
Arbitrage
139
20% / 60%
En retard
100
22%
Gratuit
3
Développeur 3
Évaluation
(25)
Projets
36
17%
Arbitrage
14
14% / 57%
En retard
3
8%
Gratuit
4
Développeur 4
Évaluation
(91)
Projets
144
38%
Arbitrage
67
15% / 48%
En retard
55
38%
Gratuit
5
Développeur 5
Évaluation
(80)
Projets
117
67%
Arbitrage
16
25% / 13%
En retard
12
10%
Gratuit
Publié : 2 codes
6
Développeur 6
Évaluation
Projets
3
0%
Arbitrage
0
En retard
1
33%
Gratuit
7
Développeur 7
Évaluation
(1931)
Projets
3552
88%
Arbitrage
73
40% / 15%
En retard
268
8%
Gratuit
Commandes similaires
Hello, I'm looking for a developer to help me understand WebRequest. I'm currently using this robust and free tool: https://traderblox.com/ What I need: I want someone to help me get my SavePattern variable to become "Success". Currently, it's not working – I keep getting this error: ❌ ERROR - Status: -1 Attention my work is exclusive on website https://traderblox.com/ if you browse complete work in metaeditor
Here's a natural and professional version in English: Hello, I am looking for an experienced MT4/MT5 developer. I need someone who can provide high-quality service, has strong knowledge of MetaTrader 4 and MetaTrader 5, and responds quickly. If you have experience developing Expert Advisors (EAs), indicators, or scripts, please share your portfolio, relevant experience, estimated cost, and delivery time. I am looking
Senior MQL5 + Python Quant Developer Needed – Institutional AI Trading Platform I'm looking for a highly experienced quantitative developer (or small team) to build an institutional-grade algorithmic trading platform for MetaTrader 5 and Python . This is not a simple Expert Advisor. It is a complete trading platform consisting of an MQL5 execution engine, Python AI research environment, machine learning pipeline, and
I need a trading robot for MetaTrader 5 that works on mobile for XAUUSD. === TRADING RULES === Symbol: XAUUSD Timeframe: M15 Trading Hours: 10:00 to 18:00 server time only Buy: When 10 EMA crosses above 50 EMA Sell: When 10 EMA crosses below 50 EMA Close opposite position when new signal appears === RISK MANAGEMENT === Risk per trade: 1% of account balance Stop Loss: 300 points / $3.00 Take Profit: 600 points / $6.00
Jona copilot v12 30 - 40 USD
Hi, I'm interested in ordering an MT4 trading bot. Before we begin, could you please send me the technical specifications and requirements you'll need? Specifically, I'd like to know: - The trading strategy the bot will use. - The currency pairs or instruments it will trade. - The timeframes it supports. - Risk management features (lot sizing, stop loss, take profit, trailing stop, maximum drawdown). - Whether it
Please programm liquidity sweep based on my 0/1 conditions. I will contact selected candidates, btw, Maybe you did already liquidity sweep, it would be very nice, you will have better understanding what I mean, source of code required
I have few EAs that I want to place on market, but I can't due to some errors, please help me, because I am not a programmer. Source of code required, bug free version, ony my computer it must works not only on your computer
Hello dear all developers, I will find here python programmers? I would like to create an Expert Advisor, if you can you can convert, because I already have Expert Advisor written in mql5 or maybe you will create a bridge? it's up to you, but I need 1:1 copy
Hello! I am searching a professional programmer for regular works. I don't care if you have 1 projects done or 1000, show me your skills. I need to create an EA based on Zig Zag indicator and candlestick patterns, EA must works on all time frames, source of code required
My EA have bug 30+ USD
Expert Advisor have a bug, I tried to fix it somehow with searching on google, but I couldn't fix find a solution. Please fix it, I will send you erorr type, what line etc. Only serious programmers, not amateur please. My time is precious

Informations sur le projet

Budget
80 - 100 USD
Délais
de 3 à 5 jour(s)