EA in MQL4 using simple candle pivot patterns

Experts

Trabalho concluído

Tempo de execução 1 dia
Comentário do desenvolvedor
thank you, good work.

Termos de Referência

The idea:

To begin with this strategy has been tested with IT-charts backtesting method and gives about 50-50 of the trades either on the profit or the loss site. However the profitable trades generate around three times more profit than the loosing trades are causing losses. The end result gives a net profit after 3 months ideally (if all signals are executed at the very time they come out) at 2500 points given that all positions are open as 1. The method has been used for about a month for trading with DJIA and Forex (EUR/USD) at 2 hours and 4 hours charts respectivelly and due to practical reasons (i.e. not being able to execute all signals) ended up with lower profits than expected at around 400 points. The main problem as with many strategies is that an average person can not follow all signals as these are coming out on a 24/hour-basis.

The method is based on simple 3, 4 and 5 candle set patterns and defines a bearish or a bullish pivot points (trend reversal).

Example of 3 candle sets: (The candles are numbered as 2-1-0 with the 0 being the most recent one). We have a bullish pivot point whereas candle 1 has lower low than candle 2 and candle 1 has lower high than candle 2 and candle 0 crosses over the high of candle 1. The program should automatically exit all short positions should there are any open and automatically open a long position at the time of crossing without any manual intervention. Of course the reverse (i.e. sell all long positions and sell short simultaneously should be executed in case of a bearish signal).

I can provide all help that might be needed so that the developer gets a clear picture of what is needed. Please also see below the rules that I wrote in IT-chart build-in language if that helps.


The rules I am using in the IT-charts custom indicator, in case they are of any help are as follows:

ONCE S3 = 0
ONCE S4 = 0

ONCE S5 = 0


//NOTE: S3, S4 and S5 are sets of 3, 4 and 5 candles respectively

//NOTE: Values of the above can only take the values of 1 (for bullish, - 1 for bearish, or 0 (for no signal).

//NOTE: The following code defines the rules based on highs and lows of the involved candles:


IF LOW[0] < LOW[1] AND LOW[1] > LOW[2] AND HIGH[0] < HIGH[1] AND HIGH[1] > HIGH[2] THEN
    S3 = -1
ELSIF LOW[0] > LOW[1] AND LOW[1] < LOW[2] AND HIGH[0] > HIGH[1] AND HIGH[1] < HIGH[2] THEN
    S3 = 1
ELSE
    S3 = 0
ENDIF

IF LOW[0] < LOW[1] AND LOW[3] < LOW[1] AND HIGH[0] < HIGH[1] AND HIGH[3] < HIGH[1] AND HIGH[2] < HIGH[1] AND LOW[2] > LOW[1] THEN
    S4 = -1
ELSIF LOW[0] < LOW[2] AND LOW[3] < LOW[2] AND HIGH[0] < HIGH[2] AND HIGH[3] < HIGH[2] AND HIGH[1] < HIGH[2] AND LOW[1] > LOW[2] THEN
    S4 = -1
ELSIF LOW[0] > LOW[2] AND LOW[3] > LOW[2] AND HIGH[3] > HIGH[2] AND HIGH[0] > HIGH[2] AND HIGH[1] < HIGH[2] AND LOW[1] > LOW[2] THEN
    S4 = 1
ELSIF LOW[0] > LOW[1] AND LOW[3] > LOW[1] AND HIGH[0] > HIGH[1] AND HIGH[3] > HIGH[1] AND HIGH[2] < HIGH[1] AND LOW[2] > LOW[1] THEN
    S4 = 1
ELSIF LOW[0] < LOW[2] AND LOW[3] < LOW[2] AND HIGH[0] < MAX(HIGH[2],HIGH[1]) AND HIGH[3] < MAX(HIGH[2],HIGH[1]) AND LOW[1] = LOW[2] AND HIGH[0] < MAX(HIGH[1],HIGH[2]) THEN
    S4 = -1
ELSIF LOW[0] > MIN(LOW[1],LOW[2]) AND LOW[3] > MIN(LOW[1],LOW[2]) AND HIGH[0] > HIGH[1] AND HIGH[3] > HIGH[1] AND HIGH[2] = HIGH[1] AND LOW[3] > MIN(LOW[1],LOW[2]) THEN
    S4 = 1
ELSE
    S4 = 0
ENDIF

IF LOW[0] < LOW[2] AND LOW[4] < LOW[2] AND HIGH[0] < HIGH[2] AND HIGH[4] < HIGH[2] AND HIGH[1] < HIGH[2] AND HIGH[3] < HIGH[2] AND LOW[1] > LOW[2] AND LOW[3] > LOW[2] THEN
    S5 = -1
ELSIF HIGH[0] > HIGH[2] AND HIGH[4] > HIGH[2] AND LOW[0] > LOW[2] AND LOW[4] > LOW[2] AND LOW[1] > LOW[2] AND LOW[3] > LOW[2] AND HIGH[1] < HIGH[2] AND HIGH[3] < HIGH[2] THEN
    S5 = 1
ELSIF HIGH[1] > HIGH[0] AND HIGH[1] > HIGH[4] AND LOW[1] > LOW[0] AND LOW[1] > LOW[4] AND HIGH[2] < HIGH[1] AND HIGH[3] < HIGH[1] AND LOW[3] > LOW[1] AND LOW[2] > LOW[1] THEN
    S5 = -1
ELSIF HIGH[3] > HIGH[0] AND HIGH[3] > HIGH[4] AND LOW[3] > LOW[0] AND LOW[3] > LOW[4] AND HIGH[2] < HIGH[3] AND HIGH[1] < HIGH[3] AND LOW[1] > LOW[3] AND LOW[2] > LOW[3] THEN
    S5 = -1
ELSIF LOW[1] < LOW[0] AND LOW[1] < LOW[4] AND HIGH[1] < HIGH[0] AND HIGH[1] < HIGH[4] AND HIGH[2] < HIGH[1] AND HIGH[3] < HIGH[1] AND LOW[2] > LOW[1] AND LOW[3] > LOW[1] THEN
    S5 = 1
ELSIF LOW[3] < LOW[0] AND LOW[3] < LOW[4] AND HIGH[3] < HIGH[0] AND HIGH[3] < HIGH[4] AND HIGH[2] < HIGH[3] AND HIGH[1] < HIGH[3] AND LOW[2] > LOW[3] AND LOW[1] > LOW[3] THEN
    S5 = 1
ELSE
    S5 = 0

ENDIF


// The following part of the code checks the crossing event and gives the price at which the order should be executed. P for price.


ONCE P = 0

IF S3 = 1 THEN
    P = HIGH[1]
ELSIF S3 = -1 THEN
    P = LOW[1]
ELSIF S4 = 1 THEN
    P = MAX(HIGH[1],HIGH[2])
ELSIF S4 = -1 THEN
    P = MIN(LOW[1],LOW[2])
ELSIF S5 = 1 THEN
    P = MAX(MAX(HIGH[1],HIGH[2]),HIGH[3])
ELSIF S5 = -1 THEN
    P = MIN(MIN(LOW[1],LOW[2]),LOW[3])
ELSE
    P = 0
ENDIF

RETURN S as "signal", P AS "PRICE OF SIGNAL"

Respondido

1
Desenvolvedor 1
Classificação
(41)
Projetos
124
34%
Arbitragem
32
13% / 75%
Expirado
53
43%
Livre
Pedidos semelhantes
Make me a template so I can make custom MT5 charts with one instrument versus another instrument. Example Gold/Bitcoin It gets the total of two individual instruments and divides by two. It will be a template that I can use over and over again. Thanks
I'd like to create EA trading robot based on Basic Harmonic Pattern MT5 - https://www.mql5.com/en/market/product/78325 I tried it prepare it by myself, but it doesn't work correctly. The goal is to wait till pattern is appeared and is complete and then use the SL, 3 x TP and open sell/buy position. I'd like to set the TP I want to use by setting lot, 0 means TP is'n used. When I set lot for all the three TPs, I want
Looking for good EA 50 - 200 USD
I'm looking for good EA which makes monthly 50-100% profit with low DD. If you have any such type of strategy or ideas please ping me . Once I test and satisfied with your strategy/idea I wll order same EA to develop for me
I wish to add a customisable varying pipstep as martingale takes deeper trades in. I have a current EA that I am happy with , apart from that is has a pipstep rate that you can only control them all with. I’m finding if I put it to 300 it is much safer and of course spreads out the open martingale trades better for market trend runaways, but I am missing the fast $1 TP scalping turnarounds (normally 120 pipstep)
Profitable EA 100 - 150 USD
Looking for a profitable EA. If you have one or can build me one with the following features let me know. EA should make a profit of around 10% a week Maximum daily drawdown 4% Maximum drawdown 10% No martingale or grid system Ea should use SL Ea should use TP Ea should have newsfilter or at least 2 timing settings to put ea off EA should have profitable backtest result of at least 1 year I will test EA first for 2
I want to create an EA where we have impulse Candle with big body close and the next candle is a red candle. I want to take a buy order when there is a break of the high of the candle for long with 1:1.5 RR and the Stoploss is setup below the low. Please see the screenshots attached for long and short trades and let me know how you will implement it. I will need to have inputs for Risk% or static lots, RR changes
I want to create an EA MT5 that can 1. identify support and resistance (based on close candles) 2. mark snr breakout 3. multitimeframe breakout scanner 4. scan the valid setup that appears 5. available for manual marking, INFO SPREAD & TIME NEXT BAR 6. sends alert notification to Telegram I need a professional and experienced developer with fast and good work according to what I want. if you are interested I will
Hello developer i want to have ea that will user Indicator 1. RSI 2. MACD_Histogram 3. EMA6, EMA20 & EMA30 Buy Condition BUY 1 If RSI Line ( RSIPeriod 6) Cross Trend Line (EMAPeriod 9) from down to up and next Bullish Candle closed above EMA6 SL1 ( SL=10 pips below entry price) TP1 ( TP=10 PIPS AFTER ENTRY PRICE) BUY 2 If MACD Line ( SignalEMA 6) Cross Trend Line ( SignalEMA 6))from down to up and next Bullish Candle
EA Requirements No Risk Strategies like Martingale or Grid Must have nice entries and Exits Leverage 1:50 Profit 10% ( shown on inputs) Maxim Drawdown ( shown on inputs) Max Daily Loss 4% ( shown on inputs) All trades with Stop loss No trades During and After High Impact News( News Filter) No weekend Trades Profitable Back test for 1 year Trades Forex Mainly Gold EA Needs to have proven Results of Passing challenges
I am seeking a developer to replicate an Expert Advisor (EA) exactly as one I currently have in ex5. The replica must include the same features, functionality, and the identical design of the control panel. Only developers with proven expertise in MQL5 and EA design should apply. Please reach out only if you have significant experience in creating precise replicas of existing Expert Advisors

Informações sobre o projeto

Orçamento
15 - 30 USD
Desenvolvedor
13.5 - 27 USD
Prazo
de 5 para 10 dias