Modification of Existing Positioning Code

Job finished

Execution time 1 hour
Feedback from customer
Greate Programmer, quick and easy process!
Feedback from employee
This person is great explain well to the point. Happy to work with him and in future

Specification

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

Responded

1
Developer 1
Rating
(67)
Projects
79
33%
Arbitration
6
50% / 33%
Overdue
7
9%
Free
2
Developer 2
Rating
(332)
Projects
485
40%
Arbitration
82
11% / 63%
Overdue
77
16%
Free
Published: 1 code
3
Developer 3
Rating
(647)
Projects
1295
67%
Arbitration
84
26% / 49%
Overdue
338
26%
Free
4
Developer 4
Rating
(1156)
Projects
1462
63%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
5
Developer 5
Rating
(16)
Projects
17
29%
Arbitration
1
0% / 100%
Overdue
2
12%
Free
6
Developer 6
Rating
(115)
Projects
129
18%
Arbitration
11
27% / 55%
Overdue
4
3%
Free
7
Developer 7
Rating
(412)
Projects
543
75%
Arbitration
9
44% / 0%
Overdue
24
4%
Free
Similar orders
A fairly simple bot, which you will have probably made most of this 100 times before, the only slight difference is the stop loss close logic, I want a hard stop, that will be logged at the brokers side as a fail safe, but then a soft stop, that only closes the trade if the candle closes beyond the soft stop price, based on the time frame I specify. (this avoids trades being stopped out by wicks). Any additional
HELLO EVERYONE , I NEED AAN INDICATORE AND EA ON STOCHESTIC OSSILATOR, WHICH CAN GIVE ME ALERT WHEN SIGNAL APEARS, INDICAOTRE I CAN SHOW ON TRADING VIEW , EXACTLTY THAT INDICATORE I NEEDED.INDICATORE NAME ON TRADING VIEW( JL STOCHESTIC DIVERGENCE ALERT).. THANK YOU
//+------------------------------------------------------------------+ //| Expert initialization function | //+------------------------------------------------------------------+ #property strict // Inputs input int EMA_Fast = 9; input int EMA_Slow = 21; input int RSI_Period = 14; input double Lots = 0.1; input int StopLoss = 20; // وقف خسارة (بـ نقاط) input int TakeProfit = 40; // هدف (بـ نقاط)
I have the Strategy and full spec any developer can run test to confirm. I need a developer to code it Claude AI has never given a score 11/10. "4.4 PROFIT FACTOR EA - CLAUDE AI CERTIFIED Scorpio Sniper Elite v1.4 - COMPLETE production spec ready: • 60% win rate | $100-190 daily expectancy • 50yr Monte Carlo validated • CLAUDE AI robustness certified [ATTACH ONLY: YOUR 11/10 CERTIFICATE
EA gold sniper 30 - 150 USD
I need an EA specialized for scalping XAUUSD, with short TP and SL in the range of 20–50 pips (equivalent to 2–5 gold price units). No DCA Martingale, no holding/averaging down positions, no grid trading, and no simultaneous buy and sell orders. The strategy and methodology will be yours, and I also require the full source code upon completion
Mt5 or mt4 bot 200 - 600 USD
MetaTrader 5 Expert Advisor Manual Start – Auto Hedge – Dynamic Lot Sequence – Price-Based SL/TP 1. Platform & Account - Platform: MetaTrader 5 - Account type: Hedging - Broker: Exness - Must work on Cent and Standard accounts - Symbol: XAUUSD - Must support different symbol digits automatically 2. First Trade (Manual Only) - EA must NOT open the first trade - First trade is opened manually by the trader - Direction
Profitable Gold bot Requirement Able to achieve at least 5% profit per week with any type of strategy Proper risk management with SL Able to back test for at least 6 month proven result No martingale/ No grid Avoid high impact news Reward Willing to pay more if able to achieve higher profits with acceptable drawdown. (Not small reward) very welcome long term cooperation with good rewards Testing is compulsory before
Attached Files Can be used for reference. Please thoroughly understand the requirements and mql5 & set files before accepting the request. 1. Only Accept the job request if you are able to complete on time 2. I want you to show me demo of the Bot created and tested in Demo account for at least 3 days 3. I want you to show me the back tested results for last 5 years 4. 2 bots Need to be created Bot 1 with attached
🤖 A robot trading indicator typically requires specific parameters to function effectively. 📊 For Forex daily trading with a Moving Average (MA) focus and risk management, the indicator should include: MA type (e.g., Simple, Exponential), MA periods (e.g., 50-day, 200-day), risk management rules (e.g., stop-loss, take-profit), and signal logic (e.g., crossover, trend-following). The indicator should also account
I am looking for an experienced MQL5 developer to convert a complex TradingView Pine Script (will provide the script from tradingview) into a fully automated MT5 Expert Advisor -bot. The TradingView script includes: Market Structure (BOS, CHoCH, Swing BOS) Strong / Weak High & Low Equilibrium (Premium / Discount zones) Volumetric Order Blocks Fair Value Gaps (FVG / VI / OG) Accumulation & Distribution zones Equal

Project information

Budget
30+ USD
Deadline
to 2 day(s)