EA with market price channel strategy

MQL5 전문가

작업 종료됨

실행 시간 2 일
고객의 피드백
Wonderful work! Will find him next time!

명시

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

파일:

응답함

1
개발자 1
등급
(39)
프로젝트
50
18%
중재
5
40% / 40%
기한 초과
0
무료
2
개발자 2
등급
(7)
프로젝트
6
0%
중재
5
0% / 100%
기한 초과
0
무료
3
개발자 3
등급
(73)
프로젝트
72
46%
중재
2
50% / 50%
기한 초과
1
1%
작업중
4
개발자 4
등급
(96)
프로젝트
142
75%
중재
0
기한 초과
2
1%
무료
5
개발자 5
등급
(4)
프로젝트
6
0%
중재
4
0% / 75%
기한 초과
2
33%
무료
6
개발자 6
등급
(68)
프로젝트
111
26%
중재
17
6% / 71%
기한 초과
15
14%
무료
7
개발자 7
등급
(263)
프로젝트
399
63%
중재
5
40% / 0%
기한 초과
4
1%
로드됨
8
개발자 8
등급
(223)
프로젝트
398
34%
중재
53
36% / 40%
기한 초과
144
36%
로드됨
9
개발자 9
등급
(463)
프로젝트
492
52%
중재
10
60% / 20%
기한 초과
3
1%
무료
10
개발자 10
등급
(34)
프로젝트
49
43%
중재
3
0% / 33%
기한 초과
14
29%
무료
11
개발자 11
등급
(249)
프로젝트
398
38%
중재
82
41% / 20%
기한 초과
69
17%
로드됨
12
개발자 12
등급
(2367)
프로젝트
2975
65%
중재
76
47% / 14%
기한 초과
340
11%
무료
13
개발자 13
등급
(16)
프로젝트
29
48%
중재
0
기한 초과
6
21%
무료
14
개발자 14
등급
(259)
프로젝트
533
50%
중재
54
41% / 37%
기한 초과
224
42%
작업중
15
개발자 15
등급
(66)
프로젝트
143
34%
중재
10
10% / 60%
기한 초과
26
18%
작업중
16
개발자 16
등급
(555)
프로젝트
922
48%
중재
300
59% / 25%
기한 초과
123
13%
작업중
비슷한 주문
This is ready made grid ea Bug- This ea has some bug like - a>if mt4 restart ea trade random without any logic. B>if i add 300 pips grid ,some time ea take next trade at 400 distance pips Feature 2. Add supply and demnad + 200 ma entry logic (supply demad indicator are add to attach) 3.Add two separet engine en1 -- en2. But engine have same grid logic but separate parameter and magic number bot have anti-grid
Due to developers not responding I try again. Im going to automate my strategy which is a breakout strategy but with some extra confirmations and rules, see attached file with description of the requirements. Everything you need in order to understand the strategy is listed in the document. If any questions appear feel free to ask! Please leave a quote, and only after reading the document attached. thanks ahead
Programmer needed to make my HFT bot more suitable for live trading. After testing and proven, if up to expectation, full funds will be received. Genuine offer but if this is successful further discussions can take place. DM me first so we can discuss further
An Expert Advisor based on Martingale's strategy is needed. Based on a tendency indicator, open a position, and if it hits the stop loss, open another position in the same or opposite direction (The EA should have the option to select this preference) with the lot size two times the previous lot. Also, the EA should have a risk management option to set the maximum drawdown limit to stop opening more orders. The EA
Hidden SL & TP 1. Design a simple interface on chart. Order No | Pair | Lot | TP | SL 5110022 | EURUSD | 1.0 | +20 | -30 2. EA will scan All existing orders and new orders and put to Chart Interface. 3. User is able to select which order on interface and put a custom TP and SL number. Eg: TP +20 | SL -30. And prices will calculate accordingly. 4. TP & SL is hidden on the MT4. 5. When the Order is closed, it will auto
Instrument I will trade: DAX Chart: 9 ranges (on Quantower) with 18 ranges (on multichart) Indicators: VWAP, Stocatic slow set (5/3/3) ,a 20-period exponential moving average, a 30-period exponential moving average N.B. “Momentum” indicator to be constructed only for convenience: When the 20 average is above the 30 it draws a single green 25 period average, while when the 20 average is below
I have a documented strategy that i will like to turn into an expert advisor, without excluding any features in it, this is to be develop for mt4 and mt5, i will thrill to receive bidding from and also assurance if you can do it Thanks
Discussion in forex forum: Young trader says: I know a very perfect and riskless way to profit in forex! Spot and future prices will be equal on the future’s expiration. So, let’s buy cheaper instrument and sell expensive one and enjoy profits! Old trader says: You gullible being! Don’t you know swap will “eat” all your imagined profits and even more?! I say: Perhaps swap will destroy profit on price difference
ICT, SMC, PAMETNI NOVAC KONCEPTI, PAMETNI NOVAC, koncept pametnog novca, podrška i otpor, analiza trenda, radnja cijena, tržišna struktura, blokovi naloga, BOS/CHoCH, blokovi razbijača , pomak momentuma, zona ponude i potražnje/blokovi naloga , jaka neravnoteža, HH/LL/HL/LH, jaz fer vrijednosti, FVG, Zone premije i popusta , Fibonacci retracement, OTE, Likvidnost na strani kupnje, Likvidnost na strani prodaje
I already have my indicator working flawlessly on MQL4 but I will love to extend it's functionalities by adapting into an expert advisor. If you think you can do this, kindly inbox to better discussion

프로젝트 정보

예산
50 - 100 USD
개발자에게
45 - 90 USD
기한
 5 일