Modification of Existing Positioning Code

Tâche terminée

Temps d'exécution 1 heure
Commentaires du client
Greate Programmer, quick and easy process!
Commentaires de l'employé
This person is great explain well to the point. Happy to work with him and in future

Spécifications

I have positioning code that increases the lot size for each consecutive win trade up to a maximum lot size, it then cycles back to the beginning. Unless a loss occurs within the win streak, in which case it trades a minimum lot size until a win.

For example if my maximum lot size is 4, it would trade like this:

W - W - W - W - W - W - L - L - L - W - W - W - W -W - W - W - L - L - L

1 -  2  - 3  -  4  - 1 -  2 - 3 - 1 - 1  - 1  - 2  - 3 -  4 - 1 -  2 -  3  - 4 - 1 - 1

Furthermore it has a setting called Stay_at_Max_Lots, when this is True, the money management will stay at the maximum lot setting during a winning streak until a loss occurs.

For example

W - W - W - W - W - W - L - L - L - W - W - W - W -W - W - W - L - L - L

1 -  2  - 3  -  4  - 4 -  4 - 4 - 1 - 1  - 1  - 2  - 3 -  4 - 4 -  4 -  4  - 4 - 1 - 1

This positioning method only works when you have high average consecutive wins and high z probability.

I would like someone to edit the code to add an extra True/False option called After_Max_Stay_Min, the function of this is opposite to Stay_at_Max_Lots, when the max lots size has been reached in a win streak, it only trades min lot size until after a loss.

For example:

W - W - W - W - W - W - L - L - L - W - W - W - W -W - W - W - L - L - L

1 -  2  - 3  -  4  - 1 -  1 - 1 - 1 - 1  - 1  - 2  - 3 -  4  - 1 -  1 - 1  - 1 - 1 - 1

By adding this option, it will mean if i know my average consecutive wins, i will less likely be hit with a loss at max lots size during its cycle.

ill attached the code in chat

Répondu

1
Développeur 1
Évaluation
(67)
Projets
79
33%
Arbitrage
6
50% / 33%
En retard
7
9%
Gratuit
2
Développeur 2
Évaluation
(332)
Projets
485
40%
Arbitrage
82
11% / 63%
En retard
77
16%
Gratuit
Publié : 1 code
3
Développeur 3
Évaluation
(647)
Projets
1295
67%
Arbitrage
84
26% / 49%
En retard
338
26%
Gratuit
4
Développeur 4
Évaluation
(1156)
Projets
1462
63%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
5
Développeur 5
Évaluation
(16)
Projets
17
29%
Arbitrage
1
0% / 100%
En retard
2
12%
Gratuit
6
Développeur 6
Évaluation
(115)
Projets
129
18%
Arbitrage
11
27% / 55%
En retard
4
3%
Gratuit
7
Développeur 7
Évaluation
(412)
Projets
543
75%
Arbitrage
9
44% / 0%
En retard
24
4%
Gratuit
Commandes similaires
I own the premium Forex/trading domain SignalsForex.com and I am looking for a person who can help find a serious buyer. The domain is suitable for: Forex signals services Trading education projects Broker affiliate websites Forex lead generation Trading communities Telegram/Discord signal brands Financial marketing projects Target sale price: $7,500+ Commission: 10% of the final sale price after the deal is
I need a simple bot for opening range. Simple Entry / Exit rules, to be able to customize the timeframe, time zone (entry candle) and other normal settings like size, etc
Nyctrad1 30+ USD
Free link free land free land free land free land free free land free land free things free land free land free land free land free land free land free land free Finch I will do it
Platform: MT5 (MQL5) OVERVIEW: I need a custom MT5 indicator that generates only high-probability A+ buy and sell signals. The indicator should combine market structure, support/resistance, liquidity sweeps, candlestick confirmations, session filtering, and Fibonacci retracement logic. FEATURES REQUIRED: SUPPORT & RESISTANCE Automatically detect and draw support and resistance levels. Levels should update
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
i want a developer to build me a robot according to mt style i want an engine which is going to trade gold with small accounts, i want it to be perfect or any developer who has that existing robot we can negoiate the price
Hi, I am looking for an experienced MQL5 developer to modify an existing, fully functional MetaTrader 5 Expert Advisor (Source code .mq5 Version 2.62 will be provided). Brief Overview of the EA: It executes trades based on 4 custom Supply/Demand levels (R1, R2, S1, S2) which are inputted manually . It uses two custom indicators for confirmation: SPA (Price Action filter) and AMG (Volume/Momentum filter). The code
Description: I am looking for an experienced MQL5 developer to build a fully automated Expert Advisor (EA) for MT5 tailored for Prop Firm challenges and funded accounts. I need a robust, plug-and-play solution with rigorous risk controls. Key Requirements: Platform: MT5 Trading Logic: I am looking for a reliable strategy based either on a Breakout Strategy (e.g., London session breakout) or a Mean Reversion Strategy
The striker robot 30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick
//+------------------------------------------------------------------+ //| Simple XAUUSD EA | //+------------------------------------------------------------------+ input double LotSize = 0.01; input int StopLoss = 500; // in points input int TakeProfit = 1000; // in points input int MAPeriod = 20; int maHandle; int OnInit() { maHandle = iMA(_Symbol, PERIOD_H1, MAPeriod, 0, MODE_SMA

Informations sur le projet

Budget
30+ USD
Délais
à 2 jour(s)