Käynnissä

Metatrader MQL4 Expert Advisor: Simple Breakout EA

Requirement specification: Breakout EA

Expert Advisor to be coded for Metatrader in MQL4 language

Timeframe to be used

4H

Parameters

Magic number: [magic number]

Buffer: [number of buffer pips]

SL multiplier: [a factor determining the SL size]

TP multiplier: [a factor determining the TP size]

Fixed lots: [True/false]

Lot size: [lot size to be used if fixed lots = true]

Risk percent: [maximum capital at risk per trade]

Friday close hour: [the hour that open trades done by the EA should be closed]

Entry logic

Find the first 4H candle if the week (it appears when selecting ctrl+y in Metatrader)

Save the High value (H) and the Low value (L) from this candle.

When this candle has closed:

Open a Long position at H + Buffer value (defined in parameters)

Set SL to: L value

Set TP to: H + Buffer value + (H-L)* TP multiplier

Open a Short position at L – Buffer value (defined in parameters)

Set SL to: H value

Set TP to: L - Buffer value - (H-L)* TP multiplier

Exit logic

Trades will be closed either when TP or SL is hit. If trades are open on Friday, they should be closed on the Friday close hour (user defined with parameter)

Remarks

Only one Long trade and one Short trade per week and chart can be opened. Pending orders should be deleted by the end of the week.

This is a first simple EA that I would like to have coded. Successful completion of this project can result in similar but larger projects in the future.

Taidot: C-ohjelmointi

Näytä lisää: mql4 breakout, candle mql4, breakout mql4, expert advisor breakout candle, breakout expert advisor, simple breakout, candle breakout, metatrader expert hour breakout, simple breakout expert advisor, mql4 expert advisor, metatrader expert advisor breakout, simple expert mql4, metatrader mql4 timeframe, simple breakout expert, friday mql4, hour breakout, metatrader buffer, candle percent lot, mql4 candle week, mql4 expert breakout, open close friday mql4, mql4 magic number, user specification requirement, specification requirement, mql4 c

About the Employer:
( 43 reviews ) Västerås, Sweden

Projektin tunnus: #476667

Myönnetty käyttäjälle:

kamuta

Hi Yoohan, thank you for invitation and for sharp description of task, your task is easy - I'll make it fast...

50 $ USD 1 päivässä
(3 arvostelua)
3.3

2 freelanceria on tarjonnut keskimäärin 138 $ tähän työhön

penjagawarung

Hi, willing to finish your project.

225 $ USD 5 päivässä
(0 arvostelua)
0.0