EA with market price channel strategy

MQL5 Experten

Auftrag beendet

Ausführungszeit 2 Tage
Bewertung des Kunden
Wonderful work! Will find him next time!

Spezifikation

This EA trades with time and price actions. It takes the high and low prices of a specific period of time to form a price channel, and open positions when the price breaks through the channel area.


Setup

Default time frame = 5m

 

Channel values are calculated and stored:

  1. At the last bar close before trade session starts (e.g. With 5m timeframe and trade session starts at 11:00, calculation is performed when the 10:55 bar closes)
  2. If the EA is launched after trade session has started (e.g. Trade session starts at 11:00 but EA only launched at 12:00. Need to make sure the correct values are based on the current session)

Clear channel values when trade session ends

 

Channel value calculation:

Channel high = highest price among an hour before the trade start time
Channel low = lowest price among an hour before the trade start time
Channel depth = Channel high - Channel low

 

Parameters:
        Trade session start (server time) = 11:00
        Trade session end (server time) = 15:59

TP Factor = 0.5

Fast EMA period = 3

Signal trend EMA period = 10

Trend EMA period = 200

Use Trend EMA filter = True

 


 

During the trade session, at every bar close, 3 steps will be performed:

Step 1: Cancel any pending orders that’s going against the trend

Step 2: Create new pending orders when condition is met

Step 3: Manage any opened positions

 

Step 1: Cancel pending orders that’s going against trend

        If Fast EMA < Signal EMA, cancel any pending buy stop order

        If Fast EMA > Signal EMA, cancel any pending sell stop order

 

Step 2: Create new pending order

Buy stop order

Conditions:

  1. No existing buy stop order
  2. No existing long position
  3. Current price closes above channel high
  4. Fast EMA > Signal EMA
  5. Channel high > Trend EMA (option to enable / disable)

If all conditions are met, create 2 buy stop order (A1 and A2)

Position A1:

        Place at channel high

        TP = Open price + (Channel depth * TP Factor)

        When TP is hit, immediately set SL of position A2 to breakeven

Position A2:

        Place at channel high

 

Sell stop order

Conditions:

  1. No existing sell stop order
  2. No existing short position
  3. Current price closes below channel low
  4. Fast EMA < Signal EMA
  5. Channel low < Trend EMA (option to enable / disable)

If all conditions are met, create 2 sell stop order (B1 and B2)

Position B1:

        Place at channel low

        TP = Open price - (Channel depth * TP Factor)

        When TP is hit, immediately set SL of position B2 to breakeven

Position B2:

        Place at channel low

Manage opened positions

For Position A1 and A2:

  1. Bar closed below channel low
  2. When in profit and bar closed below the low of previous bar
  3. When in profit and bar closed below the high of previous bar

 


Lot size calculation

There are 3 options for lot size calculation.

  1. Fixed lot size
  2. Risk % per trade – e.g. if set to 0.015, in case of hitting SL the loss of the position should be 1.5% of the balance
  3. % of equity

Position A1 & B1 would have separated settings to position A2 & B2.

 

Parameters:

[A1/B1] Lot size = “Fixed lot size”

[A1/B1] Fixed lot size = 0.01

[A1/B1] Risk % per trade = 0.015

[A1/B1] % of equity = 0.02

[A2/B2] Lot size = “Fixed lot size”

[A2/B2] Fixed lot size = 0.01

[A2/B2] Risk % per trade = 0.015

[A2/B2] % of equity = 0.02

 


Other requirements

  1. Trade time adjust to daylight saving
  2. Only check and manage the pending orders and positions which have the same magic number set by this EA
Draw a rectangle that marks the bounds of the channel on the chart

Dateien:

Bewerbungen

1
Entwickler 1
Bewertung
(39)
Projekte
50
18%
Schlichtung
5
40% / 40%
Frist nicht eingehalten
0
Frei
2
Entwickler 2
Bewertung
(7)
Projekte
6
0%
Schlichtung
5
0% / 100%
Frist nicht eingehalten
0
Frei
3
Entwickler 3
Bewertung
(74)
Projekte
73
47%
Schlichtung
2
50% / 50%
Frist nicht eingehalten
2
3%
Frei
4
Entwickler 4
Bewertung
(96)
Projekte
143
76%
Schlichtung
0
Frist nicht eingehalten
2
1%
Frei
5
Entwickler 5
Bewertung
(4)
Projekte
6
0%
Schlichtung
5
0% / 80%
Frist nicht eingehalten
2
33%
Frei
6
Entwickler 6
Bewertung
(68)
Projekte
111
26%
Schlichtung
17
6% / 71%
Frist nicht eingehalten
15
14%
Frei
7
Entwickler 7
Bewertung
(290)
Projekte
432
64%
Schlichtung
5
40% / 0%
Frist nicht eingehalten
4
1%
Beschäftigt
8
Entwickler 8
Bewertung
(236)
Projekte
418
34%
Schlichtung
53
36% / 40%
Frist nicht eingehalten
153
37%
Überlastet
9
Entwickler 9
Bewertung
(475)
Projekte
504
53%
Schlichtung
10
60% / 20%
Frist nicht eingehalten
3
1%
Frei
10
Entwickler 10
Bewertung
(34)
Projekte
49
43%
Schlichtung
3
0% / 33%
Frist nicht eingehalten
14
29%
Arbeitet
11
Entwickler 11
Bewertung
(253)
Projekte
407
38%
Schlichtung
85
42% / 19%
Frist nicht eingehalten
70
17%
Beschäftigt
12
Entwickler 12
Bewertung
(2422)
Projekte
3042
66%
Schlichtung
77
48% / 14%
Frist nicht eingehalten
340
11%
Arbeitet
13
Entwickler 13
Bewertung
(16)
Projekte
29
48%
Schlichtung
0
Frist nicht eingehalten
6
21%
Frei
14
Entwickler 14
Bewertung
(264)
Projekte
538
50%
Schlichtung
55
40% / 36%
Frist nicht eingehalten
224
42%
Arbeitet
15
Entwickler 15
Bewertung
(66)
Projekte
143
34%
Schlichtung
10
10% / 60%
Frist nicht eingehalten
26
18%
Frei
16
Entwickler 16
Bewertung
(563)
Projekte
932
47%
Schlichtung
301
59% / 25%
Frist nicht eingehalten
124
13%
Arbeitet
Ähnliche Aufträge
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link

Projektdetails

Budget
50 - 100 USD
Für die Entwickler
45 - 90 USD
Ausführungsfristen
bis 5 Tag(e)