MT5 Simple EA using PZ Day Trading Indicator

MQL5 Experts

Spécifications

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.

Répondu

1
Développeur 1
Évaluation
(386)
Projets
410
30%
Arbitrage
66
20% / 70%
En retard
52
13%
Travail
2
Développeur 2
Évaluation
(7)
Projets
12
42%
Arbitrage
1
0% / 100%
En retard
2
17%
Gratuit
3
Développeur 3
Évaluation
(51)
Projets
74
20%
Arbitrage
12
17% / 25%
En retard
6
8%
Travail
4
Développeur 4
Évaluation
(101)
Projets
122
30%
Arbitrage
5
40% / 20%
En retard
5
4%
Travail
5
Développeur 5
Évaluation
(77)
Projets
233
73%
Arbitrage
6
100% / 0%
En retard
1
0%
Gratuit
6
Développeur 6
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
7
Développeur 7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
(189)
Projets
235
34%
Arbitrage
8
63% / 38%
En retard
6
3%
Travail
Publié : 1 article, 8 codes
9
Développeur 9
Évaluation
(2)
Projets
5
20%
Arbitrage
0
En retard
1
20%
Gratuit
Publié : 3 codes
10
Développeur 10
Évaluation
(4)
Projets
6
33%
Arbitrage
4
25% / 25%
En retard
1
17%
Gratuit
11
Développeur 11
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(466)
Projets
915
76%
Arbitrage
25
16% / 68%
En retard
99
11%
Chargé
Publié : 1 article, 6 codes
13
Développeur 13
Évaluation
(238)
Projets
244
31%
Arbitrage
0
En retard
3
1%
Gratuit
Publié : 2 codes
14
Développeur 14
Évaluation
(5)
Projets
4
25%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
15
Développeur 15
Évaluation
(14)
Projets
15
40%
Arbitrage
1
100% / 0%
En retard
1
7%
Gratuit
16
Développeur 16
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
17
Développeur 17
Évaluation
(22)
Projets
29
41%
Arbitrage
2
50% / 50%
En retard
2
7%
Gratuit
18
Développeur 18
Évaluation
(138)
Projets
196
67%
Arbitrage
7
29% / 43%
En retard
21
11%
Travail
19
Développeur 19
Évaluation
(270)
Projets
551
50%
Arbitrage
56
41% / 36%
En retard
227
41%
Travail
Commandes similaires
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

Informations sur le projet

Budget
30+ USD

Client

(6)
Commandes passées7
Nombre d'arbitrages0