MQL5 Forex EA based on candle properties

İş tamamlandı

Tamamlanma süresi: 2 gün
Müşteri tarafından geri bildirim
Juan was amazing to work with. He went above and beyond in everything. He added some extra features, was very patient, and delivered in a really fast and precise way. Would really recommend.
Geliştirici tarafından geri bildirim
Great specifications, constant and clear communication. A pleasure to work with.

İş Gereklilikleri

Hello everyone,

Kindly I need an EA for forex to buy and sell based on candle properties and an indicator.

This expert advisor should check to open positions at the closing of each candle as per the set timeframe. The EA should open a buy order when there are 2 consecutive bull candles (uptrend), and opens a sell order when there are 2 consecutive bear candles (downtrend) in the specific timeframe. The EA should close open positions when either the take profit (TP) or Stop loss (SL) are reached.

However, there are some conditions to opening positions

 The EA will have 1 indicator: ATR.

 Below are some of the calculations that need to be calculated at the closing of each candle for the constraints with their respective abbreviations. Please use the same abbreviations to make it easier for current and future development.

 

  •            Spread (SP)
  •            Closing candle price (CCP): the closing price of the closing candle.
  •            Recent Duration (RD): duration set as a timeframe for below calculations
  •            Highest price (HPRD) /Highest opening or closing price/ calculated for the RD
  •            Lowest price (LPRD) / Lowest opening or closing price/ calculated for the RD
  •            Longest downtrend (LDT) / Pips / calculated for the RD

  o Difference between highest value and lowest value of 1 or more consecutive red candles

(Highest high and lowest low and NOT highest open and lowest close)

  •            Longest uptrend (LUT) / Pips / calculated for the RD

o   Difference between highest value and lowest value of 1 or more consecutive green candles (highest high and lowest low and NOT highest open and lowest close)

  •            Current trend range (CTR) /Pips/ calculated for all the candles before the closing candle and including the closing candle that have the same direction as the closing candle.

o   For bull candles CTR = highest close of all candles in the range – lowest low of all candles in the range

o   For bear candles CTR = highest high of all candles in the range – lowest close of all candles in the range

Indicator Input

  •         ATR: Period

General Inputs for opening positions

  •            Specify the timeframe
  •            Specify up to 6 trading pairs to look for positions
  •            Recent duration (RD): duration set as a timeframe for below calculations
  •            Max number of open positions: Set the max number of open positions at the same time
  •            Lot size (LS): Set the lot size for opening positions

Conditions

1.       Closing candle properties

  • Closing candle body size{absolute(open-close)} should be:
  • {ATR(at closing candle)*2>Closing candle body size>10 pips}
  • Bull closing candle upper shadow should be less than the body: (high-close) < (close-open)
  • Bear closing candle lower shadow should be less than the body: (close-low) < (open-close)
  • Bear candle closing price should be lower than lowest low of any of the current trend’s candles
  • Bull candle closing price should be higher than highest high of any of the current trend’s candles

2.       Minimum ATR

  • ATR minimum (ATRMin): Set the ATRMin to 50 pips. Only open positions if ATR(calculated at closing candle)>ATRmin

3.       Stop loss

  • Stop loss (SL) : Calculate and set Stop loss for all open orders to = ATR(calculated at closing candle)} pips

4.       Take profit

  • Take profit (TP): Calculate and set the take profit for all open orders to = (2 * ATR (calculated at closing candle)) – Spread (calculated at closing candle)
  • Take profit minimum (TPmin): Set the TPmin to 20 Pips. Only open positions if TP>Tpmin

5.       Recent high/low

For buy orders

  •           CCP + TP < HPRD
  •           CCP > HPRD + ATR

For sell orders

  •            CCP – TP > LPRD
  •            CCP < LRPD – ATR

6.       Current trend range

For buy orders

  •            CTR+ TP < LUT
  •            CTR > (LUT + ATR)

For sell orders

  •            CTR – TP < LDT
  •            CTR > (LDT - ATR)

 

Attached you can find some examples in order to better convey the different componenets and calculations.

Kindly use same abbreviations when defining objects to make it easier for current and future development.


Dosyalar:

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(37)
Projeler
59
27%
Arabuluculuk
24
21% / 54%
Süresi dolmuş
10
17%
Çalışıyor
2
Geliştirici 2
Derecelendirme
(7)
Projeler
6
0%
Arabuluculuk
5
0% / 100%
Süresi dolmuş
1
17%
Ücretsiz
3
Geliştirici 3
Derecelendirme
(64)
Projeler
93
37%
Arabuluculuk
11
27% / 45%
Süresi dolmuş
14
15%
Ücretsiz
4
Geliştirici 4
Derecelendirme
(2405)
Projeler
3019
65%
Arabuluculuk
77
47% / 14%
Süresi dolmuş
340
11%
Çalışıyor
5
Geliştirici 5
Derecelendirme
(149)
Projeler
165
41%
Arabuluculuk
5
0% / 80%
Süresi dolmuş
8
5%
Çalışıyor
6
Geliştirici 6
Derecelendirme
(14)
Projeler
24
50%
Arabuluculuk
0
Süresi dolmuş
4
17%
Çalışıyor
7
Geliştirici 7
Derecelendirme
(45)
Projeler
67
45%
Arabuluculuk
3
0% / 100%
Süresi dolmuş
0
Ücretsiz
8
Geliştirici 8
Derecelendirme
(192)
Projeler
196
27%
Arabuluculuk
0
Süresi dolmuş
3
2%
Ücretsiz
9
Geliştirici 9
Derecelendirme
(2061)
Projeler
2618
61%
Arabuluculuk
113
45% / 26%
Süresi dolmuş
418
16%
Yüklendi
10
Geliştirici 10
Derecelendirme
(433)
Projeler
491
33%
Arabuluculuk
25
40% / 48%
Süresi dolmuş
7
1%
Yüklendi
11
Geliştirici 11
Derecelendirme
(4)
Projeler
9
11%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
0
Ücretsiz
12
Geliştirici 12
Derecelendirme
(251)
Projeler
402
38%
Arabuluculuk
82
41% / 20%
Süresi dolmuş
70
17%
Yüklendi
13
Geliştirici 13
Derecelendirme
(3)
Projeler
6
17%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
1
17%
Ücretsiz
14
Geliştirici 14
Derecelendirme
(63)
Projeler
106
68%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
2
2%
Ücretsiz
15
Geliştirici 15
Derecelendirme
(3)
Projeler
3
33%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
16
Geliştirici 16
Derecelendirme
(262)
Projeler
536
50%
Arabuluculuk
55
40% / 36%
Süresi dolmuş
224
42%
Çalışıyor
17
Geliştirici 17
Derecelendirme
(50)
Projeler
56
7%
Arabuluculuk
18
17% / 39%
Süresi dolmuş
3
5%
Meşgul
18
Geliştirici 18
Derecelendirme
(566)
Projeler
639
41%
Arabuluculuk
21
57% / 29%
Süresi dolmuş
45
7%
Yüklendi
Benzer siparişler
PLEASE NOT THAT MY BUDGET IS 60usd FOR BOTH MT4 AND MT4 PLATFORMS The EA should have 1. An option that I can change it parameters, that's the period, method and application 2. The EA should sell when on every bullish candle that closes under the MA 3. The EA should buy on every bearish candle that forms Above the EA. It's should close trades on reverse cross. I mean when it's in a buy trade and crosses the MA for a
MT4 to Telegram 30 - 50 USD
Hello, I want to add a system send messages to Telegram Send a message with a specific picture and details of the new signal When closing with a profit, send the details of the closing and profit with a specific picture And close with a loss and send a specific picture, in addition to the details of the closure and the amount of the loss
Hi Dear developpers, I've an EA that was working very well with the previous versions of MT4. But since, they have updated their platforms, my EA it's not working anymore. I've tried to use those old MT4 versions but there are just temporary. So i've decided to updated this EA so i can use it on the newest version of MT4 (1420) and those who will come after it. I also want to implement new inputs in it. I also want
I will like the indicator to send notification to mobile when the indicator changes color and is increase upward when positive and decreasing downwards when negative including fisplaying arrows on the chart ,red for negative and green for positive
Hey greetings My pleasure to met you all .I would like to convert a public tradingview pinescript indicator to MT5 Expert Advisor based on my. Requirements/specification.Kindly bid and let discuss about the project
A robot 30 - 65 USD
Hi I am looking for developer who can make me Mt4 Ea i have 2types of analysis methods i want to add and also want to attach image with Ea like when i attach my to any currency pair the chart changes to my picture Of robot which i attached to my Ea and for proper all settings i want add i will tell u message me
hi.. i have a pin script (TV) but some lines in the code needs to be fixed,,, i will attach the file thanks very much in advance, Also there will be more project in front, so I need a very dedicated developer
I need an Expert Advisor that can read trade signals from a Telegram Channel and then execute those trades. My telegram bot has admin access to the Telegram Channel The EA needs the following functionality: Position Size: Auto: + Have fixed lot size set in settings. + Have lot size by % of account (set in settings) Manual: + From lot size set in trade signals message. + From lot size by % of account from trade
The ZONE RECOVERY/HEDGING STRATEGY will be on a timeframe where each strategy is independent and pending orders should be placed at the high and low of the candlestick. If it is a buy, then the pending order at the high of the candlestick will be triggered, and if it is a sell, then the pending order at the low of the candlestick will be triggered. If the market breaks the high of the candlestick, then the pending
Hi I have a script in Tradingview that looks good which shows the buy and sell automation. I wanted to see if that can be used in ninja Trader so I converted it for Ninja Trader. But it is not triggering the buy or sell trade like it shows in the tradingview script. Please let me know if you can help me with the script that will work in Ninja Trader just like the one in Trading View. I have the buy and sell signals

Proje bilgisi

Bütçe
110+ USD
Geliştirici için
99 USD
Son teslim tarihi
to 3 gün