EA to Close Trades Using Stochastic Indicator

Job finished

Execution time 1 day

Specification

Hi. I would like an EA to close trades based on the stochastic indicator. The EA will only close trades that are open. It does not open new trades. 

The EA will be attached to a single chart. Every minute, it will check the M1 stochastic indicator data of all open trades with a specific magic number. This includes symbols whose chart the EA is not attached to. Close signal is triggered when the D-line (signal line) changes direction in the overbought or oversold region. 

Additionally, add a function to move stop loss to entry price when stochastic indicator D-line crosses 50.

Let D1 = D value of the most recent closed M1 candle,
D2 = D value of the 2nd most recent closed M1 candle

Close buy condition:
D2 > overbought level and D1 < D2

Close sell condition:
D2 < oversold level and D1 > D2

Move SL to entry conditions:
Buy: D2 < 50 and D1 > 50
Sell: D2 > 50 and D1 < 50

The settings for the stochastic indicator can be modified in the EA settings. Price field setting is fixed at Low/High.

EA settings:
- K Period
- D Period
- Slowing
- Method
- Overbought Level
- Oversold Level
- Move SL to Entry (True/False)
- Magic Number

See images for examples.

Responded

1
Developer 1
Rating
(22)
Projects
21
10%
Arbitration
4
25% / 75%
Overdue
0
Free
2
Developer 2
Rating
(102)
Projects
105
60%
Arbitration
0
Overdue
0
Free
3
Developer 3
Rating
(253)
Projects
316
29%
Arbitration
34
26% / 65%
Overdue
10
3%
Free
4
Developer 4
Rating
(448)
Projects
709
34%
Arbitration
34
71% / 9%
Overdue
22
3%
Free
5
Developer 5
Rating
(381)
Projects
490
23%
Arbitration
59
54% / 25%
Overdue
56
11%
Loaded
6
Developer 6
Rating
(2)
Projects
5
0%
Arbitration
3
0% / 100%
Overdue
1
20%
Working
7
Developer 7
Rating
(75)
Projects
80
6%
Arbitration
46
11% / 54%
Overdue
7
9%
Working
8
Developer 8
Rating
(47)
Projects
67
37%
Arbitration
5
40% / 40%
Overdue
1
1%
Free
9
Developer 9
Rating
(273)
Projects
402
27%
Arbitration
40
40% / 50%
Overdue
1
0%
Free
10
Developer 10
Rating
(630)
Projects
994
47%
Arbitration
33
36% / 36%
Overdue
98
10%
Free
Published: 6 codes
11
Developer 11
Rating
(312)
Projects
559
35%
Arbitration
79
32% / 43%
Overdue
203
36%
Working
12
Developer 12
Rating
(60)
Projects
87
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Loaded
13
Developer 13
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
14
Developer 14
Rating
(50)
Projects
64
20%
Arbitration
11
27% / 55%
Overdue
5
8%
Free
15
Developer 15
Rating
(7)
Projects
8
13%
Arbitration
6
33% / 33%
Overdue
0
Free
16
Developer 16
Rating
Projects
1
0%
Arbitration
4
0% / 50%
Overdue
0
Working
17
Developer 17
Rating
(1156)
Projects
1462
63%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
18
Developer 18
Rating
(111)
Projects
139
43%
Arbitration
9
33% / 44%
Overdue
6
4%
Free
19
Developer 19
Rating
(50)
Projects
94
29%
Arbitration
4
25% / 0%
Overdue
4
4%
Free
Published: 3 codes
20
Developer 20
Rating
(64)
Projects
83
28%
Arbitration
9
33% / 56%
Overdue
9
11%
Free
Published: 1 code
21
Developer 21
Rating
(10)
Projects
6
33%
Arbitration
6
0% / 67%
Overdue
1
17%
Working
Similar orders
5.20buy-20.5sell 50 - 1000 USD
⸻ 🧠 Professional AI Prompt (Clear English Version) Act as a professional algorithmic trading engineer with deep expertise in developing automated trading systems for TradingView and MetaTrader. You have strong knowledge of market behavior, trend analysis, and risk management. Your task is to design a fully automated trading strategy based on the following requirements: ⸻ 🎯 Entry Conditions: • Open a BUY trade
I am looking for an experienced MQL5 developer to create a custom technical indicator for MetaTrader 5. The indicator should combine Supertrend logic with Support/Resistance pullback levels to generate high-probability entry signals. 1. Core Logic The indicator must follow a two-step confirmation process: Trend Identification: Use the Supertrend indicator to determine the primary trend. Entry Signal (The
VWAP BB Sniper EA Quantum VWAP Scalper SmartFlow FX Bot Institutional Edge EA 🧠 PRODUCT OVERVIEW VWAP + Bollinger Bands Auto Trading System A high-precision forex scalping bot designed to capture institutional price movements using: VWAP (fair value tracking) Bollinger Bands (volatility & entry timing) 👉 Built for fast, consistent intraday profits
I am a Professional Forex Trader, actively working in the financial markets with a strong focus on how price truly moves. I specialize in logic, market structure, and institutional behavior rather than indicators or guesswork. I have mastered: • Market Structure • Trend Identification • Elliott Wave Theory • Wyckoff Logic My core expertise lies in: • Deep understanding of market structure • Identifying
Hello traders, I have Quantum queen v3.52, which is the latest version, available for $500 only. The price on the platform is around $1800, but I am offering it for a much lower price for serious buyers. Details: Product: Quantum queen Version: v3.52 Price: $500 Condition: Serious buyers only
EA for prop firms 30 - 500 USD
Hi, I am looking to purchase a MT5 EA that can show consistent profitability 5% each month with drawdown less than 9%. I am not ready to build a new one from scratch as i do not have the strategy in mind yet so i do not want to take the risk of building one but not sure if it works. Only apply if you have an existing proven and tested EA that can sell to me together with the source code. The Ea is for prop firm even
I am a professional trader specializing in technical analysis using a powerful combination of Fibonacci strategies and Dow Theory. With strong experience in reading market structure, I am able to identify major trends, precise entry points, and key support & resistance levels with high accuracy. My approach goes beyond using a single indicator. I combine Fibonacci retracement & extension to pinpoint potential
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
I WANT TO CONVERT MY INDICATOR TO ROBOT, BUT I DONT HAVE THE SOURCE CODE , THE PROGRAMMER WILL DEVELOP THE SOURCE CODE FOR THE JOB. THE STRAGY IS SIMPLE , THE ROBOT WILL EXECUTE A TRADE WHEN THE SIGNAL FROM THE INDICATOR APPEARS. BUY SIGNAL IS WHEN THE ARROW APPEAS ON THE LOWER ZONE ( SUPPORT ZONE) SELL SIGNAL WHEN THE ARROW APPEARS ON THE UPPER ZONE ( RESISTANCE ZONE).THE ROBOT WILL HAVE THE FOLLWING FEATURES (1)
CONVERT MQL4 ROBOT TO MQL5 Solana I have robot SOLANA i want to change my robot for MQL4 ROBOT TO MQL5 AND also change the name of the robot..i need it with the source code

Project information

Budget
30+ USD
Deadline
to 7 day(s)