Creating of an EA for mt5

MQL5 Experts Forex

Spécifications

This strategy involves using a short-term moving average of the last two candles (or bars) along with market trend analysis to trigger buy and sell signals.
Key Elements of the Strategy:
• 2-Candle Moving Average: A simple moving average calculated on the closing prices of the last two candles.
• Market Movement Analysis: This is about analyzing recent price action, trends, and momentum.
• Buy and Sell Signals: Generated based on the relationship between the price and the 2-candle moving average, and additional market conditions (like trend direction).
Step-by-Step Strategy:
• Calculate the 2-Candle Moving Average:
• This is a simple moving average (SMA) calculated using the closing prices of the last two candles.
• Formula:
SMA2=Close of Candle 1+Close of Candle 22\text{SMA}_2 = \frac{\text{Close of Candle 1} + \text{Close of Candle 2}}{2} 
This moving average will give you a "dynamic" level that adjusts based on the most recent two closes.
• Market Movement Analysis:
• Uptrend: If the market has been generally moving upward (higher highs and higher lows), expect bullish setups.
• Downtrend: If the market has been moving downward (lower highs and lower lows), expect bearish setups.
• Consolidation: If the market has been range-bound (no clear trend), be cautious and wait for a breakout or breakdown.
• Buy Signal:
• Condition 1: The price closes above the 2-candle moving average.
• Condition 2: The market is in an uptrend (higher highs and higher lows).
• Condition 3: Ideally, a pullback towards the moving average and then a reversal upwards can add confidence.
Action: Buy when the price is above the 2-candle moving average, confirming a bullish trend.
• Sell Signal:
• Condition 1: The price closes below the 2-candle moving average.
• Condition 2: The market is in a downtrend (lower highs and lower lows).
• Condition 3: A slight rally or a retracement towards the moving average and then a reversal downward could add confirmation.
Action: Sell when the price is below the 2-candle moving average, confirming a bearish trend.
• Stop-Loss and Take-Profit:
• Stop-Loss: Place stop-loss orders just below the 2-candle moving average for long positions, or above it for short positions, depending on your risk tolerance.
• Take-Profit: Use a risk-to-reward ratio of 1:2 or 1:3, or use key support/resistance levels to target potential exits.
Example:
1. Bullish Setup:
• Market Movement: The price is making higher highs and higher lows (uptrend).
• 2-Candle Moving Average: The average of the last two closes is at 1.3500.
• Price Action: The current price closes at 1.3520, above the 2-candle moving average.
• Buy Signal: Since the price is above the 2-candle moving average, and the market is in an uptrend, you place a buy order. The stop-loss could be placed just below the 2-candle moving average (e.g., at 1.3480).
2. Bearish Setup:
• Market Movement: The price is making lower highs and lower lows (downtrend).
• 2-Candle Moving Average: The average of the last two closes is at 1.2800.
• Price Action: The current price closes at 1.2780, below the 2-candle moving average.
• Sell Signal: Since the price is below the 2-candle moving average, and the market is in a downtrend, you place a sell order. The stop-loss could be placed just above the 2-candle moving average (e.g., at 1.2820).
Additional Filters for Refining the Strategy:
• Volume Confirmation: A higher volume on a breakout (either up or down) confirms the strength of the move.
• Candlestick Patterns: Use patterns like Doji, Engulfing, or Hammer as additional confirmation before entering a trade.
• Market Sentiment: If the market sentiment is extremely bullish or bearish, it might help you avoid fading strong trends.
• Timeframe: This strategy works well on intraday charts (like 5-minute or 15-minute) for short-term trades, but can also be adapted for longer timeframes.
Example Setup (Trading a 15-Minute Chart):
• Candle 1: Close at 1.1500
• Candle 2: Close at 1.1510
• 2-Candle SMA: 1.1500+1.15102=1.1505\frac{1.1500 + 1.1510}{2} = 1.1505
Now, if the next candle closes above 1.1505 and the market has been showing an upward movement in the past few candles, we can consider a buy signal. If the price starts to trend lower, we would reconsider or exit the trade.
NOTE:
I would want the EA trade with any pairs or symbols definitely volatility any timeframe would want the EA to send signals to my email and mobile number with entry tp and sL would want it to include trailstop to secure already gain profits should be able to trade with even a minimum of $20

Répondu

1
Développeur 1
Évaluation
(10)
Projets
13
15%
Arbitrage
0
En retard
1
8%
Travail
2
Développeur 2
Évaluation
(13)
Projets
17
18%
Arbitrage
3
67% / 0%
En retard
0
Gratuit
3
Développeur 3
Évaluation
(401)
Projets
587
53%
Arbitrage
29
55% / 24%
En retard
7
1%
Travail
4
Développeur 4
Évaluation
(51)
Projets
74
20%
Arbitrage
12
17% / 25%
En retard
6
8%
Travail
5
Développeur 5
Évaluation
(97)
Projets
141
17%
Arbitrage
4
50% / 25%
En retard
13
9%
Travail
6
Développeur 6
Évaluation
(10)
Projets
10
10%
Arbitrage
2
0% / 0%
En retard
2
20%
Occupé
7
Développeur 7
Évaluation
(2)
Projets
2
0%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
(31)
Projets
41
15%
Arbitrage
2
0% / 0%
En retard
1
2%
Travail
Publié : 2 codes
9
Développeur 9
Évaluation
(295)
Projets
525
35%
Arbitrage
63
33% / 35%
En retard
189
36%
Chargé
10
Développeur 10
Évaluation
(156)
Projets
280
35%
Arbitrage
14
29% / 50%
En retard
42
15%
Gratuit
Commandes similaires
Ea na indeksy i dax 30 - 80 USD
Buy Stop powyżej ceny o 100 punktów, SL 90 punktów poniżej tego poziomu. Sell Stop poniżej ceny o 100 punktów, SL 90 punktów powyżej tego poziomu. (tak ustawione, żeby broker nie blokował – czyli większy dystans). 2. Gdy cena zrobi pierwszy ruch (np. minimalnie pójdzie w górę lub w dół), oba zlecenia są przestawiane bliżej: odległość od ceny = 55 punktów (czyli zawsze powyżej spreadu ~50). SL też zostaje wtedy
Hello, I am looking for an experienced MQL4 developer to create (or provide a private license of) a professional Expert Advisor (EA) with the following characteristics: 🔹 Main Objective: Successfully pass PropFirm challenges (e.g. FTMO, FundedNext, etc.) with strict DD and profitability rules. Perform reliably and profitably on personal live accounts as well. 🔹 Minimum Requirements: Dynamic risk management, with
I am looking for an EA to pass prop firm challenges and use in Funded Account . if you have already built such in the past i can take it The EA has to comply with the following rules: MUST HAVE STOPLOSS Follow Prop Firm rules , Please provide evidence of the EA working & Profitable results Have Proper DD , Profit target etc Let's Get it done this now . NO TIME WASTE ONLY GENUINE SELLER WHO CAN PROVE IT WORKS
I am looking for an EA to pass prop firm challenges and use in Funded Account . (for example NOVA FUNDING, FTMO, MFF, MYFUNDEDFX) and be able to continuously use it on live accounts. Please provide evidence of the EA working & Profitable results. The EA has to comply with the following rules: MUST HAVE STOPLOSS Follow Prop Firm rules , Please provide evidence of the EA working & Profitable results Profit 1-5% min
Hi Programmers, I want to create an EA that will make use of the average prices to determine the direction of the market and take bids accurately towards the direction until it reaches the maximum distance for taking bids. It will also consider a profit to loss ratio which will be based on risk as a % of the account balance. As you can see from the picture and the prices showed , the prices represent the manually
Description: I need an EA for MetaTrader 5 with the following features: On-chart panel for manual trade setup (Entry, TP, SL, Lot Size). EA automatically manages a sequence of additional grid orders once the first order is triggered. EA dynamically adjusts TP/SL levels of active trades when new grid orders are added. Must prevent duplicate order sets. Optional: “Close All Trades” button. Requirements: Proven MQL5
(I had a few horrible experiences here dealing with time and money wasters, SO YOU MUST KNOW WHAT I'M EXACTLY ASKING FOR OR WE GET NOWHERE!!!)Looking for an EA that has been previously tested and can pass prop firm challenges. You will need to demonstrate the EA to showcase its true nature. Please only apply if you have a system ready. This can be a previous job you already did for someone, or have something in the
We have a working price prediction engine for (BTC, ETH, SOL) at fixed 5-minute intervals and want to build a robust backtesting system that evaluates these predictions against MECX futures prices. The goal is to measure baseline directional accuracy and then explore conditional strategies that improve accuracy beyond a 60% milestone. Data Overview Predictions Table (public.price_predictions_5m) One row per asset
hello great developer I need a NinjaTrader script where, in capture mode, the cursor snaps to candle OHLC, and each click saves the time and price into a list that can be copied to Excel
HELLO GREAT DEVELOPER I've been playing with a strategy using an already coded Pinescript V5 Indicator, and wanted to turn it in to a strategy with a few additions. (I have incuded the code for the original Indicator) Trading the 1 minute chart I'd like the strategy to go long if the prices passes the higher ORB 50% line while the 3min 20 WMA is above the 3min 200 SMA and the 3 min RSI is below 50. With a Stop loss

Informations sur le projet

Budget
30+ USD

Client

Commandes passées1
Nombre d'arbitrages0