Need help creating a simple MT5 EA based on indicators

Spécifications

I need an EA built base on my trading strategy. This is an indicator base strategy. We’ll be using the stochastic Oscillator. I’ll send you a short video that explains the strategy. I need you to add auto lot size compounding to the EA, so the EA needs to have switch Incase I want to use manual lot size. 


BUY SCENARIOS 


  1. Stochastic main line has to cross the signal line upward from below line 30 on the 4H timeframe. 
  2. There has to be a bullish Heikin Ashi candle on the 4H timeframe. 
  3. Open 3 positions. Set stop loss to 35 pips and TP 1 to 30 pips, TP 2 to 50 pips, and TP 3 to 70 pips. Move SL to breakeven once price moves 30 pips in profit. 
  4. The bot should open or take second entry(another 3 positions) when stochastic oscillator main line goes below line 30 and crosses the signal line upward on the 5M timeframe. Second entry should be attempted if a breakeven has been set for the first entry.
  5. The robot must first close all buy positions before opening sell positions. This is very important cause I don't want hedging.
  6. When the robot opens buy positions and the opposite signal comes in, the bot should first close the buy positions before opening the sell positions. 



SELL SCENARIOS 


This should be the opposite of BUY SCENARIOS.  Stochastic main line has to cross the signal line downward from above line 70 on the 4H timeframe.


Please change the Stochastic Settings to the ones below before working on the EA. 




Level

#30 oversold 

#70 overbought 



Variable                                       Value 

%K period                                      14

%D period                                        3

slowing                                            3



Répondu

1
Développeur 1
Évaluation
(275)
Projets
348
29%
Arbitrage
36
28% / 64%
En retard
10
3%
Travail
2
Développeur 2
Évaluation
(17)
Projets
21
19%
Arbitrage
5
40% / 40%
En retard
0
Gratuit
3
Développeur 3
Évaluation
(160)
Projets
207
61%
Arbitrage
10
80% / 0%
En retard
0
Travail
Publié : 1 code
4
Développeur 4
Évaluation
(258)
Projets
269
29%
Arbitrage
1
100% / 0%
En retard
3
1%
Travail
Publié : 2 codes
5
Développeur 5
Évaluation
(37)
Projets
59
27%
Arbitrage
26
19% / 54%
En retard
10
17%
Travail
Publié : 1 code
6
Développeur 6
Évaluation
(4)
Projets
4
0%
Arbitrage
2
0% / 100%
En retard
1
25%
Gratuit
7
Développeur 7
Évaluation
(274)
Projets
403
28%
Arbitrage
40
40% / 50%
En retard
1
0%
Gratuit
8
Développeur 8
Évaluation
(273)
Projets
396
63%
Arbitrage
70
53% / 26%
En retard
198
50%
Gratuit
9
Développeur 9
Évaluation
(62)
Projets
90
29%
Arbitrage
24
13% / 58%
En retard
7
8%
Travail
10
Développeur 10
Évaluation
(163)
Projets
258
61%
Arbitrage
4
50% / 25%
En retard
10
4%
Gratuit
11
Développeur 11
Évaluation
(78)
Projets
246
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
12
Développeur 12
Évaluation
(271)
Projets
553
50%
Arbitrage
57
40% / 37%
En retard
227
41%
Travail
13
Développeur 13
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 9 codes
14
Développeur 14
Évaluation
(17)
Projets
22
36%
Arbitrage
5
0% / 100%
En retard
4
18%
Gratuit
15
Développeur 15
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
Commandes similaires
Abba Wale 30 - 100000 USD
//+------------------------------------------------------------------+ //| XAUUSD_SMART_EA_V2.mq5 | //| BOS + Liquidity Sweep + FVG + EMA + ATR | //+------------------------------------------------------------------+ #property strict #property version "2.00" #include <Trade/Trade.mqh> CTrade trade; //================================================================== // INPUTS
Dfwluxea 30 - 6000 USD
MetaTrader 5 Smart Trading Robot – Description Create an advanced MetaTrader 5 (MT5) Expert Advisor designed to analyze the market, generate high-quality trading signals, identify potential trading mistakes, and manage trades using strict risk-management rules. The robot should continuously analyze price action, market structure, trend direction, volatility, support and resistance, momentum, and selected technical
1. PROJECT OVERVIEW Development of a custom automated and manual trading bot for NinjaTrader 8, primarily designed for Nasdaq Futures (NQ/MNQ). The bot will contain the original trading strategy, configurable risk management, automatic and manual operating modes, alerts, profit/loss management, partial profit taking, Break Even, backtesting functionality, and the additional configurable contract-averaging system
Hello, I have a custom indicator with a specific line. Logic I want: 1. When a candle closes and crosses the indicator line (I will tell you the buffer number of this line), start counting. 2. After the cross, wait for 3 consecutive candles with the same color / same direction. 3. If the 3 candles are bullish, open a BUY trade on the next candle open. 4. If the 3 candles are bearish, open a SELL trade on the
I need I trading robot with a dashboard for stop and start working 99%accurate profit while scalping me the user only putting password of mt5 then I run it that doesn't take a long time to process a trade and always making sure that altlest it makes 500dollars per day using 0.05 lot size
Require an EA that opens trades at preselected RSI values. The EA will then monitor the gain/loss of the open positions and close them as specified in terms of points gain/loss. Once a position closes, the action will trigger the opening of other positions as specified
Look at this chart. The ellipses that I have identified show reversals and liquidity was I am trying to find a good way to identify these areas an indicator that automatically detects the sweep and reversal Look at this chart. The ellipses that I have identified show reversals and liquidity was
Anyone with experience in trading bots? I'm using TraderBlox ( https://traderblox.com/ ) and the AI assistant generated a bot with RSI that's showing a 68% win rate in backtesting. However, the generated code has some parts " Important: I will only reply to those who send me a photo of their project and have read this; this way I rule out bots. "I don't fully understand (especially order management and dynamic
Ich möchte einen professionellen Expert Advisor (EA) für MetaTrader 5 entwickeln lassen, der sich funktional am ThunderGold Scalper orientiert. Instrument: XAUUSD / GOLD Zeitrahmen: M15 Plattform: MetaTrader 5 / MQL5 Der EA soll eine eigene, nachprogrammierte Strategie verwenden und keine geschützten Quellcodes oder proprietären Dateien des Originalprodukts kopieren. Gewünschte Funktionen: automatischer Handel auf
I need a fully automated Expert Advisor (EA) written in MQL5 for MetaTrader 5. The EA must work directly inside MT5 and must NOT require TradingView, PineConnector, webhooks, or another external connector to place trades. Trading Instrument Primary symbol: XAGUSD (Silver) My broker may display the symbol as XAGUSD-ECN, so the EA should work with the broker’s available XAGUSD symbol. Main entry timeframe: 5-minute

Informations sur le projet

Budget
30+ USD