EA with market price channel strategy

MQL5 Experts

Tâche terminée

Temps d'exécution 2 jours
Commentaires du client
Wonderful work! Will find him next time!

Spécifications

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

Dossiers :

Répondu

1
Développeur 1
Évaluation
(39)
Projets
50
18%
Arbitrage
5
40% / 40%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(7)
Projets
6
0%
Arbitrage
5
0% / 100%
En retard
0
Gratuit
3
Développeur 3
Évaluation
(74)
Projets
73
47%
Arbitrage
2
50% / 50%
En retard
2
3%
Gratuit
4
Développeur 4
Évaluation
(96)
Projets
143
76%
Arbitrage
0
En retard
2
1%
Gratuit
5
Développeur 5
Évaluation
(4)
Projets
6
0%
Arbitrage
5
0% / 80%
En retard
2
33%
Gratuit
6
Développeur 6
Évaluation
(68)
Projets
111
26%
Arbitrage
17
6% / 71%
En retard
15
14%
Gratuit
7
Développeur 7
Évaluation
(300)
Projets
448
65%
Arbitrage
5
40% / 0%
En retard
4
1%
Travail
8
Développeur 8
Évaluation
(247)
Projets
439
34%
Arbitrage
56
36% / 38%
En retard
161
37%
Chargé
9
Développeur 9
Évaluation
(481)
Projets
510
53%
Arbitrage
10
60% / 20%
En retard
3
1%
Gratuit
10
Développeur 10
Évaluation
(34)
Projets
50
44%
Arbitrage
4
25% / 25%
En retard
14
28%
Gratuit
11
Développeur 11
Évaluation
(260)
Projets
422
38%
Arbitrage
86
44% / 19%
En retard
70
17%
Occupé
12
Développeur 12
Évaluation
(2440)
Projets
3075
66%
Arbitrage
77
48% / 14%
En retard
340
11%
Gratuit
13
Développeur 13
Évaluation
(16)
Projets
29
48%
Arbitrage
0
En retard
6
21%
Gratuit
14
Développeur 14
Évaluation
(266)
Projets
540
50%
Arbitrage
55
40% / 36%
En retard
224
41%
Travail
15
Développeur 15
Évaluation
(66)
Projets
143
34%
Arbitrage
10
10% / 60%
En retard
26
18%
Gratuit
16
Développeur 16
Évaluation
(564)
Projets
933
47%
Arbitrage
302
59% / 25%
En retard
125
13%
Chargé
Commandes similaires
Hi I do not know why but my other order have been deleted and it's not me... I do not know what i did wrong, let me explain again. I dont want you to crack a code or decompile. I want to create a scalper EA with the option I do ask. I had somebody built a EA called Drawdown manager for me that I do use to manage risk of any EA that I test and I have the built code. My problem is that I cannot back test this EA Fast
CHAPTER 1: BASICS 1.THE BASICS 1.1. EXPANSION AND RETRACEMENT Expansion =>occurs when there is an impulse movement towards a direction. Retracement => is the correction movement after an impulse movement. 1.2. FIBBONACCI RETRACEMENT USED TO DETERMINE THE END OF THE RETRACTION MOVEMENT, USUALLY THE PRICE RETRACTS TO 50% OR UNTIL OTE (0.62, 0.705, 0.79) BEFORE ANOTHER IMPULSE MOVEMENT OCCURS. 1.3. BMS - BREAK IN MARKET
Am looking for a developer who can convert an MT5 indicator into MT5 EA. I have the source code of the indicator and i want it modified a little to fit my parameters. Only developer with Smart Money Concept should get in touch. The developer will also add another MT5 indicator( this will be used to confirm entries and exit of orders. More details to follow
I want a program that automatically disables manual trade execution once a specified number of trades have already been placed. ie. After a total of 3 trades have been placed on that day, manual trade execution should be disabled. I want the program to also limit the amount of lots that can be traded in any given day. ie. Maximum of 15 standard lots in any given day. The program should disable manual trade execution
Currency Strength EA 30 - 80 USD
hi These ACS&Csdash indicators work in the same way but provide signals of different currency pairs. And Either of these two ACS indicators should be selected any one and set to trade. It provides signals of multiple currency pairs in the interface So the EA should work like that to trade multiple currency pairs on one chart. CsDash should analyze whether it is a strong signal to show on the dash board and make a
Hello Everyone, I want a professional programmer to help me create an Expert with the ability to take bids in accuracy and be able to manage trades effectively. I have developed a price mechanism that will help to identify if a trade is Going upwards or downwards. This has helped me to identify 2 price positions. So, after establishing the price positions, the next move of the market afterwards will then determine
I am looking for a highly sample and ready and tested profitable EA to purchase.if it meets my requirements i will order same one.EA must be low drawdown high profit on any timeframe
i have a ready made SMC EA and looking for optimizing and debugging and also adding back the missing things in the requirement file. Basically work with the current code and refine it to fit the requirement file. Most indicator is already in the EA and the requirement file below are mostly finish. here are the things need to add back and debug based on the requirement file 1. TP from the filter and need to check
If you think you can replicate EA ("reverse engineering") from Metarader's Market, and create a new EA from scratch that works 100% the same - please send an offer. I have already managed to find out many features of that EA (entry times, risk management, averaging, trailing...) but I still miss a few
Candle wick bot The bot will have a set amount of wick length to enter trade at candle open price, there will be a set Amount in points that the candle wick has to be to then enter that opposite of the wick direction Settings will look like this : Timeframe: (meaning which candles you’re using to measure open price from for the wick length ) If set to 5 min it’ll be using 5 min candles , if set to 15 it’ll use 15

Informations sur le projet

Budget
50 - 100 USD
Pour le développeur
45 - 90 USD
Délais
à 5 jour(s)