EA Moneymanagement

MQL5 专家

工作已完成

执行时间10 天

指定

EA Moneymanagement

Alle Rechte bei mir



Es geht um die Programmierung eines Moneymanagements,

Grundsätzlich stellt sich die Frage, ob das höchste jemals erzielte Kapital einer Strategie gespeichert und dann für die Berechnung des TakeProfit für den nächsten Trade dieser Strategie verwendet werden kann .


Beispiel
Wir starten mit 100% Kapital. (=100.000€)
Wir starten Montag 08.00 Uhr european time berlin einen Longtrade in irgendeinen Index, zB Cac40.
Der TakeProfit wird mit 1% vom Kurs angegeben, Den SL legen wir auch mit 1% ebenfalls vom Kurs fest.
Wir berechnen die Positionsgröße so, dass wenn der TakeProfit erreicht wird, unser Kapital um 2% steigt. Wird der SL erreicht ist alles klärchen.
So weit, so gut, so einfach.

Nun gehts los.
Wir geben neben dem SL/TP eine weitere Ausstiegsbedingung aus dem Trade an. Ausstieg Freitag 20.00 Uhr, also per TimeStop.
Das heisst, der TP (1% vom Kurs) wird nicht immer erreicht. Das heisst, der SL (1% vom Kurs) wird nicht immer erreicht.
Nach dem 1.Trade erleiden wir einen Verlust wegen dem TinmeStop von 0.6% vom Kurs, Das Kapital sinkt also.

Nun kommt das Moneymanagement ins Spiel.
Mit dem nächsten Trade soll das Kapital um 1% steigen, aber nicht von dem neuen gesunkenen (!) Kapital, sondern vom jemals höchsten erzielen (!!) Kapital, das nach dem ersten Verlusttrade immer noch 100.000€ ist.

Das heisst hier muss die Positionsgröße berechnet werden die das Kapital auf 101% (=101.000€) führt, wenn der TakeProfit vom Trade erreicht wird. Der TakeProfit vom Trade verändert sich dabei nicht, ganz klar. Sondern die Positionsgröße. Es ist ein bisschen wir Martingale. Die Positionsgröße steigt um ein Ziel zu erreichen.
Nach einem zweiten Verlusttrade zB Verlust von 0.3% muss weiter die Positionsgröße berechnet werden, die für den Fall des Erreichen des TP im dritten Trade das Kapital auf 101% (101.000€)erhöht.
usw usf 

Wird jemals ein Kapital größer als die ursprünglichen 100% erreicht, zB 100,02% werden diese 100.02% als das (neue) jemals höchste erreichte Kapital für die weiteren Berechnungen (der Positionsgröße) verwendet bis wieder ein neues höchstes Kapital entstanden ist


Verstanden oder Fragen bitte gern.

Wer kann das programmieren?

反馈

1
开发者 1
等级
(258)
项目
269
29%
仲裁
2
50% / 0%
逾期
3
1%
工作中
发布者: 2 代码
2
开发者 2
等级
(61)
项目
61
51%
仲裁
1
0% / 100%
逾期
1
2%
空闲
3
开发者 3
等级
(28)
项目
39
23%
仲裁
14
0% / 93%
逾期
4
10%
空闲
4
开发者 4
等级
(19)
项目
31
32%
仲裁
8
50% / 25%
逾期
3
10%
工作中
5
开发者 5
等级
(443)
项目
570
37%
仲裁
106
39% / 33%
逾期
17
3%
空闲
6
开发者 6
等级
(290)
项目
362
30%
仲裁
37
27% / 65%
逾期
10
3%
已载入
发布者: 10 代码
7
开发者 7
等级
(7)
项目
6
0%
仲裁
4
25% / 75%
逾期
2
33%
空闲
8
开发者 8
等级
项目
0
0%
仲裁
0
逾期
0
空闲
9
开发者 9
等级
(45)
项目
53
57%
仲裁
2
100% / 0%
逾期
1
2%
空闲
发布者: 5 代码
10
开发者 10
等级
(4)
项目
5
40%
仲裁
1
0% / 0%
逾期
0
空闲
11
开发者 11
等级
(3)
项目
4
0%
仲裁
4
25% / 75%
逾期
1
25%
空闲
12
开发者 12
等级
(4)
项目
6
33%
仲裁
7
14% / 57%
逾期
1
17%
空闲
13
开发者 13
等级
(16)
项目
35
23%
仲裁
4
0% / 50%
逾期
2
6%
工作中
14
开发者 14
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
Bonjour , je cherche quelqu’un capable de crée un bot sur le gold type HFT , ouverture de plusieurs positions en quelques secondes , robot agressif , je cherche un robot qui marche sur du réel , qui a déjà était tester avec des résultats, pas basé que sur des backtest
Hello, I'm looking for an experienced MQL5 developer to build a clean and reliable Opening Range Breakout Expert Advisor for MetaTrader 5. I have previously experienced problems with EAs placing duplicate pending orders after terminal or VPS restarts. My priority is reliable execution, sensible risk management and an EA that I can confidently test and maintain. 1. Opening Range Strategy Platform: MetaTrader 5
Hi everyone. I came across a bot named ( Super Scalping EA Gold Tick Scalper ) in the free bots section on MQL5, and I’ve seen its trading results over a two-year period. I would like one of you to create a similar bot for gold trading that achieves the same (or very similar) results, but within a shorter timeframe—specifically 6 to 8 months. I also need the bot to be suitable for both small accounts ($30–$50) and
i have existing EA but its decrypted i dont have its source code , i want you to decrypt the EA and give me the original source code of it
Project: Custom MT5 Day Trading Expert Advisor I need a custom automated trading robot (EA) for MetaTrader 5, developed in MQL5. Markets: - Gold (XAUUSD) - Selected Forex pairs Trading style: Automated day trading. All positions should be closed according to predefined strategy rules and before the end of the selected trading session. Strategy: The developer should propose a clear trading strategy, explain its rules
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
1. Overview Build an MQL5 Expert Advisor for MetaTrader 5 that trades XAUUSD (Gold) as a scalper, using Heiken Ashi candles and a 50 EMA for entries. 2. Platform and symbol MetaTrader 5, Expert Advisor (.mq5 and compiled .ex5) Symbol: XAUUSD (must work with broker suffixes, e.g. XAUUSDm) Default timeframe: M5 (configurable; M1 to M15 should work) 3. Indicators Heiken Ashi candles, calculated inside the EA (no
I I am looking for an experienced MQL5 developer to build a robust, fully automated Expert Advisor (EA) for MetaTrader 5 based on a moving average pullback strategy. The EA must be optimized for multi-symbol and multi-timeframe processing, capable of running on a single chart while scanning and trading a user-defined list of currency pairs. 1. Core Strategy Logic * Trend Zone: The strategy utilizes the zone between
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester

项目信息

预算
30+ USD
截止日期
从 1 到 10 天