(Relatively) Simple EMA buy/short code

MQL4 Experts Forex

Job finished

Execution time 24 days

Specification

Void OnTick() 

// Values for conditions 

 

double ema20 = iMA(NULL,0,20,0,1,PRICE_CLOSE,1); 

double ema20_1 = iMA(NULL,0,20,0,1,PRICE_CLOSE,2); 

double ema20_2 = iMA(NULL,0,20,0,1,PRICE_CLOSE,3); 

  

//sell short order

 

If(OrdersTotal()==0) 

if((ema20>ema20_1) && (ema20_1>ema20_2) && (PRICE_CLOSE>1) 

  

OrderSend(_Symbol,OP_SELL,0.01,Bid,3,Ask+(50*_points), 0, "", 0,0,clrRed) 

  

//close short 

  

if(OrdersTotal()==1) && (OrderType()==OR_SELL) 

if ema20 < ema20_1 && ema20_1 < ema20_2 && (PRICE_CLOSE>1) 

  

OrderSend(_Symbol,OP_BUY,0.01,Ask,100, NULL, NULL, NULL, 0,0,clrGreen) 

  

//buy long order 

 

if(OrdersTotal()==0) 

if((ema20<ema20_1) && (ema20_1<ema20_2) && (PRICE_CLOSE>1) 

  

If(OrdersTotal()==1) && (OrderType()==OR_BUY) 

OrderSend(_Symbol,OP_BUY,0.01,Ask,3,Bid+(50*_points), 0, "", 0,0,clrGreen) 

  

//close long 

  

if ema20 > ema20_1 && ema20_1 > ema20_2 

OrderSend(_Symbol,OP_SELL,0.01,Bid,10, NULL, NULL, NULL, 0,0,Red) 



Responded

1
Developer 1
Rating
(171)
Projects
194
11%
Arbitration
37
38% / 35%
Overdue
5
3%
Loaded
2
Developer 2
Rating
(1095)
Projects
1451
45%
Arbitration
49
73% / 12%
Overdue
36
2%
Free
3
Developer 3
Rating
(144)
Projects
198
42%
Arbitration
20
25% / 55%
Overdue
9
5%
Free
4
Developer 4
Rating
(185)
Projects
327
32%
Arbitration
33
42% / 27%
Overdue
98
30%
Working
5
Developer 5
Rating
(23)
Projects
45
20%
Arbitration
24
29% / 46%
Overdue
12
27%
Free
6
Developer 6
Rating
(16)
Projects
19
11%
Arbitration
3
0% / 100%
Overdue
2
11%
Free
Similar orders
200 pip EA 100 - 200 USD
I require an EA that can deliver on a consistent basis 200 pips per month. The EA must do this with the money management setting where 1 pip = 1 USD
1st Scenario: 4-Candle Setup (Breakout and Retest) Step 1: Breakout Candle: The price breaks above the EMA 50. Step 2: Retest Candle: After the breakout, look for a bearish (red) candle that touches the EMA. Step 3: Entry Candle: Identify a bullish (green) candle that closes above the EMA. Step 4: Trade Candle: Enter the trade when the price crosses 2 pips above the high of the bullish entry candle. RSI Confirmation
required a bot based on ict ,smc technique order blocks fvg liqidity voids liquidity sweep break of structure eqal low and equal high momentup setup trend recogonsation kkldnvksldnvksdnvlkdsnvlkdsnvlksndlkvnsdklvnlskdvnlksdnvsdvmsldkmv lksdnvlksnl knsdkl nsdlkv sdlkv mslkn vlskdm lksm ,v njdfnv lkjdfnvlkmfsn lfn kdfm vfmmvlkmvlksdmv
Develop a robot for Mac M3 chip which can: 1) Auto copy - take and close trades 2) Minise risk 3) Scale profits 4) Ideally be able to trade in multiple markets or whichever market can bring plenty of trading opportunities. 5) Can be used on mobile (iPhone) and Mac. You can implement it on MT4 or MT5 - whichever will integrate with the robot better. You can use any programming language so long as it serves the
We are looking for an experienced MQL5 programmer to develop an Expert Advisor (EA) on MetaTrader 5. The project involves creating an automated trading bot that uses a methodology based on the integration of three technical indicators and a Strength Chart to make trading decisions. If you have proven experience in similar projects, we invite you to apply. Main Description of the Bot Trading Methodology Details : The
Good day, I have a script with a few errors in it which needs to be corrected. I also require that the script can do the following: Once I have selected a developer, the script will be handed over in the trade menu. I will require at least 4 weeks of backtesting as a proof of concept. 1. There must be a start and stop function I can use to either start or stop the script as I please. 2. Trades that are opened are
Super Trend 30+ USD
If Ema 75 is above price, CCI period 15 crosses below 180 level and previous 7 candles closes are below ema 75 then sell on candle close. The EA is a sell only EA please add stop loss and take profit box so I can add the stop loss and take profit values that I desire
Hello great developer i need a developer that can work on a Tradorvate trade copier i want to create tradorvate trade copier I will be available for to answer any questions Thanks Peace be unto you
Life Creator 40 - 1000 USD
the topic of this robot is ,,life creator'' becouse when you have no idea what to do, this robot can help you and teach you how you can do it. The robot gonna creat you your own tactics which can help you in future. When you gonna see that it's really work you start to be happy and you gonna want to have more of this
AllForexEA 30+ USD
Algorithm - from which order the drawdown reduction algorithm is activated. - Percent profit for DD Reduction Algoritm - percentage of profit when closing orders in the drawdown reduction mode. - Magic - is a special number that the EA assigns to its orders. - Fix distance - fixed distance between orders (default 250 - in points) - Order dinamic distance - from which order will the

Project information

Budget
30+ USD
For the developer
27 USD