工作已完成
执行时间1 一小时
客户反馈
thx for all - very good job
指定
Hello,
you write an EA the trails the open position. For trailing stop you use "ATRStops" indicator in attachment.
1) If I set the EA to the chart the EA loads and show the indicator on chart
2) The ea checks if there is an open position
3)
if there is an open buy position and the close is higher than the line, then you use line for trail (also for sell trades of curse)
4) You create
an input that I can say that the position will be closed if the close is under the line,
or we modify the stoploss on broker. Position will be
stop out directly on line
//+------------------------------------------------------------------+ //| ATRStops_v1.mq4 | //| Copyright © 2006, Forex-TSD.com | //| Written by IgorAD,igorad2003@yahoo.co.uk | //| http://finance.groups.yahoo.com/group/TrendLaboratory | //+------------------------------------------------------------------+ #property copyright "Copyright © 2006, Forex-TSD.com " #property link "http://www.forex-tsd.com/" //---- #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 Blue #property indicator_color2 Red //---- input parameters extern int Length=8; extern int ATRperiod=14; extern double Kv=3; //---- indicator buffers double UpBuffer1[]; double DnBuffer1[]; double smin[]; double smax[]; double trend[]; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int init() { string short_name; //---- indicator line SetIndexStyle(0,DRAW_LINE); SetIndexStyle(1,DRAW_LINE); IndicatorBuffers(5); SetIndexBuffer(0,UpBuffer1); SetIndexBuffer(1,DnBuffer1); SetIndexBuffer(2,smin); SetIndexBuffer(3,smax); SetIndexBuffer(4,trend); //---- name for DataWindow and indicator subwindow label short_name="ATRStops("+Length+")"; IndicatorShortName(short_name); SetIndexLabel(0,"Up"); SetIndexLabel(1,"Dn"); //---- SetIndexDrawBegin(0,Length); SetIndexDrawBegin(1,Length); //---- return(0); } //+------------------------------------------------------------------+ //| ATRStops_v1 | //+------------------------------------------------------------------+ int start() { int shift,limit, counted_bars=IndicatorCounted(); //---- if(counted_bars > 0) limit=Bars-counted_bars; if(counted_bars < 0) return(0); if(counted_bars ==0) limit=Bars-Length-1; //---- for(shift=limit;shift>=0;shift--) { smin[shift]=-100000; smax[shift]=100000; for(int i=Length-1;i>=0;i--) { smin[shift]=MathMax( smin[shift], High[shift+i] - Kv*iATR(NULL,0,ATRperiod,shift+i)); smax[shift]=MathMin( smax[shift], Low[shift+i] + Kv*iATR(NULL,0,ATRperiod,shift+i)); } trend[shift]=trend[shift+1]; if(Close[shift] > smax[shift+1])trend[shift]= 1; if(Close[shift] < smin[shift+1])trend[shift]=-1; if(trend[shift] >0) { if(smin[shift]<smin[shift+1])smin[shift]=smin[shift+1]; UpBuffer1[shift]=smin[shift]; DnBuffer1[shift]=EMPTY_VALUE; } if(trend[shift] <0) { if(smax[shift]>smax[shift+1])smax[shift]=smax[shift+1]; UpBuffer1[shift]=EMPTY_VALUE; DnBuffer1[shift]=smax[shift]; } } return(0); } //+------------------------------------------------------------------+
反馈
1
等级
项目
1008
47%
仲裁
33
36%
/
36%
逾期
99
10%
工作中
发布者: 6 代码
2
等级
项目
143
39%
仲裁
21
19%
/
48%
逾期
30
21%
空闲
相似订单
MT5 Opening Range Breakout EA Development
30 - 50 USD
I'm looking for an experienced MQL5 developer to create a Opening Range Breakout EA. The EA should identify the high and low of a configurable trading session and open trades when price breaks out of this range. It should include configurable Stop Loss, Take Profit, fixed lot size, break-even option and trading hours. Full mq5 required
Matosfx
30 USD
Am called martin sselubiri I need a robot for trading forex and stock and I want know how this robot works and how much it costs for me to use it
My MQL5 Expert Advisor wins most trades with small profits, then suddenly takes one large loss that wipes out weeks of gains. This is the "picking up pennies in front of a steamroller" pattern. Required fix: Find the exact cause of the large losses in the code. Cap the loss on every trade with a fixed stop loss (no martingale or averaging down). Stop trading in dangerous conditions (high volatility, strong trends
AI Forex Trading Bot for MT4 and MT5 I need an advanced Forex trading robot (Expert Advisor) that works on both MetaTrader 4 and MetaTrader 5. The robot should automatically analyse the Forex market, identify BUY and SELL opportunities, and execute trades when the trading conditions are met. It should support GBPUSD, EURUSD, USDJPY and GBPJPY. The robot should use EMA, RSI, MACD, price action and trend analysis
Name: SteelEdge Platform: MetaTrader 5 (MQL5) Expert Advisor Instruments: XAUUSD, EURUSD, US30 Timeframe: H1 (inputs to change it) STRATEGY - Trend filter: buy only when price is above the 200 EMA, sell only when below - Entry: price pulls back to the 50 EMA and a bullish (buy) or bearish (sell) engulfing candle closes - Confirmation: RSI(14) above 50 for buys, below 50 for sells - Stop loss: 1.5 x ATR(14) - Take
EXISTING PROFITABLE MT5 EXPERT ADVISOR
30 - 80 USD
I need an existing mt5 expert advisor that can been in trading for more than 12 months. The PF of the ea should not be less than 2.0 and be in profit in the last four months with average profit of not less than 20% per month. The Maximum drawdown should be less than 20% and Max deposit load less than 10%. Such ea should be able to trade with less than or equal to $300. Whats needed is .ex5 and source file is also
Ready to use MT5 bot
99 - 6990 USD
seller must provide the following to be considered... i will answer to all who fit this description, and can purchase more than 1 EA... - brief strategy description - overall EA expectancy - 1 week limited trial version, with whatever settings you consider best
MT5 DEVELOPER NEEDS
30+ USD
I am a trader looking to acquire an existing, stable, and consistently profitable Expert Advisor (EA) specifically designed primarily for Gold (XAUUSD). This is an outright purchase. I am not interested in developing a new EA from scratch. I am only interested in ready-to-use systems with a genuine, verifiable track record of performance
Aziz Toure
50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities
SMC Bot Creation
350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
项目信息
预算
30+ USD
截止日期
到 1 天