指定
Develop an automated trading bot that implements a trading strategy based on file excel
Code strategy on MT4
Create a single EA file with input parameters based on the requirements. (and use DC indicator in this link Free download of the 'Donchian Channel' indicator by 'PeterBernard' for MetaTrader 4 in the MQL5 Code Base, 2023.11.17 but with sma use sma 52 not in DC)
Add and handle full conditions for entry, exit, close orders, and scale order execution, ... in file excel
Please help me follow all:
https://docs.google.com/spreadsheets/d/1dNXkq81oePHv-TS91B8z4Zffu79o2e0b/edit?usp=sharing&ouid=102650610064881617754&rtpof=true&sd=true
example code:
//+------------------------------------------------------------------+ //| ProjectName | //| Copyright 2018, CompanyName | //| http://www.companyname.net | //+------------------------------------------------------------------+ #property copyright "Copyright 2024, MetaQuotes Ltd." #property link "https://www.mql5.com" #property version "1.00" #property strict #define STR_OBJ_PREFIX ("_eamp_") //#include <src_inc/ea_manager.mqh> #include <src_inc/templateUtil.mqh> string gSymbol = _Symbol; input ENUM_TIMEFRAMES TRADE_TF = PERIOD_M5; ENUM_TIMEFRAMES TRADE_TF_CLOSE = TRADE_TF; input double DONCHIAN_DISTANCE_UP_DOW_TREND_REVERSE = 50; // TREND_REVERSE Distance between up and down Dochian double SARstep = 0.02; double SARMaxium = 0.2; double minLot; enum TRADE_METHOD_ENUM { TRADE_METHOD_TREND_FOLLOW = 0, TRADE_METHOD_TREND_REVERSE = 1, TRADE_METHOD_BOTH = 2, }; input TRADE_METHOD_ENUM TRADE_METHOD = TRADE_METHOD_TREND_FOLLOW; // 5 => 1, 2, 3, 4, 5 , 6, input int ORDER_COUNT = 5; //3 *4 //Closing 3 x 3 = 9 enum PRICE_CLOSE_LEVEL_ENUM { CASE_1 = 1, CASE_2 = 2, }; input PRICE_CLOSE_LEVEL_ENUM PRICE_CLOSE_LEVEL = CASE_2; input int EA_CODE = 20241105; input double X = 20; //X_POINT_SCALEORDER int InpBarsToLookBack = 52; // Donchian Bars int InpMaPeriod = 52; // Donchian Ma Period ENUM_MA_METHOD InpMaMethod = MODE_SMA; // Donchian Ma Method //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ int consolidatedLength = 20; // TREND_FOLLOW consolidatedLength (number candles) 1 double consolidatedRange = 19; // TREND_FOLLOW consolidatedRange (up - down) 1 int MAX_CANDLE_DISTANCE_FROM_CONSOLIDATED_ZONE = 15; //TREND_FOLLOW_MAX_CANDLE_DISTANCE_FROM_CONSOLIDATED_ZONE_MAX_15 //MAX_CANDLE_DISTANCE_FROM_CONSOLIDATED_ZONE 15 ok 25-10 30-10 h1 in example double slope=0.15; //slope 0.01 0.15 TREND_FOLLOW //0.15 TREND_FOLLOW ok in example int slipPage = 3; //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ int OnInit() { if(AccountLeverage()==0) { Alert("AccountLeverage 0"); return (INIT_FAILED); } minLot = calculateTotalVolume(0, AccountLeverage(), gSymbol, AccountEquity()) / 10; minLot = getStandardVolume(gSymbol, minLot); Print("OnInit ", minLot); return (INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ void OnTick() { if(!isNewbar(gSymbol,TRADE_TF)) return; int buyCount = 0; int sellCount = 0; double buyLot = 0; double sellLot = 0; double _buyProfit = 0; double _sellProfit = 0; double _lastBuyPrice = 0; double _lastSellPrice = 0; updateBuySellPosStatus(EA_CODE, buyCount, sellCount, buyLot, sellLot, _buyProfit, _sellProfit, _lastBuyPrice, _lastSellPrice,gSymbol); //handle closing //ScaleOrder ScaleOrder(TRADE_METHOD, _lastBuyPrice, _lastSellPrice); //trading zone } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ void ClosePositionTrendFollow(PRICE_CLOSE_LEVEL_ENUM _PRICE_CLOSE_LEVEL) { if(getOrdersTotal(gSymbol, EA_CODE, OP_BUY) == 0 && getOrdersTotal(gSymbol, EA_CODE, OP_SELL) == 0) return; if(_PRICE_CLOSE_LEVEL == CASE_1) { } if(_PRICE_CLOSE_LEVEL == CASE_2) { } } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ bool isPSline(int _startCandle, int _endCandle, bool isBuy) { if(isBuy) { } if(!isBuy) { } return false; } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ bool isBuySignal(TRADE_METHOD_ENUM tradeMethod, PRICE_CLOSE_LEVEL_ENUM closeLevel) { if(TRADE_METHOD == TRADE_METHOD_TREND_FOLLOW || TRADE_METHOD == TRADE_METHOD_BOTH) { } if(TRADE_METHOD == TRADE_METHOD_TREND_REVERSE || TRADE_METHOD == TRADE_METHOD_BOTH) { } return false; } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ bool isSellSignal(TRADE_METHOD_ENUM tradeMethod, PRICE_CLOSE_LEVEL_ENUM closeLevel) { if(TRADE_METHOD == TRADE_METHOD_TREND_REVERSE || TRADE_METHOD == TRADE_METHOD_BOTH) { } if(TRADE_METHOD == TRADE_METHOD_TREND_FOLLOW || TRADE_METHOD == TRADE_METHOD_BOTH) { } return false; } //+------------------------------------------------------------------+ //| | //+------------------------------------------------------------------+ void ClosePositionTrendReverse(PRICE_CLOSE_LEVEL_ENUM closeLevel) { } //+------------------------------------------------------------------+ //+------------------------------------------------------------------+ void ScaleOrder(TRADE_METHOD_ENUM _TRADE_METHOD, double _lastBuyPrice, double _lastSellPrice) { } //+------------------------------------------------------------------+
反馈
1
等级
项目
201
27%
仲裁
8
25%
/
50%
逾期
5
2%
工作中
2
等级
项目
380
17%
仲裁
24
42%
/
29%
逾期
19
5%
已载入
3
等级
项目
3
0%
仲裁
0
逾期
0
空闲
4
等级
项目
8
38%
仲裁
4
0%
/
50%
逾期
2
25%
工作中
5
等级
项目
1
0%
仲裁
0
逾期
0
工作中
6
等级
项目
144
34%
仲裁
11
9%
/
55%
逾期
26
18%
工作中
7
等级
项目
88
14%
仲裁
31
29%
/
58%
逾期
36
41%
空闲
相似订单
Simple Clear Profitable EA for MT4/5
100+ USD
1. Trend-Following with Pending Orders • Entry Condition: • Only place pending orders when both the 1-hour and 4-hour timeframes confirm a trend using the EMA (Exponential Moving Average). A buy stop is placed if the 50 EMA is above the 200 EMA on both timeframes, and a sell stop is placed if the 50 EMA is below the 200 EMA. • Additional Condition: RSI(14) must be above 55 for a buy setup and below 45 for a sell
I wish someone can code this ea dashboard for not more than 30 credits. Create a simple and compact multipair ea dashboard H1 H4 D1 W1 ON OFF button for each period only 4 indicator sl, breakeven, trailing ,trading hours.Add visual alert . Give sell signal if any sell arrow is between or above the moving averages above when the trend is down. If the 2 arrows appear simultaneously in sell within or above the moving
Need to Ai robot tool programmer who will give daily profit with clear signals this will give clear buy and sell signals with proper target kindly let me know if any one can do for me
I’m looking to have an EA robot (mt4/5) created that has a numerous set of simple rules that aligns with my strategy. I own a signal group and have all of my trades from the past 12 most mapped out I’m very new to robots so don’t know how everything works, my strategy is VERY simple but VERY efficient giving i have a 85%+ Win Rate. Looking for my bot to do the same results if not
Zinsdifferenz EURUSD Idee der Strategie: Zinsdifferenz zwischen 2-jährigen Anleihen der Eurozone und den USA betrachtet (EU02Y – US02Y). Vergleich der aktuellen Zinsdifferenz mit dem 30-Tage-Mittelwert (SMA/EMA/WMA). Zinsdifferenz auch zwischen weiteren 2-jährigen Anleihen ermittelbar Parametrierung auf verschiedene 2-jährigen Anleihen ermöglichen. Z.B. GB02Y - US02Y oder JP02Y - EU02Y Signale: Kurs über Mittelwert
MT4 to MT5 Bot Conversion
30 - 50 USD
I am seeking a capable and reliable developer to convert my trading bot from MT4 to MT5. The current bot is in .ex4 format, and I need it to function seamlessly on the MT5 platform. I am looking for a quick turnaround, so please include your availability and how soon you can start. If you are interested and believe you have the skills to assist with this project, please reach out with your proposal. Thank you
Create an EA that trade forex
30 - 200 USD
I want a EA robot that trade forex and that is align with the following strategies and indicators: Supply & Demand, Liquidity clear out, Support and Resistance with supporting indicators Moving Average and RSI
AN EXPERT ADVISOR FOR PULLBACK STRATERGY
30 - 75 USD
I WANT AN EXPERT ADVISOR WITH THESE REQUIREMENTS, 1. THE BOT SHOULD TAKE BUY SIDE TRADE IN SELLING MARKET AND TAKE SMALL TP AS SOON AS MARKET GIVES PULLBACK IN BUY SIDE. 2. THE BOT SHOULD TAKE SELL SIDE TRADE IN BUYING MARKET AND TAKE SMALL TP AS SOON AS MARKET GIVES PULLBACK IN SELL SIDE. 3. LOT SIZE SHOULD BE DECIDED AS PER THIS EXAMPLE IN A 100$ ACCOUNT THE STARTING LOT WILL BE 0.01 LOT AND TAKE TP OF 0.20$ AND
EA for hedging/scalping grid in mt4
90 - 100 USD
Hi Developer, I need a current running scalping mt4 EA in live account for usd pairs and jpy pairs. I don't care about any strategy. But, I need profit only. Please approach me with trade history from live account. I need the profitable mt4 ea only Note: Minimum Initial deposit for this mt4 ea is 100 usd
Need an experienced developer to fix 1 issue in the EA where: There is an error in TP value, EA closes before profit You will not need to fix anything else other than the above mentioned. Need this to be fixed within 1 day or less. Full scope of description along with all the files will be given to you before you are assigned the job. Thank you
项目信息
预算
50+ USD
截止日期
到 3 天
客户
所下订单1
仲裁计数0