Simple EA- 20 minutes work

专家

工作已完成

执行时间3 天

指定

Simple EA needs to be coded in mql4: only 1 position open at the same time, works on all charts & time frames, no position sizing or anything. Based on 1 indicator: if both lengths are up, go long, vice versa for short, if 1 of the 2 lengths is no longer the same sign, close, or use ATR-based trailing stop: whichever hits first, so you have 3 external variables: Length1, Length2 and ATRmultiple.                                                

Different lengths are used so you get 2 criteria for entry:

If there is no open position:  at the close of the bar:

Entry long: if IndicatorLength1[i] > IndicatorLength1[i+1] && IndicatorLength2[i] > IndicatorLength2[i+1] // so both are going up

Exit Long: if both of them are no longer going up: so if IndicatorLength1[i] < IndicatorLength1[i+1] || IndicatorLength2[i] < IndicatorLength2[i+1] 

Entry short: if IndicatorLength1[i] < IndicatorLength1[i+1] && IndicatorLength2[i] < IndicatorLength2[i+1] // so both are going down

Exit short: if both of them are no longer going down: so if IndicatorLength1[i] > IndicatorLength1[i+1] || IndicatorLength2[i] > IndicatorLength2[i+1] 

********************* 

If there is an open position: at the close of the bar: reverse it only if both have the same sign that is opposite to the previous direction, else you close the open position:

so if you are long, if 1 of the 2 is no longer going up: close it,                                                                                                                                                                                                                        if at the close of the bar, both of them are going down, close long and open short position.

If you are short, if 1 of the 2 is no longer going down: cover the short position,                                                                                                                                                                                               if at the close of the bar, both of them are going up, cover the short and open a long position. 

*********************

to protect profitable positions I want a trailing stop that is a multiple of the ATR: Average True Range, basic indicator. Standard setting could be a 1.5*ATR(10). So this 1.5 should be changeable. The trailing stop needs to be updated every tick. Off course a trailing stop starts out as a classic stop loss: at the opening of the position, the stop is there, so if the position only goes against me, the EA will exit the trade at the entry level +/- 1.5*ATR(10).

 *********************

I prefer not to share the indicator, so please work with code that would enable me to replace wit iCustom: you can use a simple moving average as example code:

for(int i=0; i<limit; i++)

   {  

   ExtMapBuffer0[i]=iMA(0,0,Length1,0,0,0,i);

   } 


反馈

1
开发者 1
等级
(41)
项目
124
34%
仲裁
32
13% / 75%
逾期
53
43%
空闲
2
开发者 2
等级
(647)
项目
1295
67%
仲裁
84
26% / 49%
逾期
338
26%
空闲
相似订单
I want a skillful and experience deverloper to apply for this job. The strategy for the EA is Two Exponential Moving Average CROSSOVER strategy. The EA should work on any Timeframe. I want the EA to trade the direction of the CROSSOVER, the EA should open a BUY or SELL trades automatic when the Two Exponential Moving Average crossover. *(10EMA) ABOVE (23EMA) = BUY Trades *(10EMA) BELOW (23EMA) = SELL Trades BUY
MACD EA 50+ USD
Hello Freelancers, I am seeking an experienced developer to create an Expert Advisor (EA) for MetaTrader 5 (MT5). The EA will be based on the MACD indicator and should adhere to the following specifications: EA Requirements: Trading Logic: 1. Long Trades: • Entry: Open a long trade when the MACD line crosses above the signal line below the zero level. • Exit: Close the long trade when the signal line crosses above
EA Configuration. FIBO ------------------------------------------------------------------- Magic: 123456 Stop: Real or Virtual Order: Pending / CLOSE / price== LOT Description: 0.01 ------------------------------------------------------------------- STOP: -0.25 ------------------------------------------------------------------- ENT_1: 1.00 Lot_1: 0.01 ENT_2: 0.50 Lot_2: 0.01 ENT_3: 1.00 Lot_3: 0.01
Hi I'm looking for a professional programmer to modify my EA the EA send signal alert to telegram and screen shot of the chart patterns my EA is dased to the harmonic pattern but I want to see on the screen shot the pattern of the harmonic pattern and on the chat as well
Hello I need create simple trend first candle session EA. Ea wait for first M5/M15/M30/H1 (all possible timeframes to choose) candle at asian, european and NYC session and open buy/sell stop order above (in long situation) or below (in short situation) x points from highest/lowest point of the first candle. + trailing stop loss stop loss take profit breakeven magic key
Hello Guys ! Looking for a developer to create a EA for my Buy and Sell No repaint indicator. I only have the EX4 indicator file and I want the EA to take trades according to the Buy and sells signals generated by the Indicator. Here are some inputs I want for the EA: - Trailing stop - TP and SL ( in pips ) - Entries, TP and SL ( based on opposite signals arrow ) - Daily target ( in Dollars $ or % ) - Trading hours -
I need a robot that copies the orders sent in the telegram group to MT4 or MT5 so that I can configure the parameters. I would like it to have functions so I can enter and exit negotiations according to my configuration parameters
i need to delegate this job. XAUUSD H4 MT4 i have an ea with source code with smc, fvg, orderblocks and fibonacci, i need to fix somethings and add some features for live markets, any new ideas are accepted, i need also a 4 years backtest report (of metatrader 4). if you have good price and feedbacks and you want work for me also for new jobs apply for this job it's not urgent i need only a good price
Hello, I hope you are well. I have an alert/s that I would like to provide buy and sell orders. The alerts are named *ENTRY* and *EXIT*, so the EA will know what to do. I would like the EA to have the following parameters: 1. Select the number of trades per currency pair 2. Time to trade: Time to start trading to time to end trading - I would like 4 different times to be able to be entered 3. Option to choose which
Order Manager 30 - 60 USD
I am looking for a programmer to develop an Expert Advisor (EA) for order management, which will be used alongside simpler EAs. This EA should include advanced functionalities for efficient and personalized management. **Key Features:** 1. **Comprehensive Information Panel:** - **Order Visualization:** Display all open orders by currency pair, including short and long positions. - **Font Resizing Option:** Allow

项目信息

预算
20 - 30 USD
VAT (21%): 4.2 - 6.3 USD
总计: 24.2 - 36.3 USD
开发人员
18 - 27 USD
截止日期
1 天