工作已完成
执行时间3 小时
指定
Need an EA for MT5 (including source code) :
MT5 EA with Adaptive ATR
- The EA is based on 2 MA cross & close positions by ATR indicator
-
- Fast MA cross slow MA to above and atr adaptive MA is green then open buy
- Close Buy order after the ATR indicator turns red
- sell fast MA cross slow MA to below and adaptive MA is red then open sell
- Close Sell order after the ATR indicator turns green
- Order execution on the best possible rates
- The Adaptive ATR indicator code already provided with the order
- All indicator input parameters should be user modifiable like MA period, MA type, ATR period etc
- It should work with any _Symbol & current chart time period & all times 24*5 no restrictions
- Expect default SL TP applicable as 0 and should be user modifiable
-
Needed the source code for the EA
//------------------------------------------------------------------ #property indicator_chart_window #property indicator_buffers 3 #property indicator_plots 1 #property indicator_label1 "EMA" #property indicator_type1 DRAW_COLOR_LINE #property indicator_color1 clrDarkGray,clrDeepPink,clrLimeGreen #property indicator_width1 2 //--- input parameters input int inpEmaPeriod = 25; // EMA period input ENUM_APPLIED_PRICE inpPrice = PRICE_CLOSE; // Price //--- indicator buffers double val[],valc[],atr[]; //+------------------------------------------------------------------+ //| Custom indicator initialization function | //+------------------------------------------------------------------+ int OnInit() { //--- indicator buffers mapping SetIndexBuffer(0,val,INDICATOR_DATA); SetIndexBuffer(1,valc,INDICATOR_COLOR_INDEX); SetIndexBuffer(2,atr,INDICATOR_CALCULATIONS); //--- indicator short name assignment IndicatorSetString(INDICATOR_SHORTNAME,"ATR adaptive EMA ("+(string)inpEmaPeriod+")"); //--- return (INIT_SUCCEEDED); } //+------------------------------------------------------------------+ //| Custom indicator de-initialization function | //+------------------------------------------------------------------+ void OnDeinit(const int reason) { } //+------------------------------------------------------------------+ //| Custom indicator iteration function | //+------------------------------------------------------------------+ int OnCalculate(const int rates_total,const int prev_calculated,const datetime &time[], const double &open[], const double &high[], const double &low[], const double &close[], const long &tick_volume[], const long &volume[], const int &spread[]) { if(Bars(_Symbol,_Period)<rates_total) return(prev_calculated); for(int i=(int)MathMax(prev_calculated-1,0); i<rates_total && !IsStopped(); i++) { atr[i] = 0; for (int k=0; k<inpEmaPeriod && (i-k-1)>=0; k++) atr[i] += MathMax(high[i-k],close[i-k-1])-MathMin(low[i-k],close[i-k-1]); atr[i] /= inpEmaPeriod; int _start = MathMax(i-inpEmaPeriod+1,0); double _max = atr[ArrayMaximum(atr,_start,inpEmaPeriod)]; double _min = atr[ArrayMinimum(atr,_start,inpEmaPeriod)]; double _coeff = (_min!=_max) ? 1-(atr[i]-_min)/(_max-_min) : 0.5; double _alpha = 2.0 / (1+inpEmaPeriod*(_coeff+1.0)/2.0); double _price = getPrice(inpPrice,open,close,high,low,i,rates_total); val[i] = (i>0) ? val[i-1]+_alpha*(_price-val[i-1]) : _price; valc[i] = (i>0) ?(val[i]>val[i-1]) ? 2 :(val[i]<val[i-1]) ? 1 : valc[i-1]: 0; } return(rates_total); } //+------------------------------------------------------------------+ //| Custom functions | //+------------------------------------------------------------------+ double getPrice(ENUM_APPLIED_PRICE tprice,const double &open[],const double &close[],const double &high[],const double &low[],int i,int _bars) { if(i>=0) switch(tprice) { case PRICE_CLOSE: return(close[i]); case PRICE_OPEN: return(open[i]); case PRICE_HIGH: return(high[i]); case PRICE_LOW: return(low[i]); case PRICE_MEDIAN: return((high[i]+low[i])/2.0); case PRICE_TYPICAL: return((high[i]+low[i]+close[i])/3.0); case PRICE_WEIGHTED: return((high[i]+low[i]+close[i]+close[i])/4.0); } return(0); } //+------------------------------------------------------------------+
反馈
1
等级
项目
9
11%
仲裁
5
40%
/
60%
逾期
1
11%
空闲
2
等级
项目
418
34%
仲裁
53
36%
/
40%
逾期
153
37%
繁忙
3
等级
项目
1429
62%
仲裁
21
57%
/
10%
逾期
43
3%
空闲
4
等级
项目
0
0%
仲裁
0
逾期
0
空闲
5
等级
项目
8
25%
仲裁
1
100%
/
0%
逾期
3
38%
空闲
6
等级
项目
131
22%
仲裁
7
57%
/
0%
逾期
33
25%
空闲
7
等级
项目
121
43%
仲裁
12
33%
/
50%
逾期
17
14%
空闲
8
等级
项目
9
0%
仲裁
1
100%
/
0%
逾期
3
33%
空闲
9
等级
项目
25
4%
仲裁
0
逾期
5
20%
空闲
10
等级
项目
1
0%
仲裁
0
逾期
0
空闲
11
等级
项目
389
70%
仲裁
3
100%
/
0%
逾期
2
1%
已载入
12
等级
项目
0
0%
仲裁
0
逾期
0
空闲
13
等级
项目
932
47%
仲裁
301
59%
/
25%
逾期
124
13%
工作中
14
等级
项目
114
26%
仲裁
7
29%
/
57%
逾期
5
4%
空闲
相似订单
COPY AN IDICATOR TO MT5
30+ USD
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
Arbitration bot for cryptocurrency/forex
50 - 80 USD
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
Modify MQL5 EA for some new logics
30 - 100 USD
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Profitable Expert Advisor
100 - 200 USD
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
Expert Advisor Developer for MT5
30 - 100 USD
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
Need stochastic divergence ea
30 - 40 USD
I need stochastic div (hidden ®ular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Replicate indicator to mt5
30+ USD
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link
项目信息
预算
30+ USD
开发人员
27
USD