Lavoro terminato
Tempo di esecuzione 14 minuti
Specifiche
Convert this simple lines of MQL4 Code to a MQL5 Expert Advisor:
input int TakeProfit=3900;//Take profit input int StopLoss=500;//Stop Loss input int MAGIC = 2930; input double defaultLot = 0.01; input int period = 13; input ENUM_APPLIED_PRICE appliedPrice = PRICE_CLOSE; input int shift = 0; input int limitUp = 40; void OnTick() { double adx_main = iADX(NULL, 0, period, appliedPrice, MODE_MAIN, shift); double adx_plusdi = iADX(NULL, 0, period, appliedPrice, MODE_PLUSDI, shift); double adx_minusdi = iADX(NULL, 0, period, appliedPrice, MODE_MINUSDI, shift); if(countOrders(MAGIC) == 0) { if(adx_main > limitUp) { double lot = defaultLot; if(adx_plusdi > adx_minusdi) { Print("Open SELL Lot:"+DoubleToStr(lot)+" - SL:"+IntegerToString(StopLoss)+" -TP:"+IntegerToString(TakeProfit)); sell(lot, StopLoss, TakeProfit, MAGIC, ""); } else if(adx_plusdi < adx_minusdi) { Print("Open BUY Lot:"+DoubleToStr(lot)+" - SL:"+IntegerToString(StopLoss)+" -TP:"+IntegerToString(TakeProfit)); buy(lot, StopLoss, TakeProfit, MAGIC, ""); } } }}
Some functions are not included:
- "countOrders" will return the number of executed orders for this specific MAGIC number
- "sell"/"buy" will open a sell/buy order with the specified parameters
So basically, the EA will open an order if there no order already opened, and if:
- the ADX Plus DI is above the ADX Minus DI (sell)
- the ADX Plus DI is below the ADX Minus DI (buy)
Con risposta
1
Valutazioni
Progetti
478
40%
Arbitraggio
7
43%
/
29%
In ritardo
16
3%
Gratuito
2
Valutazioni
Progetti
339
49%
Arbitraggio
21
5%
/
33%
In ritardo
24
7%
Gratuito
3
Valutazioni
Progetti
2646
61%
Arbitraggio
113
45%
/
26%
In ritardo
418
16%
In elaborazione
4
Valutazioni
Progetti
789
71%
Arbitraggio
9
33%
/
33%
In ritardo
22
3%
Gratuito
5
Valutazioni
Progetti
53
9%
Arbitraggio
10
20%
/
60%
In ritardo
11
21%
Gratuito
6
Valutazioni
Progetti
590
70%
Arbitraggio
14
43%
/
7%
In ritardo
28
5%
Gratuito
7
Valutazioni
Progetti
34
9%
Arbitraggio
3
33%
/
0%
In ritardo
8
24%
Gratuito
8
Valutazioni
Progetti
670
33%
Arbitraggio
60
17%
/
32%
In ritardo
113
17%
In elaborazione
9
Valutazioni
Progetti
79
18%
Arbitraggio
13
15%
/
54%
In ritardo
5
6%
Gratuito
10
Valutazioni
Progetti
523
66%
Arbitraggio
52
21%
/
38%
In ritardo
167
32%
Gratuito
11
Valutazioni
Progetti
545
25%
Arbitraggio
21
38%
/
38%
In ritardo
83
15%
Gratuito
12
Valutazioni
Progetti
1432
62%
Arbitraggio
21
57%
/
10%
In ritardo
43
3%
Gratuito
13
Valutazioni
Progetti
36
17%
Arbitraggio
5
20%
/
40%
In ritardo
17
47%
Gratuito
14
Valutazioni
Progetti
121
25%
Arbitraggio
5
20%
/
60%
In ritardo
17
14%
Gratuito
15
Valutazioni
Progetti
932
47%
Arbitraggio
302
59%
/
25%
In ritardo
124
13%
Occupato
16
Valutazioni
Progetti
5
0%
Arbitraggio
3
0%
/
67%
In ritardo
2
40%
Gratuito
17
Valutazioni
Progetti
140
46%
Arbitraggio
19
42%
/
16%
In ritardo
32
23%
Gratuito
18
Valutazioni
Progetti
73
16%
Arbitraggio
13
8%
/
92%
In ritardo
37
51%
Gratuito
Ordini simili
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
Need a trading bot based on Bollinger Bands and a second indicator - Simple Bot, simple strategy
30 - 60 USD
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
TREND TRACKER 2 TRADER
30+ USD
Hello, I want to create an EA that can be able to take and optimise trade bids using the trend tracker concept I have developed. The tracker will monitor 2 lines to determine the trend of the market and afterwards take bids towards the correct direction. It will also be able to use a distance between the bids for the direction of the trend and plan a reverse bid when the price of the extreme doesn’t change again. The
Gradient boosting and L2
100 - 200 USD
I am looking for a well experienced programmer to put/implement a gradient boosting algorithm and an L2 to reduce overfitting in my ea which l already have which uses indicators . If you are experienced please adhere
Hello, I'm looking for a developer for repair calendar in EA MT4/MT5 (News Filter - https://ec.forexprostools.com ) for all windows servers. Note: EA MT4/MT5 works with calendar on PC Win 10, 11 but not on all windows servers. I have the source code and will post within the comments section for review. If you are able to do this and quality. Please apply. Thanks
Create mt4 ea
50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
EA - SCALP MARTINGALE SPY
30+ USD
SCALP MARTINCALE SPY TIMEFRAME 1MIN CANDLE - SHORT SIDE ONLY 1-SET RISK : A IS A VARIABLE (HOW MUCH $) 2-SET ATR(3) : SET THE TIME AT WHICH THE ATR SHOULD BE TAKEN, IF SET 933AM THEN THE ATR OF THE 1MIN CANDLE AT 933AM CANDLE WILL BE USED (ROUND AT 0.25 UP OR DOWN) *USE NEW YORK TIME 3-SET MAX NUMBER OF ENTRY : B IS A VARIABLE 4-SET RSI(14) / C IS A VARIABLE, IF RSI(14) > C = ORDERS OPEN 5-IF RSI(14) > C IS TRIGGERED
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
Informazioni sul progetto
Budget
30+ USD
IVA (20%):
6
USD
Totale:
36
USD
Per lo sviluppatore
27
USD
Scadenze
a 1 giorno(i)