EA with market price channel strategy

MQL5 Experts

Job finished

Execution time 2 days
Feedback from customer
Wonderful work! Will find him next time!

Specification

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

Files:

Responded

1
Developer 1
Rating
(39)
Projects
50
18%
Arbitration
5
40% / 40%
Overdue
0
Free
2
Developer 2
Rating
(7)
Projects
6
0%
Arbitration
5
0% / 100%
Overdue
0
Free
3
Developer 3
Rating
(74)
Projects
73
47%
Arbitration
2
50% / 50%
Overdue
2
3%
Free
4
Developer 4
Rating
(96)
Projects
143
76%
Arbitration
0
Overdue
2
1%
Free
5
Developer 5
Rating
(4)
Projects
6
0%
Arbitration
5
0% / 80%
Overdue
2
33%
Free
6
Developer 6
Rating
(68)
Projects
111
26%
Arbitration
17
6% / 71%
Overdue
15
14%
Free
7
Developer 7
Rating
(270)
Projects
407
63%
Arbitration
5
40% / 0%
Overdue
4
1%
Working
8
Developer 8
Rating
(229)
Projects
404
33%
Arbitration
52
37% / 40%
Overdue
146
36%
Loaded
9
Developer 9
Rating
(467)
Projects
495
53%
Arbitration
10
60% / 20%
Overdue
3
1%
Free
10
Developer 10
Rating
(34)
Projects
49
43%
Arbitration
3
0% / 33%
Overdue
14
29%
Free
11
Developer 11
Rating
(250)
Projects
400
38%
Arbitration
82
41% / 20%
Overdue
69
17%
Loaded
12
Developer 12
Rating
(2381)
Projects
2991
65%
Arbitration
76
47% / 14%
Overdue
340
11%
Free
13
Developer 13
Rating
(16)
Projects
29
48%
Arbitration
0
Overdue
6
21%
Free
14
Developer 14
Rating
(261)
Projects
535
50%
Arbitration
54
41% / 37%
Overdue
224
42%
Working
15
Developer 15
Rating
(66)
Projects
143
34%
Arbitration
11
9% / 55%
Overdue
26
18%
Working
16
Developer 16
Rating
(556)
Projects
923
48%
Arbitration
301
59% / 25%
Overdue
123
13%
Loaded
Similar orders
This job is for an MT5 EA to pass prop firm challenges (either 1 or 2 phases) and use in Funded Account (such as NOVA FUNDING, FTMO, MFF, MYFUNDEDFX etc.), and should also work on normal live accounts. Requirements for the EA: - trades well individually on: EURUSD, GBPUSD (preferably also on US30 and others) - must use Stoploss - max. daily Loss 4% - max. daily Drawdown 6% - max. account Drawdown 8% - Should not use
Need a trading bot 30 - 40 USD
Hi there, Can you reprogramme an existing EA using the source code or create one from scratch? Of course, I already have an MQL4 version of the EA; all I need is an additional version with alternative configurations. Please get in touch if you are proficient in developing an MT4 EA, as I will be providing all information through a comment section. Thank you
Hello great developer can you help me with MT5 indicator developing? Here is a document that describes the filters that will need to be added to my existing custom indicator. let me know if you have any questions or if anything in the document is unclear I will be looking for great developer to bid for this project Best regards
Here is a document that describes the filters that will need to be added to my existing custom indicator. let me know if you have any questions or if anything in the document is unclear kindly message me for the file
Hamed09877 30+ USD
Trend Line Candlestick action price strategy No martingale and hedge Ability to automatically manage capital and Markab capital Ability to insert stop loss and tick profit for each individual position Capable of fundamental and technical analysis with news filter Acceptable monthly profit in proportion to capital 24 hour support Easy installation Free update
Trade Entry Rule : 1 . New Arrow Higher or Lower Appear : Entry . (Range: {Input}) After Entry Trailing Stop Trails { Trail Step (Input) } 2 . Lot Size { Input } 3 . Take Profit { Input } 4 . Max Number of Trades { Input } 5 . Total Number of Trades per Entry { Input } ---------------------------------------------------------------------------- 6 . Spread Filter { Input }
Hello there, Am looking for an expert in coding mt4, mt5 EA and indicator, am a project manager who help people in getting there strategy or idea been convert to well performance EA or indicator by a professional programmer and developer, so if you are a professional and interested in working with me let talk in the comment so we can build a long business relationship together. THANK YOU
Hello Programmers I have build a theory around Stochastic indicator, Martingale method , Moving avernage and some money management parameters. Most important of all is the entry size calculation based on risk. lots to trade = Equity * Risk (%) / Contract Size * Leverage If you are interested, please apply
Hello. I need hft robot for mt5 that can pass kortana prop firm in less than 1 hour. If you have developed this hft robot please message me for discussion. I need to demo live the ea if its working on kortanafx. The more credentials the faster transactions
I'm looking for a profitable EA at least 5-10% per month profits . No Grid, Hedging, Martingle trading. 1 trade per pair as much as possible to avoid violations. Willing to give live demo backtest to test the ea performance . I'm willing to pay handsome amount for a premium quality EA. You can name your price if you have proven track record of your ea being used for prop firms and has been profitable for a long

Project information

Budget
50 - 100 USD
For the developer
45 - 90 USD
Deadline
to 5 day(s)