MQL5 Forex EA based on candle properties

MQL5 Indikatoren Experten Forex

Auftrag beendet

Ausführungszeit 2 Tage
Bewertung des Kunden
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.
Bewertung des Entwicklers
Great specifications, constant and clear communication. A pleasure to work with.

Spezifikation

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.


Dateien:

Bewerbungen

1
Entwickler 1
Bewertung
(37)
Projekte
59
27%
Schlichtung
25
20% / 52%
Frist nicht eingehalten
10
17%
Arbeitet
2
Entwickler 2
Bewertung
(7)
Projekte
6
0%
Schlichtung
5
0% / 100%
Frist nicht eingehalten
1
17%
Frei
3
Entwickler 3
Bewertung
(65)
Projekte
95
36%
Schlichtung
11
27% / 45%
Frist nicht eingehalten
14
15%
Frei
4
Entwickler 4
Bewertung
(2435)
Projekte
3067
66%
Schlichtung
77
48% / 14%
Frist nicht eingehalten
340
11%
Frei
5
Entwickler 5
Bewertung
(158)
Projekte
175
43%
Schlichtung
6
0% / 67%
Frist nicht eingehalten
8
5%
Frei
6
Entwickler 6
Bewertung
(16)
Projekte
25
52%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
4
16%
Arbeitet
7
Entwickler 7
Bewertung
(47)
Projekte
70
44%
Schlichtung
3
0% / 100%
Frist nicht eingehalten
0
Arbeitet
8
Entwickler 8
Bewertung
(202)
Projekte
206
27%
Schlichtung
0
Frist nicht eingehalten
3
1%
Frei
9
Entwickler 9
Bewertung
(2090)
Projekte
2652
62%
Schlichtung
114
45% / 25%
Frist nicht eingehalten
419
16%
Überlastet
10
Entwickler 10
Bewertung
(472)
Projekte
534
33%
Schlichtung
27
41% / 44%
Frist nicht eingehalten
8
1%
Beschäftigt
11
Entwickler 11
Bewertung
(4)
Projekte
9
11%
Schlichtung
2
50% / 50%
Frist nicht eingehalten
0
Frei
12
Entwickler 12
Bewertung
(259)
Projekte
420
38%
Schlichtung
86
44% / 19%
Frist nicht eingehalten
70
17%
Überlastet
13
Entwickler 13
Bewertung
(3)
Projekte
6
17%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
1
17%
Frei
14
Entwickler 14
Bewertung
(64)
Projekte
107
68%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
2
2%
Frei
15
Entwickler 15
Bewertung
(3)
Projekte
3
33%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
16
Entwickler 16
Bewertung
(266)
Projekte
540
50%
Schlichtung
55
40% / 36%
Frist nicht eingehalten
224
41%
Arbeitet
17
Entwickler 17
Bewertung
(56)
Projekte
65
6%
Schlichtung
26
19% / 35%
Frist nicht eingehalten
4
6%
Beschäftigt
18
Entwickler 18
Bewertung
(568)
Projekte
641
41%
Schlichtung
21
57% / 29%
Frist nicht eingehalten
47
7%
Arbeitet
Ähnliche Aufträge
I am looking for a programmer to develop a an expert advisor that can trade signals from telegram. The signals format is Buy XAUUSD and Sell XAUAUD. I want the system to just submit the orders at market price instantly as soon it is received and manage the trades according to the following parameters; Also sample of telegram signal is attached. EA PARAMETERS Trading Time (GMT): This defines the specific time window
Location: Remote Employment Type:[Full-time/Part-time] About Us At Riskeys, we are transforming the trading experience with our state-of-the-art Smart Trading Keypad for MetaTrader 4/5. Our mission is to empower traders with innovative risk management tools, providing them with the speed, precision, and efficiency they need to succeed in today’s fast-paced financial markets. As we continue to push the boundaries of
hello programmers, I have a code from Pine language it is an indicator code, I need to convert it to Mql5. within the conversion process to EA i want to use that indicator as a signals which triggers the EA to open positions and optimize it to place TP,SL i will explain the buy signal and sell signal, I need to use also 2 Moving averages 20,50 as a buy and sell triggers once they cross. A long with it i will ask for
I am looking for a highly skilled and experienced developer who can assist with converting six Pine Script strategies into NinjaTrader. The goal is to seamlessly transition these scripts while preserving their original functionality and ensuring they operate efficiently on the NinjaTrader platform. If you have the expertise and are interested in this project, please reach out. I am looking forward to collaborating
Hi there new to this but need some assistance. I need someone to code a very simple indicator/EA (I don't know which one is going to be) with these specifications 1) I need the indicator to create a buffer line between the high and low of the printed candle, the high and low is based on the highest point or lowest point the candle has gone, not the close but the actual wick per say. 2) once the candle is created the
The EA should place take profit at the order opening price when X points of loss are reached, I already I have my own EA I just need a dev that ad what I ask previously to it, will be verry cool. Thanks
Hello, I am looking for a developer to reconstruct an indicator that is currently in an ex4 file into an mq4 file. The indicator provides buy and sell signals with entry points, Stop Loss, and TP1, TP2, and TP3. However, the indicator has some errors, and I would like to correct them. Unfortunately, since I only have the ex4 file, it's not possible to make these corrections directly. Therefore, I would like to
very simple rule buy rate 2 sl 1 if market reach 3 sl 2 market reach 4 sl 3 sl hit reverse trade open too with same 1:1 trail sl system if sl hit reverse trade open with same sl trail function 1 input open trade with buy or sell option 2 sl in pip .............xyz 3 lot size ............. xyz 4 distance from sl when sl trail one step [main point] Iam buying in rate of 2 my sl is 1 market reach 3 my sl is 2 market
Purpose: 1. The EA should catch the trend and follow it up or down. 2. The EA must use volitile and volume (strong money flow/ATR or ADX. Feel free to come up with suggestions for indicators we can use. 3. EA must have a minimal Draw down at 3-5% MT4 EA Inputs • Lot size = 0.1 • Use Dynamic Lots = true/false • Risk Percentage of your balance= 2% • Min Allowed Lot Decimals = 0.1 or 0.01 or 1 • SL pips = 100 • TP Pips
I’m looking for someone experienced with Think or Swim to create a backtesting script for an in-the-money Iron Condor strategy using options on the SPX. The strategy involves setting up 10 contracts of an Iron Condor with a 10-point spread width and a net credit requirement of $11 per contract. The goal is to backtest the performance over the last three years, focusing on trades where the SPX closes outside a

Projektdetails

Budget
110+ USD
Für die Entwickler
99 USD
Ausführungsfristen
bis 3 Tag(e)