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%
仕事中
類似した注文
Hi. I need help with a Heinken Ashi strategy for Metatrader 5. If you picture your self HA candels without the wick only the body. What i want is a strategy that buy when the next body closes higher when the one before, and closes the order long when one HA candles body closes below. The opposite with sell orders and exits, after exit buy or sell the status is zero (0) and a new position depends on next HA candles
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

プロジェクト情報

予算
30+ USD
開発者用
27 USD
締め切り
最高 7 日