Spezifikation
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,
```
Bewerbungen
1
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
2
Bewertung
Projekte
160
42%
Schlichtung
20
60%
/
20%
Frist nicht eingehalten
9
6%
Arbeitet
Ähnliche Aufträge
Modify MT5 advisor
50+ USD
**Description of the advisor:** My advisor is designed for automatic trading on financial markets taking into account news. Now it: 1. Receives news from external sites that no longer work. And tries to build a table based on this data. 2. Enters the market in accordance with the selected strategy. 3. Uses virtual Stop Loss, Take Profit and Trailing Stop levels, which are not transmitted to orders, but calculated
Модифицировать советник МТ5
50+ USD
**Описание советника:** Мой советник предназначен для автоматической торговли на финансовых рынках с учетом новостей. Сейчас он: 1. Получает новости с внешних сайтов, которые больше не работают. И пытается построить таблицу на основе этих данных. 2. Входит в раынок в соответствии с выбраной стратегией. 3. Использует виртуальные уровни Stop Loss, Take Profit и Trailing Stop, которые не передаются в ордера, а
EMA crossover based EA for MT5
100+ USD
Both way entry with crossover of Multiple EMAs with additional features. Exit shall also be consider based on EMAs, Multiple lot with multiple numbers shall have to consider. News filtering has to be considered with run time and trailing stop loss
Writing of an Expert Advisor
30 USD
I need a expert programmer who can help me write a profitable strategy for Expert advisor. Note:it must be profitable because I need a EA robot that will be making lot of money. Thanks
Hello, I need an robot that will allow me to makes money IF you have a robot that makes real cool money , kindly message with the robot functional and provide demo acc to test how it making money before I buy the real robot with the source code
A Simple Trading Panel for MT4/MT5
30 - 40 USD
I NEED SOMEONE WITH EA CODING EXPERIENCE TO DEVELOP A TRADING MANAGEMENT SYSTEM FOR BOTH MT4 & MT5 PLEASE TAKE NOT THEAT THE EA MANAGEMENT SYSTEM SHOULD HAVE THE FOLLOWING: BASIC STRUCTURE *BUY & SELL BUTTONS *Lot Size (In Pips) *Take Profit (In Pips) *Stoploss (In Pips) *Number of Trades (1-20) ADVANCED STRUCTURE *Pending Orders (Including SL,TP, Lot Size,Price,buy stop,buy limit,sell stop,sell) *Delete Pending
Hello, I want to create an MQL5 expert advisor based on the indicators in TradingView. The name of the indicator is UT Bot Alerts by QuantNomad. This EA will then place a buy order if the UT Bot alert gives a buy signal, and vice versa. Plus the martingale strategy, if the first position is hit by a stop loss, then wait for a new signal again and open an order with a lot 2x larger
Need a Coding Expert. Fully automated Robot for Trading with minimal losses. It should be able to open/close trades automatically according to the strategy. Also, there should be an option to select maximum leverage for Trading FOREX, COMMODITIES, ENERGIES, etc. The forecast reports of trading strategies to be shared automatically to a specified Email, WhatsApp and Telegram accounts. TO DEVELOP A TRADING MANAGEMENT
Robot
30+ USD
numbers of trad pre day, atr stoplost breakeven opening of odrtger buy = Upper neutral leve 40, previous less than level 50, new >= level 50 sell = Lower neutral level 60, previous less than level 50, new => level 50
Telegram to MT4/5 signal copier
50 - 300 USD
Hello everyone, I am a forex Telegram channel owner who wants to offer the members an option to buy a Telegram to MT4/5 copier, which is developed for our company. Functionality I am looking for is: - Customizable lot size. - Up to 3 TP points, with an option to take partial profits on each TP. - Option to set SL at breakeven once certain TP is hit. - Ability to copy from multiple channels (including private) I know
Projektdetails
Budget
30+ USD
Kunde
Veröffentlichte Aufträge4
Anzahl der Schlichtungen0