MT5 Simple EA using PZ Day Trading Indicator

MQL5 Esperti

Specifiche

Additional Note: The indicator is tied to my MQL5 account, I can't share the file. To conduct testing you can put a lock on your file or whatever method is convenient for you.

UPDATED: 

Included spread filter
Included trade expiry after x days (if too difficult to implement or won't work with backtesting/optimization, can ignore this)

Hi :) I want to have a simple EA developed using signals from the PZ day trading MT5 indicator.

The EA should not read from the chart objects, we will be calculating SL and TPs ourself so the strategy can be optimised. This spec looks long but it's not a complex strategy.

Indicator path="MQL5\Indicators\Market\PZ Day Trading MT5.ex5"

The signal buffers are available below:
int start()
{
  // Read signal from the signal buffer
  double signal  = iCustom(Symbol(), Period(), "PZ_DayTrading", 4, 1);

  // Place orders or do nothing
  if(signal == OP_BUY) { /* Your code for buy signal */ }
  if(signal == OP_SELL) { /* Your code for sell signal */ }
  if(signal == EMPTY_VALUE) { /* Your code for no signal */ }
}

The indicator's settings and values are below:

St_Ex = "=====INDICATOR SETTINGS====="
Range = 12
Filter = 2.5
Max History Bars = 5000
DS_Settings = "=====DASHBOARD AND STATS====="
Dashboard = false
Statistics = false
Bullish Color = SkyBlue
Bearish Color = LightPink
Positive Label = Blue
Negative Label = Red
Se_Ex3 = "=====PRICE BOXES====="
Display boxes = true
Bullish boxes = DeepSkyBlue
Bearish boxes = Tomato
Fill boxes = false
Boxes width = 5
Se_Ex4 = "=====ANALYSIS OPTIONS====="
Trade Analysis = false
MFE Color = Purple
MFE Label = Blue
MAE Color = Red
MAE Label = Red
Font Size = 7
Alerts_ex = "=====ALERTS====="
Custom name for alerts = "My Alert"
Display alerts = false
Send email alerts = false
Send push alerts = false
Sound alerts = false
Sound file = alert.wav


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

The EA should have the additional setings at the top of the settings list:

Lot size (default 0.01)
Countback Bars (default 15)
Include signal bar (default false)
Price calculation mode (high/low price or close price)

Trade mode 1-9 dropdown (enum). The number is how many positions will be opened. Each additional position will have a higher take profit fibonacci level, from 1.618, 2, 2.272, 2.618, 3, 3.414, 3.618, 4, 4.236

SL mode 1-4 dropdown (enum), these equate to -0.236, -0.45, -0.618 and -0.786 fibonacci levels respectively 

TPs broken dropdown (1-9) how many TPs have been invalidated by signal bar spike to cancel signal

Trailing stop after every x pips (default 0 = off)
Trailing stop amount (default 0 pips)

Spread filter (default 0) if spread is larger than or equal to this number at signal, don't open trade

Trade expiry after days (default 0) close positions that have been open for this many days (or will be if weekends are included) example: trade expiry days = 5 then trades opened on tuesday will close on friday because 5 days is including weekend. Ideally it should be closed as late as possible before the day turns over like 10-20 mins before (if too difficult to implement or won't work with backtesting/optimization, can ignore this)
=============================================================

The fibonacci levels are calculated by counting back the number of bars according to the countback bars setting (including or not including signal bar according to setting), and finding the highest and lowest price according to the calculation mode setting.

An example of a trade execution is on mode 5, a signal would open 5 orders in the signal direction at the given lot size, the SL would be set to the SL fib setting, trade 1 would have a tp of 1.618, trade 2 tp of 2, trade 3 tp of 2.272 etc etc.

There can be a situation where the signal bar can spike, and that would invalidate some of the calculated TP points before the trade is even opened. The TP levels broken setting will be used to check, before a trade is executed, if the signal bar already invalidates that many or more TP points. If it is more than or equal to the setting number, don't open the trade, as it would be determined to be too risky. 

Finally, trailing stop is simple. If enabled, after every set amount of pips of profit, the trailing stop will move up by the set amount.

Con risposta

1
Sviluppatore 1
Valutazioni
(386)
Progetti
410
30%
Arbitraggio
66
20% / 70%
In ritardo
52
13%
In elaborazione
2
Sviluppatore 2
Valutazioni
(7)
Progetti
12
42%
Arbitraggio
1
0% / 100%
In ritardo
2
17%
Gratuito
3
Sviluppatore 3
Valutazioni
(51)
Progetti
74
20%
Arbitraggio
12
17% / 25%
In ritardo
6
8%
In elaborazione
4
Sviluppatore 4
Valutazioni
(101)
Progetti
122
30%
Arbitraggio
5
40% / 20%
In ritardo
5
4%
In elaborazione
5
Sviluppatore 5
Valutazioni
(77)
Progetti
233
73%
Arbitraggio
6
100% / 0%
In ritardo
1
0%
Gratuito
6
Sviluppatore 6
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
7
Sviluppatore 7
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
8
Sviluppatore 8
Valutazioni
(189)
Progetti
235
34%
Arbitraggio
8
63% / 38%
In ritardo
6
3%
In elaborazione
Pubblicati: 1 articolo, 8 codici
9
Sviluppatore 9
Valutazioni
(2)
Progetti
5
20%
Arbitraggio
0
In ritardo
1
20%
Gratuito
Pubblicati: 3 codici
10
Sviluppatore 10
Valutazioni
(4)
Progetti
6
33%
Arbitraggio
4
25% / 25%
In ritardo
1
17%
Gratuito
11
Sviluppatore 11
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(466)
Progetti
915
76%
Arbitraggio
25
16% / 68%
In ritardo
99
11%
Caricato
Pubblicati: 1 articolo, 6 codici
13
Sviluppatore 13
Valutazioni
(238)
Progetti
244
31%
Arbitraggio
0
In ritardo
3
1%
Gratuito
Pubblicati: 2 codici
14
Sviluppatore 14
Valutazioni
(5)
Progetti
4
25%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
15
Sviluppatore 15
Valutazioni
(14)
Progetti
15
40%
Arbitraggio
1
100% / 0%
In ritardo
1
7%
Gratuito
16
Sviluppatore 16
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
17
Sviluppatore 17
Valutazioni
(22)
Progetti
29
41%
Arbitraggio
2
50% / 50%
In ritardo
2
7%
Gratuito
18
Sviluppatore 18
Valutazioni
(138)
Progetti
196
67%
Arbitraggio
7
29% / 43%
In ritardo
21
11%
In elaborazione
19
Sviluppatore 19
Valutazioni
(270)
Progetti
551
50%
Arbitraggio
56
41% / 36%
In ritardo
227
41%
In elaborazione
Ordini simili
I'm Looking for a trading bot for MooMoo first and think or swim second. I will be using a AVWAP strategy . I will trade SPY and about 5 stocks NOTE: Do not bid unless you can handle this project with 100% accuracy and precision
Yaqubjnadr 40+ USD
In currency trading, every tick tells a story of risk and reward. Strategies unfold across charts, balancing patience with precision. Markets breathe unpredictability, yet discipline builds confidence. Success grows where knowledge meets courage, turning volatile waves into pathways of consistent financial opportunity."
MAKE THE MODIFICATION IN THE EXPERTS' FILES: EA_MT4, EA_MT5 Add more of this in (Function to print info) Trade Mode: Demo Name: Artem Server: MetaQuotes-Demo Currency: USD Company: MetaQuotes Software Corp. Limit Orders: 0 Lot Size Limits: (0.00)-(000.0) StopOut Mode: Percent Trade Allowed: Yes Trade Expert: Yes Margin Mode: Retail hedging Hedge Allowed: Yes Commission: 0.00 USD Swap: 0.00 USD Taxes: 0.00 USD Margin
Ronaldo Souza 30+ USD
Um EA scaper que opere EurUsd Gold que peguei operações curtas, porém tenha um gerenciamento de risco. Que possa ser gerenciado em dólar e não pips. Assim fica mais fácil modificar os valores rápido
Lavie 100+ USD
i order the robot for better analysis of forex trading an d for med when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is below the
Hi developer This project should be delivered in MQL 4 and in MQL 5 and Trading view The analysis is a detailed view of what i want The project is delayed for execution till 05/10/2025
It is a MT5 Breakout EA. Developed by another developer but even the simple breakout logic does not work properly based on wick or candle close. I need someone to check the errors and fix the functionalities of the EA to see if all works properly. Functions include: Grid, EMA confirmation, Candle confirmation, SL (3modes), TP, trailing & breakeven, etc. EA technical plan, source file and graphic how the EA should
looking for programer to convert from pine to ex4 indicator and code it on my ea Moneypal indicator name is Multy tf fvg available created by Zeiierman in Tradingview. Thank you ! Regards
I want an automated trading bot, and before i will purchase here's want i want as a proof. Trading proof: Screenshots or verified logs showing real trading history, including entry and exit points, profit/loss, and trading duration. Chart evidence: Visual charts demonstrating the bot’s trading activity, backtests, or live trading performance. Additional details: Please include any relevant performance metrics
Trade One A well-structured multi-timeframe liquidity sweep strategy that starts from the higher timeframes and narrows down to precise entries on the 5-minute chart. This approach focuses on identifying where the market is likely to grab liquidity before making a strong move, ensuring tight stop losses and high reward-to-risk ratios. Liquidity Sweep Forex Strategy (Daily → H4 → H1 → M30→ M15 → M5) 1. Higher

Informazioni sul progetto

Budget
30+ USD

Cliente

(6)
Ordini effettuati7
Numero di arbitraggi0