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
(240)
Projects
301
28%
Arbitration
33
24% / 61%
Overdue
9
3%
Working
4
Developer 4
Rating
(437)
Projects
688
34%
Arbitration
33
70% / 9%
Overdue
22
3%
Working
5
Developer 5
Rating
(373)
Projects
479
23%
Arbitration
57
56% / 25%
Overdue
55
11%
Loaded
6
Developer 6
Rating
(2)
Projects
5
0%
Arbitration
3
0% / 100%
Overdue
1
20%
Working
7
Developer 7
Rating
(74)
Projects
79
6%
Arbitration
46
11% / 54%
Overdue
7
9%
Working
8
Developer 8
Rating
(47)
Projects
66
38%
Arbitration
5
20% / 40%
Overdue
1
2%
Working
9
Developer 9
Rating
(269)
Projects
397
27%
Arbitration
38
39% / 50%
Overdue
1
0%
Working
10
Developer 10
Rating
(622)
Projects
975
46%
Arbitration
32
38% / 34%
Overdue
96
10%
Loaded
Published: 6 codes
11
Developer 11
Rating
(305)
Projects
546
35%
Arbitration
79
32% / 42%
Overdue
196
36%
Working
12
Developer 12
Rating
(57)
Projects
82
24%
Arbitration
24
13% / 58%
Overdue
7
9%
Loaded
13
Developer 13
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
14
Developer 14
Rating
(48)
Projects
61
21%
Arbitration
11
27% / 55%
Overdue
5
8%
Free
15
Developer 15
Rating
(7)
Projects
8
13%
Arbitration
5
40% / 20%
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
(110)
Projects
138
43%
Arbitration
9
33% / 44%
Overdue
6
4%
Working
19
Developer 19
Rating
(50)
Projects
94
29%
Arbitration
4
25% / 0%
Overdue
4
4%
Working
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
I am looking for a developer to create a trading robot (EA) to trade XAUUSD, NAS100 and SPX500. The rules are as follows: Buy when the 2 EMA crosses over the 10 EMA and price closes over the 50 ema. Sell when the 2 EMAs cross below the 10 EMAs and the price closes below the 50 EMAs. The take profit and stop loss can be adjusted by me selecting from a drop-down box. I am open to other parameters to optimize
Description I need an very low latency MT5 Expert Advisor (EA) developed in MQL5 to automate TradingView alerts into MT5 trades for alerts set up done on trading view. The EA must work on both DEMO and LIVE accounts whichever will be attached to MT5 (XM, IC Markets and similar MT5 brokers) and be suitable for fast 1-minute timeframe scalping.End to End solution. Functional Requirements 1. TradingView Integration
Project Overview I am looking for an experienced MQL5 developer to build a custom, prop-firm-compliant trend-following Expert Advisor (EA) for MetaTrader 5 . This EA will be used on prop firm accounts (e.g., FTMO-style rules), so strict risk control and rule compliance are mandatory . This is NOT a grid, martingale, scalping, or recovery EA. The goal is consistency, rule compliance, and capital preservation , not
I would like to buy ea that is proven to be good need to have stable profit and can be very unstable DD but not more than 40 %you can send eas in dm for sale. I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive
I am looking of an Expert Advisor (EA) that has undergone independent validation and demonstrates a capability to successfully navigate prop firm challenges, as well as efficiently manage funded accounts. It is imperative that you provide a comprehensive explanation of the strategy utilized by your EA, along with a demo version that has a 30-day expiration. This will facilitate extensive back testing and forward
I am seeking a highly skilled developer to build a fully functional automated Expert Advisor for MetaTrader 5 (MQL5)- XAUUSD fast in and out EA scalper that opens multiple trades following trend, uses dynamic lot sizing, and has to be – 24/5 unlimited. require the development of a high-speed, continuous fully automated trading Expert Advisor (EA) for MetaTrader 5, optimized for live trading on ICmarkets. The EA must
Hellow,l hope you are well,l am writing to place an order for a professional trading robot.l am looking for a reliable,well optimized robot that can trade efficiently,manage risk properly and deliver consistent performance in the market,I am particularly interested in a trading robot that uses a proven and transparent strategy,has strong risk management features,works well on common trading platforms,is suitable for
I am looking for an experienced MQL5 developer to build a professional MT5 software (indicator or semi-automated EA) for metals and major forex pairs. 📌 PLATFORM & MARKETS Platform: MetaTrader 5 Instruments: XAUUSD (Gold vs USD) XAGUSD (Silver vs USD) EURUSD GBPUSD USDJPY Trading styles: Scalping Intraday / short-term swing 🎯 MAIN OBJECTIVE I do NOT want an aggressive fully automated robot. I want a
I am seeking an experienced freelance marketing and algorithmic trading specialist to develop a user-friendly automated trading bot for the Pocket Option platform. The system should feature a simple and secure interface that allows direct login using my existing credentials. The bot will be designed to operate exclusively on multiple OTC currency pairs (a minimum of 10, such as EUR/USD OTC, GBP/JPY OTC, and similar
The robot will take buy trades when the 2 ema cross over the 10 ema and price has closed above the 50 ema. The take profit and stop loss can be set as an optional level by the user. The robot will take sell trades when the 2 ema cross under the 10 ema and price has closed under the 50 ema. The take profit and stop loss can be set as an optional level by the user. The entry timeframe will be 15 minutes, but it could

Project information

Budget
30+ USD
Deadline
to 7 day(s)