EA to Close Trades Using Stochastic Indicator

指定

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.

反馈

1
开发者 1
等级
(20)
项目
19
11%
仲裁
2
50% / 50%
逾期
0
工作中
2
开发者 2
等级
项目
0
0%
仲裁
0
逾期
0
空闲
3
开发者 3
等级
(141)
项目
166
22%
仲裁
7
29% / 43%
逾期
4
2%
工作中
4
开发者 4
等级
(349)
项目
548
32%
仲裁
24
67% / 8%
逾期
16
3%
工作中
5
开发者 5
等级
(295)
项目
373
21%
仲裁
43
60% / 23%
逾期
44
12%
繁忙
6
开发者 6
等级
(1)
项目
3
0%
仲裁
0
逾期
0
工作中
7
开发者 7
等级
(54)
项目
64
6%
仲裁
24
21% / 38%
逾期
4
6%
工作中
8
开发者 8
等级
(17)
项目
23
39%
仲裁
0
逾期
0
工作中
9
开发者 9
等级
(157)
项目
222
22%
仲裁
15
60% / 20%
逾期
1
0%
繁忙
10
开发者 10
等级
(592)
项目
924
46%
仲裁
31
39% / 29%
逾期
93
10%
工作中
11
开发者 11
等级
(241)
项目
425
34%
仲裁
54
37% / 39%
逾期
155
36%
工作中
12
开发者 12
等级
(22)
项目
28
11%
仲裁
6
33% / 50%
逾期
4
14%
已载入
13
开发者 13
等级
(69)
项目
79
9%
仲裁
34
9% / 56%
逾期
6
8%
已载入
14
开发者 14
等级
(28)
项目
34
15%
仲裁
5
40% / 60%
逾期
5
15%
空闲
15
开发者 15
等级
(3)
项目
3
0%
仲裁
3
33% / 33%
逾期
0
空闲
16
开发者 16
等级
项目
1
0%
仲裁
1
0% / 0%
逾期
0
工作中
17
开发者 17
等级
(1129)
项目
1431
62%
仲裁
21
57% / 10%
逾期
43
3%
空闲
18
开发者 18
等级
(103)
项目
130
44%
仲裁
7
43% / 43%
逾期
7
5%
空闲
19
开发者 19
等级
(50)
项目
94
29%
仲裁
3
33% / 0%
逾期
4
4%
空闲
20
开发者 20
等级
(58)
项目
76
25%
仲裁
9
33% / 56%
逾期
8
11%
工作中
21
开发者 21
等级
(5)
项目
5
20%
仲裁
0
逾期
1
20%
工作中
相似订单
Hello there, MQL5 Expert Advisor Development for Custom Method I need a skilled MQL5 programmer to develop an Expert Advisor (EA) for the MetaTrader 5 platform. This EA should be tailored to a unique trading strategy we've created, specifically for the m1 time frame. Key Requirements: - The EA must incorporate features specific to our trading method. - It should utilize the ATR and Fibonacci indicators/signals. Ideal
I need some who can develop my strategy and hand me over the source code... I will give you the specific area in the market i want to mark out and then set pending orders to execute once price move into the zone
Red/yellow bot 30 - 100 USD
I require a bot that will trade under this condition: 1: in an uptrend I will draw yellow lines and if trend changes to downtrend and reaches one yellow line it opens a sell trade. In downtrend I will draw orange line if trend changes to uptrend and touch the line it enter buy trade. 2: if I was already in a trade, eg. Buy trade and trend changes and touches yellow line I
independent-minded coder and algorithmic trader who has forged a solo career crafting financial strategies using MetaQuotes languages, MQL4 and MQL5. Driven by a blend of analytical thinking and a love for technology, John has become a self-made expert, navigating the dynamic world of algorithmic trading with finesse. With an unquenchable curiosity for financial markets and a knack for coding, John's daily routine
Hello, I need someone to convert an existing Multi-Timeframe Meta Trader 4 dashboard indicator that features Orderblocks, Imbalances and Break of Structure into a Meta Trader 5 compatible dashboard Indicator
I need to automate the supertrend indicator on ctrader with partial tp and sl. I already have a sort of script (without tp and sl) but when I go to compile it gives me an error. would you be able to make it work by adding the partial tp and sl
I have an Expert Advisor in ex4 and mq4 file formats that I would like to recreate with its original strategy. I believe the file have a bug or one error inside or maybe also is a Decomp file , and as a result, I am unable to understand the rules it follows to evaluate the market and open orders. I am looking for a developer who can help me reconstruct the strategy accurately. The mql4 format file would need to be
Just need an EA based on Half Trend Indicator. Maybe add stop loss and take profit. ! am open to any suggestion you may recommend me. Lot size and time frame adjustable
Hello, I am looking for an expert in DLL to help control my current EA. I want to implement some conditions that will allow my EA to turn on and off according to DLL specifications. For example, the EA should only execute trades when a specific condition in the DLL is met, and it should stop trading when the condition is not met
Skarito98 30 - 100 USD
Always stay winning and survive....we all want a better life now this is a chance someone can take,to change their lives for the better.No one is supposed to suffer in this world,we create and invert new things and come up with ideas to solve situations we come across especially when it comes to finance. We all need better things in life and God want good things for us

项目信息

预算
30+ USD
开发人员
27 USD
截止日期
 7 天