Make a Price Action EA

MQL4 Experts

Job finished

Execution time 4 days

Specification

TMT strategy is to catch the higher high / lower low pull back situation during a big trend.


https://www.forexfactory.com/showthread.php?t=912456

 

Buy stop order:

==============

1) Confirmation of UPTREND (MA 7 line is above MA 20 line),

2) Daily candle >50,

3) MFI >50,

4) RSI >50,

5) After the candle price has pull back, moved inside EMA 7 & 20 line, and closed (ref: "example 1.png"),

6) Draw trendline immediately,

- Trendline joint 1 and joint 2 points must consist of the previous e.g. 2 - 30 candles, that before the pull back candle,

- It may not able to find joint 1 and 2 points sometimes, then dont draw trendline (ref: "example 2.png"),

- If cannot draw trendline, restart condition checking from 1) again,

7) Wait until new candle price breaks ABOVE trendline, and closed,

8) Place buy stop order immediately at closed candle price + XXX pips (ref: "Entry Buffer Pips (for the buy/sell)" at Inputs).

 

Conclusion:

==========

It should determine condition 1 - 5 first, then only proceed to draw the trendline (condition 6), then place buy stop order immediately (condition 7 - 8).

 

 

Sell stop order:

===============

 

1) Confirmation of DOWNTREND (MA 7 line is below MA 20 line),

2) Daily candle <50,

3) MFI <50,

4) RSI <50,

5) After the candle price has pull back, moved inside EMA 7 & 20 line, and closed (ref: "example 1.png"),

6) Draw trendline immediately,

- Trendline joint 1 and joint 2 points must consist of the previous e.g. 2 - 30 candles, that before the pull back candle,

- It may not able to find joint 1 and 2 points sometimes, then dont draw trendline (ref: "example 2.png"),

- If cannot draw trendline, restart condition checking from 1) again,

7) Wait until new candle price breaks BELOW trendline, and closed,

8) Place buy stop order immediately at closed candle price + XXX pips (ref: "Entry Buffer Pips (for the buy/sell)" at Inputs).

 

Conclusion:

==========

It should determine condition 1 - 5 first, then only proceed to draw the trendline (condition 6), then place buy stop order immediately (condition 7 - 8).

 

 

INPUTS PARAMETERS

 

                                                                           === DAILY CANDLE ===

Enable Daily Candle                                       true/false

Positive Green                                                 To Buy (this is not input, just explanation)

Negative Red                                                  To Sell (this is not input, just explanation)

 

                                                                           === RSI ===

Enable RSI filter                                              true/false

RSI Period                                                        8

RSI Value to buy                                             70

RSI Value to sell                                              30

 

                                                                           === MFI ===

Enable MFI Filter                                            true/false

MFI Period                                                       15

MFI Value to buy                                            70

MFI Value to sell                                            30

 

                                                                           === EMA ===

Enable MA Filter                                            true/false

MA1 Period                                                     7

MA2 Period                                                     20

MA Method                                                     EMA

MA Apply To                                                   Close

 

                                                                           === MONEY MANAGEMENT ===

Money Management Model                       Risk / Fixed Lot

Risk Percent                                                    1

Fixed Lot Size                                                  0.01

SL in Pips                                                          30 (if SL risk = 1%, 30 pips = 1%)

TP in Pips                                                          30 (if SL risk = 1% = 30 pips, TP 30 pips = 1%)

Entry Buffer Pips (For Stop Orders)           5

 

                                                                           === TRAILING STOP ===

Use Trailing Stop                                            true / false

Trailing Stop Trigger in Pips                         15

Move to Breakeven + XX Pips                     5

Trailing Stepping in Pips                               3

 

                                                                           === GENERAL ===           

Hour Start                                                        00:00:00

Hour End                                                          23:59:59

Pending Order Expiry Minutes                    600

Magic Number                                                23382338

Comment                                                         TMT

 

                                                                           === TRENDLINE ===

Draw Trendline                                                                             true/false

Max Candles to Search for Trendline Joint Points                              50

Min Trendline Slope                                                                    20 (to open pending orders)

Max Trendline Slope                                                                   60

Min Trendline Candle Joint Point #2 Distance from Pull Back Candle          2

Min Candle distance for Trendline Joint Point #1 & #2                                    5

Trendline Color                                                                            XXX

Trendline Width                                                                           2

                                                                                         

 

 

 

On the Chart:

=============

1) Successful buy order - blue dot color.

2) Successful sell order - red dot color.

3) Closed orders - dot line link from order price to closed price.

4) If stop orders cancelled (by either new conditions met cancellation, or specific time expiry), leave a short red horizontal line on chart to indicate there was an cancelled order.

 

 

Other Conditions:

===============

1)     Only 1 buy/sell stop order for each pair & chart. If new conditions met, cancel previous order, and place new order.


Files:

PNG
example_1.png
169.1 Kb
PNG
example_2.png
146.1 Kb

Responded

1
Developer 1
Rating
(258)
Projects
395
28%
Arbitration
69
19% / 49%
Overdue
120
30%
Free
2
Developer 2
Rating
(169)
Projects
204
30%
Arbitration
25
40% / 44%
Overdue
12
6%
Free
3
Developer 3
Rating
(1853)
Projects
3455
88%
Arbitration
73
40% / 15%
Overdue
265
8%
Free
4
Developer 4
Rating
(26)
Projects
34
26%
Arbitration
7
14% / 43%
Overdue
7
21%
Free
5
Developer 5
Rating
(253)
Projects
407
38%
Arbitration
85
42% / 19%
Overdue
70
17%
Loaded
Similar orders
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
so basically I have an EA(mql5), AI script(python), flask server and socket server both on python. Now this is an experimental script as I am trying to learn. However the EA is not entering any trades. How much would it cost for you to troubleshoot this for me? Thank you in advance
NEW FUNCTION 50+ USD
La idea es la siguiente, sería un EA semi automático. Yo como trader opero en zonas. En adelante las vamos a denominar ``zonas calientes´´. El EA debe que necesito debe operar conforme a 4 zonas calientes que yo configure en el mismo. ¿Qué hará el EA en cada una de esas zonas calientes que yo he configurado? En cada una de estas zonas el EA debe realizar hedging (crear un rango en el cual el EA entrara en sell o en

Project information

Budget
30 - 120 USD
For the developer
27 - 108 USD
Deadline
from 3 to 5 day(s)