指定
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%
暇
類似した注文
An expert advisor using high lots but good risk
30 - 200 USD
Broker is Blackwell Global. I run a MAM account and have been using a bot that uses 0.02 lots per £100 with only 1.5% risk per trade but the bot has been unprofitable. The more lots per £100 the better, but risk of roughly 1%-2% + fees of 4 pence per 0.01 lots should be considered. The more trades the system does the better, as this is a MAM account - HFT would be perfect but any strategy is okay. Any forex pair is
I am looking for an experienced MQL5 developer to build a fully automated trading bot (Expert Advisor) for MetaTrader 5 . The bot will focus on trend-following scalping and must be designed to trade XAUUSD and BTC on the M1 timeframe . The objective is to create a stable and efficient EA that can open multiple trades per day while managing risk using proper stop-loss, take-profit, and trailing stop mechanisms
Profitable Prop firm EA for MT5
30+ USD
I am looking for MQL5 Programmer who can convert a trading view indicator into MT5 Prop firm EA. The EA should follow all trading rules of a prop firm and able to pass evaluations. The EA should be able to generate profits in funded account also. There must be dashboard that should all parameters like Account size, daily drawdown, target profit, session name, etc. Please contact me for more details
I am looking for an experienced MT4 (MQL4) developer to build a Harmonic Pattern Indicator with a PRZ (Potential Reversal Zone) detection system , similar to advanced harmonic scanners. Kindly apply if you can handle this project. Note: I don't want unprofessional developer
Trading view indicator to mql5
30 - 31 USD
hello, i want a convertion of this trading view indicator FVG (NEPHEW_SAM_) to mql5 to be add later to an expert advisor. i want to access this data, gap data printed on current timeframe and multi timeframe that i choose (current, timeF1, timeF2, timeF3, timeF4)(gap time, gap value, top gap value, low gap value, gap type bull / bear, gap type iFVG or FVG). a function that check if the price is checking the gap at
Looking for Partner to Deploy AI Trading System (MT5)
1000 - 5000 USD
I have developed a ready-made quantitative trading system for MetaTrader 5. The system uses an ensemble of machine learning models (XGBoost, LightGBM, Random Forest) combined with a market regime filter based on a Hidden Markov Model. Core features: - Automated trading for XAUUSD - Risk management and dynamic position sizing - Market regime detection (trend / range) - Volatility filter - Telegram monitoring interface
Hello
100 - 200 USD
Programmer Requirement The programmer must have good experience with the following indicators and price action patterns used in this strategy: Bollinger Bands RSI ATR The programmer must also understand and correctly implement the following candlestick patterns: Bullish Engulfing Bullish Pin Bar Bearish Engulfing Bearish Pin Bar The programmer must have experience combining technical indicators with candlestick
EA CONVERTER
30 - 100 USD
I need someone who can create EA CONVERTER that can installed in my phone and convert my EA into mobile bot and should be my app ,and people should be able to use it they're are interested but they should pay for it
I need an Ea programmer
30 - 150 USD
I need EA programmer to create me an Ea that trades Gold and Indices it should be mobile bot automation, that can both scalp and swing trades, the bot should use top analysis from D1 then H4 and H1
Bot
50 - 150 USD
Hello, I am looking to purchase a professional trading bot for Gold (XAUUSD) that includes the full strategy . However, I would like the option to test the bot for one month before committing to the purchase . If you have a bot that performs well on Gold trading , please send me the details along with the trial option for one month so I can evaluate its performance. Thank you
プロジェクト情報
予算
30+ USD