Работа завершена
Время выполнения 2 дня
Отзыв от заказчика
Cannot Complain Very happy. Went above and beyond for me.
Will hire again if needed.
Отзыв от исполнителя
Thank you for the order, my Friend. 5-star customer.
Техническое задание
I need a dynamic lot size for my expert advisor with 3 input options:
1. fixed lot size (0.01)
if my account balance is $100,000 & I want to risk 0.01 lots per trade
2. Volume based on money ($1000) Example:
if my account balance is $100,000 & I want to risk $1000 of my account per trade (0.01 volume)
3. volume based on account percent (1%) Example:
if my account balance is $100,000 & I want to risk 1% of my account per trade (0.01 volume)
Most of the code has already been done, it just doesn't do what i want it to...
Heres The Code:
input group "General Settings" // General Setting Input Grouping
enum LOT_MODE_ENUM{ // Options
LOT_MODE_FIXED, // Fixed Lots
LOT_MODE_MONEY, // Lots Based On Money
LOT_MODE_PCT_ACCOUNT // Lots Based On % Of Account
};
input LOT_MODE_ENUM LotMode = LOT_MODE_FIXED; // Lot Mode Option
input double FixedLots = 0.01; // Lots
input double Money = 1000; // Money
input double PercentOfAccount = 5; // Percent
input double AccountBalance = 100000; // your account balance
-------------------------Functions-------------------------------
// Calculate Lots
bool CalculateLots(double slDistance, double &lots){
lots = 0.0;
if(LotMode==LOT_MODE_FIXED){
lots = FixedLots;
}
else{
double tickSize = SymbolInfoDouble(_Symbol,SYMBOL_TRADE_TICK_SIZE);
double tickValue = SymbolInfoDouble(_Symbol,SYMBOL_TRADE_TICK_VALUE);
double volumeStep = SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_STEP);
double riskMoney = LotMode==LOT_MODE_MONEY ? Money : AccountInfoDouble(ACCOUNT_BALANCE) * PercentOfAccount * 0.01;
double moneyVolumeStep = (slDistance / tickSize) * tickValue * volumeStep;
lots = MathFloor(riskMoney/moneyVolumeStep) * volumeStep;
}
// Check Calculated lots
if(!CheckLots(lots)){return false;}
return true;
}
// Check Lots For Min, Max And Step
bool CheckLots(double &lots){
double min = SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MIN);
double max = SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_MAX);
double step = SymbolInfoDouble(_Symbol,SYMBOL_VOLUME_STEP);
if(lots<min){
Print("Lot Size Will Be Set To The Minimum Allowable Volume");
lots = min;
return true;
}
if(lots>max){
lots = max;
Print("Lot Size Will Be Set To The Maximum Allowable Volume");
return false;
}
lots = (int)MathFloor(lots/step) * step;
return true;
}
// Calculate Lots - Paste in between "calc sl & tp" & "Open buy positions"
double lots;
if(!CalculateLots(lastTick.bid-sl,lots)){return;}
// Calculate Lots - Paste in between "calc sl & tp" & "Open sell positions"
double lots;
if(!CalculateLots(sl-lastTick.ask,lots)){return;}
Откликнулись
1
Оценка
Проекты
350
29%
Арбитраж
37
27%
/
65%
Просрочено
10
3%
Занят
2
Оценка
Проекты
123
31%
Арбитраж
7
29%
/
29%
Просрочено
5
4%
Работает
3
Оценка
Проекты
90
29%
Арбитраж
24
13%
/
58%
Просрочено
7
8%
Работает
4
Оценка
Проекты
28
36%
Арбитраж
7
14%
/
71%
Просрочено
2
7%
Свободен
Похожие заказы
Mr quetta
100+ USD
Yes, that is exactly what I need. The bot should not be restricted to a fixed list of currency pairs. It should technically scan all available Quotex pairs in real time and automatically select the pair where the market conditions are strongest. The bot should analyze each pair using multiple confirmations, such as short-term price momentum, trend direction, market structure, support/resistance, candle formation
Scalping Reaction Zones + Valid Order Blocks
30 - 150 USD
Platform: TradingView Programming Language: Pine Script v6 Type: Custom Indicator Project Name: Scalping Reaction Zones + Valid Order Blocks MAIN GOAL I need a custom TradingView indicator for scalping. The indicator must detect: 1. Reaction / Explosion Zones 2. Valid Order Blocks 3. Combined Reaction Zone + Order Block zones The indicator should NOT generate: Buy signals Sell signals TP SL Entry signals Trading
Hello, I trade on HFM MT5. Need SCALPING EA for scalping, budget $30. SYMBOLS: XAUUSD (GOLD), US30, NAS100, GER40, EURUSD TIMEFRAME: M1 and M5 PLATFORM: MT5, must work on HFM VPS STRATEGY: - EMA 9 crosses EMA 21 - RSI 14: BUY only if RSI >45, SELL only if RSI <55 - Bollinger Bands: Only trade when price returns inside BB after breakout - 1 trade at a time per symbol - SL: 150 points Gold / 100 points indices (must be
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account
Modification of Trade_Panel_7 7.05 Objective . I have this utility “Trade_Panel_7 7.05” with which I open and close positions. Please refer to attached “Trade Panel Modification.jpg”. It shows an input parameter “Volume Step”. This parameter has the initial value of 0.02 as shown. This feature needs to be amended. Present Status . Value of lot size is increased by this “Volume Step”. I have built a whole series of
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
GRID/DCA EA for XAUUSD Trading needed
50 - 100 USD
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
Информация о проекте
Бюджет
30+ USD
Сроки выполнения
от 1 до 7 дн.