Adding Equity SL/TP to existing EA

MQL4 Experts

Tâche terminée

Temps d'exécution 2 minutes

Spécifications

Adding equity trailing to current EA:

This is the same as a normal trailing SL but uses the current equity number rather than an individual position as it's basis. 

If you started with an equity level of 100 and set the 'equity trail above' to 10 an equity trailing stop would begin once the equity level hit 110. 

If the equity trail distance was set at 20 the initial equity S/L would be set at 90 (110-20) and if the equity level continued to rise would trail like a normal trailing SL (equity reaches 135 = trailing SL is at 115 etc etc). 
Anytime the equity SL is triggered all positions are immediately closed and the initial equity number would need to be reset so the process can begin again from the new initial equity level. 
Currently the EA does seem to do parts of this process, but not accurately/consistently as far as I can tell from testing. 

Lorentzos added the 'equity monitor' to help keep a track of the equity movement and this seems to work well, it seems to just be the 'trail above, and trail distance' parts that don't do exactly what is required. 


Répondu

1
Développeur 1
Évaluation
(1931)
Projets
3552
88%
Arbitrage
73
40% / 15%
En retard
268
8%
Gratuit
2
Développeur 2
Évaluation
(89)
Projets
137
24%
Arbitrage
35
9% / 40%
En retard
52
38%
Gratuit
3
Développeur 3
Évaluation
(4)
Projets
30
70%
Arbitrage
5
0% / 40%
En retard
12
40%
Gratuit
4
Développeur 4
Évaluation
(26)
Projets
29
3%
Arbitrage
11
9% / 73%
En retard
3
10%
Gratuit
Publié : 1 code
5
Développeur 5
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
Commandes similaires
Project Overview I have an existing MT5 Expert Advisor (EA) written in MQL5. The source code ( .mq5 ) will be provided. The underlying strategy is a trend-following system that performs well during trending market conditions, but requires professional quantitative research to improve its ability to identify and avoid highly sideways/range-bound market conditions. The objective of this project is not to build a new EA
I am looking for an experienced MQL5 Expert Advisor (EA) developer to analyze an existing trading setup and develop a similar automated trading robot. Project Overview I have access to a demo trading account where trades are being executed automatically. The trading results look very promising, but I do not know exactly what strategy, logic, indicators, or trade-management rules are being used. I will provide access
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Modification of existing ea …. Add ema filter, add risk percentage per trade, and modify the pips per day filter. I already have the ea code I just need these things added and modifified
Expert Advisors 300+ USD
double CRiskManager::CalculateLotSize(double slPoints) { double balance = AccountInfoDouble(ACCOUNT_BALANCE); double riskMoney = balance * (m_riskPercent / 100.0); double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE); double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double pointValue = tickValue / tickSize; double lot = riskMoney / (slPoints * pointValue);
i share my strategy i need a bot trending bot fo mt5 . i attached the photo with this it help to make bot. it basicly 1 hours time frame base. i try but failed to make it
Title: Simple background trading bot for my Oanda account (v20 REST API) Overview Hi, I need a simple, lightweight event based standalone trading bot that connects directly to my Oanda account using broker’s standard REST API (V20 account) via VPS The bot just needs to look at group of 5 currency pairs (manually selectable and adjustable) in different 4 baskets, do some basic percentage math every period, and place
MQL5 Developer 30+ USD
📄 وثيقة المواصفات الفنية لروبوت التداول (MQL5 EA Specification) 📌 1. ملخص المشروع والهدف * اسم المشروع: Gold Cent Grid-Hedge EA * المنصة: MetaTrader 5 (MQL5) * أداة التداول: الذهب (XAUUSD) * نوع الحساب: حساب سنت (Cent Account) * فكرة الاستراتيجية: تداول شبكة هيدج متوازنة (Grid-Hedging) تفتح صفقات تعزيز كل مسافة محددة، وتغلق الطرف الأكثر ربحاً عند تحقيق هدف مالّي مجمع بالدولار/السنت لإعادة هيكلة التوازن. ⚙️ 2
I need a developer who also understands trading. I have a Telegram copy-trading bot that reads signals from a Telegram channel via a Python script and converts them into trading orders. I want to create a program that analyzes Gold (XAUUSD) charts specifically and sends signals in this exact format: #XAUUSD BUY 4324-4321 TP 4327 TP 4330 TP 4334 TP 4339 TP 4344 TP 4354 TP 4364 SL 4311 If the # symbol is missing at the
Hi developer I want to convert my mt4 EA to mt5 EA . I have a mt4 ea with source code. i want developer to copy same mt4 code and create mt5 EA

Informations sur le projet

Budget
30 USD
Délais
à 7 jour(s)