工作已完成
执行时间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
等级
项目
322
30%
仲裁
34
26%
/
65%
逾期
10
3%
工作中
2
等级
项目
122
30%
仲裁
6
33%
/
33%
逾期
5
4%
工作中
3
等级
项目
90
29%
仲裁
24
13%
/
58%
逾期
7
8%
工作中
4
等级
项目
28
36%
仲裁
7
14%
/
71%
逾期
2
7%
空闲
相似订单
Gold robot
3000+ USD
I really liked this training platform. I want to start a good business with this funding amount."I like crypto trading. Does it provide a demo account that is good for learning?"
Gold robot
3000+ USD
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
I am looking for an experienced MT4/MT5 developer to analyze my trading history and replicate the strategy in a new Expert Advisor (EA). The developer must have proven experience in reverse engineering strategies, analyzing trading data, and developing EAs across various trading methodologies. A deep understanding of XAUUDS and BTCUSD behavior, as well as chart analysis, is essential. Please note that we do not have
Title: MT5 Forex Trading Robot Development I need a MetaTrader 5 (MT5) Expert Advisor (EA) for automated Forex trading. Requirements: 1. The robot must be fully automated and capable of opening and closing trades without manual intervention. 2. Compatible with MetaTrader 5 (MT5). 3. Adjustable lot size, Stop Loss, and Take Profit settings. 4. Built-in risk management based on account balance. 5. Ability to trade
Risk management EA
30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix
30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
A Simple EA for Gold work on MT5
50 - 150 USD
A bot takes trades every few seconds until hit the profit with the same lots , i am attaching a picture as well. If anyone can do that please contact me i will give the account details
GRID EA with PRUNING
80+ USD
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit
项目信息
预算
30+ USD
截止日期
从 1 到 7 天