EA to Close Trades Using Stochastic Indicator

İş tamamlandı

Tamamlanma süresi: 1 gün

Şartname

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.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(22)
Projeler
21
10%
Arabuluculuk
4
25% / 75%
Süresi dolmuş
0
Serbest
2
Geliştirici 2
Derecelendirme
(102)
Projeler
105
60%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(258)
Projeler
322
30%
Arabuluculuk
34
26% / 65%
Süresi dolmuş
10
3%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(454)
Projeler
717
34%
Arabuluculuk
34
71% / 9%
Süresi dolmuş
22
3%
Çalışıyor
5
Geliştirici 5
Derecelendirme
(382)
Projeler
493
23%
Arabuluculuk
59
56% / 25%
Süresi dolmuş
57
12%
Yüklendi
6
Geliştirici 6
Derecelendirme
(2)
Projeler
5
0%
Arabuluculuk
3
0% / 100%
Süresi dolmuş
1
20%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(75)
Projeler
80
6%
Arabuluculuk
46
11% / 54%
Süresi dolmuş
7
9%
Çalışıyor
8
Geliştirici 8
Derecelendirme
(47)
Projeler
67
37%
Arabuluculuk
5
40% / 40%
Süresi dolmuş
1
1%
Serbest
9
Geliştirici 9
Derecelendirme
(274)
Projeler
403
28%
Arabuluculuk
40
40% / 50%
Süresi dolmuş
1
0%
Serbest
10
Geliştirici 10
Derecelendirme
(633)
Projeler
1001
47%
Arabuluculuk
33
36% / 36%
Süresi dolmuş
98
10%
Çalışıyor
Yayınlandı: 6 kod
11
Geliştirici 11
Derecelendirme
(314)
Projeler
561
35%
Arabuluculuk
81
31% / 44%
Süresi dolmuş
204
36%
Çalışıyor
12
Geliştirici 12
Derecelendirme
(62)
Projeler
90
29%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
13
Geliştirici 13
Derecelendirme
(72)
Projeler
80
10%
Arabuluculuk
38
8% / 58%
Süresi dolmuş
6
8%
Serbest
14
Geliştirici 14
Derecelendirme
(50)
Projeler
64
20%
Arabuluculuk
11
27% / 55%
Süresi dolmuş
5
8%
Serbest
15
Geliştirici 15
Derecelendirme
(7)
Projeler
8
13%
Arabuluculuk
6
33% / 33%
Süresi dolmuş
0
Serbest
16
Geliştirici 16
Derecelendirme
Projeler
1
0%
Arabuluculuk
4
0% / 50%
Süresi dolmuş
0
Çalışıyor
17
Geliştirici 17
Derecelendirme
(1156)
Projeler
1462
63%
Arabuluculuk
21
57% / 10%
Süresi dolmuş
43
3%
Serbest
18
Geliştirici 18
Derecelendirme
(111)
Projeler
139
43%
Arabuluculuk
9
33% / 44%
Süresi dolmuş
6
4%
Serbest
19
Geliştirici 19
Derecelendirme
(50)
Projeler
94
29%
Arabuluculuk
4
25% / 0%
Süresi dolmuş
4
4%
Serbest
Yayınlandı: 3 kod
20
Geliştirici 20
Derecelendirme
(64)
Projeler
83
28%
Arabuluculuk
9
33% / 56%
Süresi dolmuş
9
11%
Serbest
Yayınlandı: 1 kod
21
Geliştirici 21
Derecelendirme
(10)
Projeler
6
33%
Arabuluculuk
6
0% / 67%
Süresi dolmuş
1
17%
Çalışıyor
Benzer siparişler
Dear developers I want to create an expert advisor for my strategy. The entry signals quite simple using OHLC, Bollinger, SuperTrend. (Possibly: ICT/FVG) The money and risk management is more difficult using martingale and trailing stops. I also need help to design this before any development
Welcome to the new era of automation I have something very powerful for trades who are looking to make consistent profits in the industry The EA is called Golden Sniper Pro designed specifically for boom index on Deriv broker with a win rate of over 85%. The ea combines EMA and RSI to detect market direction, calculates SL and TP by ATR. Uses tick counts to avoid entries near spike zones, if there was an entry
Hello, I am looking for someone who can help me to build a MT4/MT5 forex EA, by analyzing the trading history. You are responsible to find out trading logic behind the EA and Build a new EA that accurately replicates the existing strategy. I need someone who has proven previous experience to build a new EA by reverse engineering. Thanks
Risk management EA 30 - 200 USD
Looking to develop risk management EA for personal use probably commercially in the future. I want the EA to have a display panel with 0.1, 0.2, 0.5,1,2,3 percent risk management button. I also want BE, partial closure of 0.25,0.5,0.75 and full closure panel on both profit and loss. I’ll also like to include trailing stop, 2 trades max per day and BE+spread option. I’ll be attaching the image for a guidance on what
Sierra Chart Alerts to MT5 via Webhook (Alert Manager File Version) Objective: Create a Custom Study (ACSIL / C++) that monitors alerts from the Alert Manager file and forwards any valid alert directly to MT5 via an HTTP POST (Webhook) in JSON format. Additional Note: The study should allow adding any modifications in the future and provide clear insights into the alert points in Sierra Chart. 1. Data Flow Diagram
Ea.Mix 30+ USD
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
MT5 Expert Advisor Development Project Overview I am looking for an experienced MQL5 developer to build a custom MetaTrader 5 Expert Advisor based on a grid-cycle trading framework. This is not a standard grid EA . The system combines: Session-based trade initiation Multi-filter signal generation Dynamic grid management Advanced basket management State-machine-driven trade lifecycle management Dynamic take-profit
I am in need of a good scalping bot for gold or any currency pair. If you have one that is working, reach out. You must be able to provide a trial version so I can test the bot myself
Test instructions: - Run EA on US30 (Dow Jones) - Timeframe: H1 - Test period: last 3–6 months - Use default risk settings (1% per setup) - Check Friday breakout logic only Expected behavior: - EA should mark Friday High/Low - Wait for candle close breakout - Wait for retracement into range - Enter only when H1 candle closes inside range - Execute 2 trades per setup (TP1 = 1R, TP2 = 2R) - Respect 1.5% daily loss
ART 1: NUMBER OF TRADES ALLOWED IN ONE DIRECTION: Maximum number of trades in one direction = ------------------------------ ------------------------------ ------------------------------ -------------- par PART 2 PARTIAL CLOSURE OF STOPLOSS: Total STOPLOSS =------ Pips 1a: Percentage of Stoploss =--% 1b Percentage of Lot size =--% 2a: Percentage oe of Lot size =--% f Stoploss =--% 2b

Proje bilgisi

Bütçe
30+ USD
Son teslim tarihi
to 7 gün