指定
Here is a script for forex trading AI tool requirements
_MT4 Version_
```
//+------------------------------------------------------------------+
//| Script program start function |
//+------------------------------------------------------------------+
int start()
{
// Define the number of positions
int numPositions = 50; // adjust this value from 5 to 100
// Define the symbol and stop levels
string symbol = _Symbol; // current symbol
double stopLevel = 0.01; // adjust this value
// Define bulk operations buttons
int bulkCloseAll = 0;
int bulkCloseProfitable = 0;
int bulkCloseSell = 0;
int bulkCloseBuy = 0;
// Define stop loss and take profit buttons
double stopLoss = 0.0;
double takeProfit = 0.0;
// Define adjustable lot size
double lotSize = 0.1;
// Loop through each position
for (int i = 0; i < numPositions; i++)
{
// Calculate the stop price for buy and sell
double buyStopPrice = Ask + (i * stopLevel);
double sellStopPrice = Bid - (i * stopLevel);
// Place buy stop order
int ticket = OrderSend(symbol, OP_BUYSTOP, lotSize, buyStopPrice, 3, stopLoss, takeProfit, "Buy Stop", 0, 0, Green);
// Place sell stop order
ticket = OrderSend(symbol, OP_SELLSTOP, lotSize, sellStopPrice, 3, stopLoss, takeProfit, "Sell Stop", 0, 0, Red);
}
// Bulk operations buttons
if (bulkCloseAll == 1) {
CloseAllOrders();
}
if (bulkCloseProfitable == 1) {
CloseProfitableOrders();
}
if (bulkCloseSell == 1) {
CloseSellOrders();
}
if (bulkCloseBuy == 1) {
CloseBuyOrders();
}
return(0);
}
//+------------------------------------------------------------------+
//| Close all orders function |
//+------------------------------------------------------------------+
void CloseAllOrders()
{
for (int i = 0; i < OrdersTotal(); i++) {
OrderClose(OrderTicket(), OrderLots(), OrderClosePrice(), 3, Green);
}
}
//+------------------------------------------------------------------+
//| Close profitable orders function |
//+------------------------------------------------------------------+
void CloseProfitableOrders()
{
for (int i = 0; i < OrdersTotal(); i++) {
if (OrderProfit() > 0) {
OrderClose(OrderTicket(), OrderLots(), OrderClosePrice(), 3, Green);
}
}
}
//+------------------------------------------------------------------+
//| Close sell orders function |
//+------------------------------------------------------------------+
void CloseSellOrders()
{
for (int i = 0; i < OrdersTotal(); i++) {
if (OrderType() == OP_SELL) {
OrderClose(OrderTicket(), OrderLots(), OrderClosePrice(), 3, Green);
}
}
}
//+------------------------------------------------------------------+
//| Close buy orders function |
//+------------------------------------------------------------------+
void CloseBuyOrders()
{
for (int i = 0; i < OrdersTotal(); i++) {
if (OrderType() == OP_BUY) {
OrderClose(OrderTicket(), OrderLots(), OrderClosePrice(), 3, Green);
}
}
}
```
_MT5 Version_
```
//+------------------------------------------------------------------+
//| Script program start function |
//+------------------------------------------------------------------+
void OnStart()
{
// Define the number of positions
int numPositions = 50; // adjust this value from 5 to 100
// Define the symbol and stop levels
string symbol = Symbol(); // current symbol
double stopLevel = 0.01; // adjust this value
// Define bulk operations buttons
int bulkCloseAll = 0;
int bulkCloseProfitable = 0;
int bulkCloseSell = 0;
int bulkCloseBuy = 0;
// Define stop loss and take profit buttons
double stopLoss = 0.0;
double takeProfit = 0.0;
// Define adjustable lot size
double lotSize = 0.1;
// Loop through each position
for (int i = 0; i < numPositions; i++)
{
// Calculate the stop price for buy and sell
double buyStopPrice = SymbolInfoDouble(symbol, SYMBOL_ASK) + (i * stopLevel);
double sellStopPrice = SymbolInfoDouble(symbol, SYMBOL_BID) - (i * stopLevel);
// Place buy stop order
int ticket = OrderSend(symbol, OP_BUYSTOP, lotSize, buyStopPrice,
```
応答済み
1
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
暇
2
評価
プロジェクト
184
42%
仲裁
24
58%
/
21%
期限切れ
12
7%
仕事中
類似した注文
Modification of exit method for existing expert
30 - 100 USD
Hello I would like to modify the exit method of the trade for current expert advisor which include martingale trading. basically adjusting the position size and closing the trade. additional details will be provided in the next step
Convert Pinescript indicator to mql5 code
30 - 100 USD
I have 3 pine script of trading view and want to convert it into mql5 code. basically it has 2 script and in that one script I use 2 different ways. so here is 3 stratagy that can work in one code mql5 and I can use in mt5
I need a MetaTrader 5 Expert Advisor with full MQ5 source code. Platform: - MT5 only - Full MQ5 source code mandatory - Must work with Exness broker (symbol suffix like XAUUSDm) Strategy: - Trend-based trading only - NO grid - NO martingale - NO averaging - Fixed Stop Loss & Take Profit - Max 1–2 trades at a time Risk Management: - Daily profit target (stop trading after hit) - Daily loss limit - Maximum drawdown
Multi-Asset AI Trading Bot Details Proposals I want a single, cohesive AI bot that can log in to MetaTrader, Coinbase, Robinhood, and TradingView, scan live market data, and execute trades automatically in stocks, forex, and crypto. The core logic must support day-trading, swing-trading, and scalping modes that I can toggle on a schedule or by simple configuration. The workflow I picture is: • Real-time data
I need a gold EA that perform well.
30 - 100 USD
I need someone that is able to develop for me a MT5 EA that perform VERY WELL on XAUUSD. Every strategy is accepted. By applying, please send me screenshot of results since 2018
Editing of existing EA required
50 - 150 USD
Hello developers, I'm looking for existing, proven EAs (MQL5) that work flawlessly on MT5. Requirements: Demo version available for testing Backtest results + screenshots Verified trade history from 2018-2025 Budget is negotiable If you've got an EA that fits, hit me up
CẦN TÌM NGƯỜI VIẾT EA NHƯ HÌNH
500+ USD
cần người tạo EA y thay đổi hình ảnh gửi đầy đủ tính năng như hình giá cả có thể tăng thêm khối lượng mong muốn viết giống hình không khác ROBOT HƠI NHIỀU TÍNH NĂNG MỌI NGƯỜI CÓ THỂ ĐƯA GIÁ THAM KHẢO
I want to develop and EA first to use for back testing, then to use for trading. This will be done on the 15 min timeframe. The EA must Identify sessions highs and lows with specific timings (Asian, London, NY), Place three EMA and ensure that the 50, 100 and 200 exponential moving averages are in order to give directional bias Sell bias = 50 below the 100, which is below the 200 Buy bias = 50 above the 100, which is
I need an experienced MQL4 developer to build a robust, conservative MT4 EA designed to trade Forex major pairs on IG . This is for long-term use with controlled drawdown — no martingale/grid/hedging . Platform / Broker Platform: MT4 Broker: IG Must work with: 5-digit pricing, variable spreads, slippage, and IG’s execution constraints Symbols (Majors only) EURUSD, GBPUSD, USDJPY, AUDUSD, USDCHF, USDCAD (configurable
Need a HFT scalping EA
30 - 100 USD
Require the development of a high-speed HFT, fully automated trading Expert Advisor (EA) for MetaTrader 5 , optimized for live trading on both Deriv and Exness . The EA must be designed for fast execution, low latency, and reliability on real-money accounts , with full compatibility across broker-specific contract specifications, tick sizes, tick values, pricing formats, and volume rules. It should automatically
プロジェクト情報
予算
30+ USD