Trabalho concluído
Tempo de execução 3 horas
Termos de Referência
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); } //+------------------------------------------------------------------+
Respondido
1
Classificação
Projetos
9
11%
Arbitragem
5
40%
/
60%
Expirado
1
11%
Livre
2
Classificação
Projetos
418
34%
Arbitragem
53
36%
/
40%
Expirado
153
37%
Ocupado
3
Classificação
Projetos
1429
62%
Arbitragem
21
57%
/
10%
Expirado
43
3%
Livre
4
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
5
Classificação
Projetos
8
25%
Arbitragem
1
100%
/
0%
Expirado
3
38%
Livre
6
Classificação
Projetos
131
22%
Arbitragem
7
57%
/
0%
Expirado
33
25%
Livre
7
Classificação
Projetos
121
43%
Arbitragem
12
33%
/
50%
Expirado
17
14%
Livre
8
Classificação
Projetos
9
0%
Arbitragem
1
100%
/
0%
Expirado
3
33%
Livre
9
Classificação
Projetos
25
4%
Arbitragem
0
Expirado
5
20%
Livre
10
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
11
Classificação
Projetos
389
70%
Arbitragem
3
100%
/
0%
Expirado
2
1%
Carregado
12
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
13
Classificação
Projetos
932
47%
Arbitragem
301
59%
/
25%
Expirado
124
13%
Trabalhando
14
Classificação
Projetos
114
26%
Arbitragem
7
29%
/
57%
Expirado
5
4%
Livre
Pedidos semelhantes
MT5 EA (Private)
30+ USD
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
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
Informações sobre o projeto
Orçamento
30+ USD
Desenvolvedor
27
USD