指定
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
評価
プロジェクト
186
41%
仲裁
24
58%
/
21%
期限切れ
13
7%
暇
類似した注文
We aim to belong to the Top 5 of Mql5 marketplace sellers. We are already in the Top 20 only after 2 years of presence. We are complying with the best standards in ethics and transparency. We already have a good reputation, numerous performing signals with no tricks, a building up community a presence on all marketplaces and social media Join the team and let's bring value to this marketplace
Fix a MartingaleBot
50+ USD
I want to fix my BOT that stopped working but I do not have the code file. I want to fix my BOT that stopped working but I do not have the code file. I want to fix my BOT that stopped working but I do not have the code file. I want to fix my BOT that stopped working but I do not have the code file. Verify EA Status The green "Automated trading enabled" confirms MT5 settings are correct. "Squared" means the EA hit a
Am looking for an well experienced developer or team to build a basic forex trading automation system connected to MetaTrader (MT4/MT5). The system should allow users to connect their trading accounts and execute trades automatically based on predefined signals or a master trading account. Experience with MetaTrader APIs, trade copying systems, and forex automation is preferred. NOTE: Kindly apply if you have done
EA
30+ USD
Subject Hello. I want an MT5 Expert Advisor that can grow a small account by catching strong trends and holding trades for a long time. Requirements: The EA should trade mainly XAUUSD and major pairs like EURUSD or GBPUSD. It should use a trend-following strategy and be able to hold trades for hours or even several days when the trend is strong. The entry should be a sniper entry using indicators like moving
Help code ohlc mtf ea mt5
80+ USD
Document attached to description. Do not use anything else you add yourself like Gap down, other anything else. Only ohlc mtf, hh ll. Hl lh. Previous bar [1]. Previous two bar [2]. Need programmer can help each entry and Condition. Tp use condition is same after price move from entry. Pending limit and stop order. If you not understand looking for programmer want to help me complete my ea conditions and entry. Just
Professional Smart RSI EA with News Filter
50 - 200 USD
need a high-quality Expert Advisor for MT5 based on the RSI strategy. Key Features: News Filter: The EA must stop trading 30 minutes before and after High-Impact news. Risk Management: > - Customizable Lot size (Default: 0.05). Hard Stop Loss fixed at 10 USD. Trailing Stop feature included. Strategy: RSI (30/70) entries for Gold and Forex. Please provide a professional and clean MQL5 code
Scalping Expert Advisor for M1 and M5 (EA Development)
700 - 1200 USD
am looking for an experienced developer to create a profitable scalping Expert Advisor for MetaTrader 5. i dont have a strategy therefore you should also come up with the strategy for EA Requirements: EA must work on M1 and M5 timeframes Designed mainly for scalping Minimum 75% win rate Small stop loss and controlled drawdown Must include risk management Developer qualification: Explanation of the trading strategy
Looking for a profitable existing EA
30 - 38 USD
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
NinjaTrader code fixing
30+ USD
Good morning, I have a Gap Fill strategy and a 10 min opening range break strategy that trade on RTH ES Futures data I have been working on that seem to have some bugs while live trading. They have both been coded by ChatGPT so I would like someone that know how to properly code a strategy to go over each to proof and debug them. Would you be able to do this and could you possibly add some context or features that
The detailed specification of the trading strategy is attached. The key here is thet the EA needs to be simple to use yet effective. The indicators DO NOT have buffers that can be used for EAs
プロジェクト情報
予算
30+ USD