I need an EA for MT4 based on MACD cross and Moving Averages.

MQL4 전문가

작업 종료됨

실행 시간 3 일
고객의 피드백
Nuri delivered exactly what I asked. worked perfect!

명시

I need an EA for MT4 based on MACD cross and Moving Averages. Below is a detailed description of the proposed EA. There's also a BUY example attached for clarity.  This EA should work for for all time frames and symbols.


Global Variables

MacDFast    = Fast=12 //Fast EMA Period

MacDSlow    = Slow=26 //Slow EMA Period

MacDSource  = Close   // Applied Price

MacDSignal  = 9       //Signal Line Period

MacDRangeLong  = -4.5,-45.0 //MacD Range for BUY signal when macd cross signal line

MacDRangeShort =  4.5, 45.0 //Range for SELL signal when macd cross signal line

EMA1    = 100 //100 Exponential Moving Average

EMA2    = 125 //125 Exponential Moving Average

EMA3    = 200 //200 Exponential Moving Average

LotSize = 0.01 //Default lot size

AlertOnly  = 0 //When all conditions are met, trigger mt4 alert

TradeOnly  = 0 //When all conditions are met, trigger mt4 trade

TakeProfit = 0 //Take Profit variable is set when conditions are met

StopLoss   = 0 //Stop Loss variable is set when conditions are met

RiskReward = 1.5 //Default risk/reward ratio multiplier

Session    = 0 //0=All Sessions, 1=New York, 2=London, 3=Tokyo, 4=Sydney (User can select multiple sessions)

MutipleOrders = 0 //0=Open Order when conditions are met 1=Only open one order at a time, additional order cannot be opened

ATR = 14 //Average true range used in stop loss calculation


Long: At Candle open

    if (previous candle high and low > EMA1) && (previous candle high and low > EMA2) && (previous candle high and low > EMA3) 

      if (current candle open > EMA1) && (current candle open > EMA2) && (current candle open > EMA3) 

if (macd and signal line cross between MacDRangeLong)


        if(AlertOnly = 1 && TradeOnly  = 0)

(

  StopLoss  = Distance from price to ema2

  TakeProfit = (Distance from price to ema2) * RiskReward

  Alert("Buy at " + CurrentPrice + "Stop Loss " StopLoss + "Take Profit" + TakeProfit )

        )


if(AlertOnly = 0 && TradeOnly  = 1)

        (

  Buy Market Order

  LotSize = LotSize

  StopLoss  = Distance from price to ema2

  TakeProfit = (Distance from price to ema2) * RiskReward


  when ( price = 50% of TakeProfit )

       StopLoss  = break even + 5 pips

  when ( price = TakeProfit )

     Trailing Stop Loss = calculated by subtracting the current ATR value from the lowest-low of the given lookback period 

       )


Short: At Candle open

    if (previous candle high and low < EMA1) && (previous candle high and low < EMA2) && (previous candle high and low < EMA3) 

      if (current candle open < EMA1) && (current candle open < EMA2) && (current candle open < EMA3) 

if (macd and signal line cross between MacDRangeShort)


        if(AlertOnly = 1 && TradeOnly  = 0)

(

  StopLoss  = Distance from price to ema2

  TakeProfit = (Distance from price to ema2) * RiskReward

  Alert("Sell at " + CurrentPrice + "Stop Loss " StopLoss + "Take Profit" + TakeProfit )

        )


if(AlertOnly = 0 && TradeOnly  = 1)

        (

  Sell Market Order

  LotSize = LotSize

  StopLoss  = Distance from price to ema2

  TakeProfit = (Distance from price to ema2) * RiskReward


  when ( price = 50% of TakeProfit )

       StopLoss  = break even + 5 pips

  when ( price = TakeProfit )

     Trailing Stop Loss = calculated by adding the current ATR value to the highest-high of the given lookback period

       )


응답함

1
개발자 1
등급
(414)
프로젝트
670
33%
중재
60
17% / 32%
기한 초과
113
17%
작업중
2
개발자 2
등급
(3)
프로젝트
5
0%
중재
0
기한 초과
3
60%
무료
3
개발자 3
등급
(512)
프로젝트
773
63%
중재
33
27% / 45%
기한 초과
23
3%
무료
4
개발자 4
등급
(24)
프로젝트
28
32%
중재
1
0% / 0%
기한 초과
0
무료
5
개발자 5
등급
(15)
프로젝트
17
6%
중재
1
0% / 100%
기한 초과
1
6%
무료
6
개발자 6
등급
(243)
프로젝트
430
34%
중재
54
37% / 39%
기한 초과
157
37%
로드됨
7
개발자 7
등급
(169)
프로젝트
204
30%
중재
25
40% / 44%
기한 초과
12
6%
무료
8
개발자 8
등급
(126)
프로젝트
151
48%
중재
6
83% / 17%
기한 초과
2
1%
무료
9
개발자 9
등급
(68)
프로젝트
72
21%
중재
6
50% / 33%
기한 초과
1
1%
무료
10
개발자 10
등급
(66)
프로젝트
143
34%
중재
10
10% / 60%
기한 초과
26
18%
무료
비슷한 주문
Hi man, How are u? I have an EA and I need to check few aspects of the code, if It works fine? I am looking for an expert coder, who can understand mt4 language and help us to solve this out. This job will hardly take about 3-4 hours max for an experienced coder, when explained detail. Also, I would like to give this to someone, who can understand and speak English well. Also, the coder should be able to come via
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. THREE TYPES OF ENTRIES 1: AGGRESSIVE 2: DIVERGENCE 3
Indicator in use: Bollinger Bands Mechanism (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the lowest point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal; or if on Futures if the increment is .25 or .10 then this is used) 2. Enter sell ONLY on the next candle if price breaks
Indicator in use: Bollinger Bands Mechanism: (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal) 2. Enter sell ONLY on the next candle if price breaks below the trigger candle LOW (using the e.g. above- if next candle price
hey guys, im looking for an auto mt5 license system through a web app i have already, i simply want it so a unique license key is generated for memebers, they input this onto the EA input and then it checks if its valid. active license per user capped at 5. i already have an mt5 coder and dec team for the app so i dont know if youd prefer to intergrate onto the webapp yourself or simply provide the code and doc so my
I need a simple panel to execute both buy and sell operations with very basic things like stopp loss take profit that functions for both market orders such as buy stop sell stop buy limit sell limit I don't care about colors or design I just want how you can do it what interests me most are the functions
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how
We are seeking a skilled developer who can convert a Tradingview indicator written in Pinescript to a NinjaTrader indicator written in C#. The goal is to create a profitable trading strategy using this indicator. The successful candidate will have expertise in both Pinescript and C# programming languages, as well as a strong understanding of trading indicators and strategies. The main responsibilities will include
I am seeking an experienced MQL5 developer to create a user-friendly manual Grid Trading Expert Advisor (EA) with the following key features: Dynamic Grid Trading: Adjustable Grid Distance: Traders can manually input grid distance in pips via an intuitive, movable table. Take Profit Management: Fixed TP for the initial positions (e.g., first 5 trades). Stop-Loss (Optional): Traders can choose to use a stop-loss with
I want have the possibility to increase lotsize not alone by Lot-multiplier rather I want add a fix-lot increase for excample for 0,05 lot. I want have this for buy / sell and hedge-buy and hedge sell

프로젝트 정보

예산
30+ USD
개발자에게
27 USD
기한
에서 1  5 일