Expert advisor based with HeikenAshi, MACD and EMA20, EMA 10 indicators

MQL4 Experts

Spécifications

The expert advisors consists of two strategies stages

First stage is a GRID style

Second stage is ZONE RECOVERY of the loosing position

The firs rule to open the EA is the GRID and second stage is ZONE RECOVERY

First Stage rules

For LONG (Buy): let you choose to open PENDING (+/- 5 pip from current price) or INSTANT

1st condition: EMA 10 is above EMA 20: Add Option to choose timeframe

2nd condition: MACD signal is going upward, no need to cross 0 line level. But it must start growing upward. Add Option to choose timeframe

3rd condition: Check if Heiken Ashi turnes from negative candle on -2 previous candles to positive on -1 candle (not current). Add Option to choose timeframe

EXIT Rule or Takeprofit: When HeikenAshi turn negative on -1 candle. Add Option to choose timeframe

Also add breakeven, pipstep, trailling stop, trailling steps

If the current orders goes negative set GRID order (open 2nd order in same direcction of first order)

Input parameteres for GRID: 

Multiply: Set the value to multiply the lot for new orders

GridGAP: add option to set FIX pips step to open new GRID or set DyanmicGridGAP

DynamicGRIDGAP: input to enter between 3 candles up to 48 candles. Measures the  High - Low of current candles period

If DynamicGRIDGAP is == to negative pips on first order, then get ready to open second GRID ORDER (dont open yet)

If DynamicGRIDGAP is >= at first order pips then

  Check for same conditions as mentioned on first order: EMA10 is above & EMA 20, MACD going upwards, HeikenAshi candles turn positive on -1 candles in comparison with -2 candle

Add MAX GRID orders input: set the max amount of GRID orders it can be opened

If MAX GRID is reached, then new strategy kicks in after FIX GRID or DynamicGRIDGAP value is reach, instead of open a new grid order a new strategy kicks in: ZONE RECOVERY


ZONE RECOVERY

Input parameters for ZONE RECOVERY:

Multiply lots: formula set the value to multiply the lot for new order by multiplyng the sum of all BUY Orders opened (not multplying the lot itself, but the sums of all buy orders)

Set GAP value: FIX or use dynamic (same as DynamicGRIDGAP)

Order type: let you choose to open as PENDING or INSTANT orders

Takeprofit: average takeprofit

MAX ZONE ORDERS: Max combined orders to be opened

How the ZONE RECOVERY works

After FIX GAP price or DyanmicGap price is reached open a new SELL ORDER with multiply value

Since a new order will be higher in lots than the previous who was loosing, the new order will get profits if it turns positive in his direcction, and the overall takeprofit must be set in order to obtain profits even after closing the BUY order who was loosing. So in overall it must calculate profits in pips overall between the difference of BUY and SELL lot orders. Example with a multiply of 1.4x: BUY 1 lot - SELL 1.4 lot --- overall lot will be 0.4 lot so takeprofit if set to 100 pips will be based on 0.4 lots

If the price reverts after the SELL order and goes back to the average BUY price from GRID it will open again a second order, this time BUY with the multiply value: Example with 1.4x multiply. Total BUY orders combined with GRID are 3 lots. SELL order were set to  4.20 lot, now the prices goes back up so a new order is opened and will be BUY (1.4x X SELL 4.20 Lots) - Buy lot already opened: 2.88 Lots.

If the prices goes again back down to the SELL PRICE a new order is again opened same as SELL with multiply value (sum of BUY orders - Sell orders already opened multiply by value)

And so on and on until the MAX ZONE ORDERS is reach



   





Répondu

1
Développeur 1
Évaluation
(23)
Projets
45
20%
Arbitrage
24
29% / 46%
En retard
12
27%
Gratuit
2
Développeur 2
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
3
Développeur 3
Évaluation
(135)
Projets
192
42%
Arbitrage
17
29% / 59%
En retard
28
15%
Gratuit
4
Développeur 4
Évaluation
(39)
Projets
55
13%
Arbitrage
5
20% / 20%
En retard
6
11%
Gratuit
5
Développeur 5
Évaluation
(264)
Projets
538
50%
Arbitrage
55
40% / 36%
En retard
224
42%
Travail
6
Développeur 6
Évaluation
(87)
Projets
114
26%
Arbitrage
7
29% / 57%
En retard
5
4%
Gratuit
Commandes similaires
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link

Informations sur le projet

Budget
30 - 50 USD
Pour le développeur
27 - 45 USD