Specification
Project: XAUUSD_IND_PFA_NEW.mq5 – final structural upgrades
Goal: No rewrite. Just small, precise edits to the existing indicator.
1. Live recalculation (no prev_calculated)
- Current logic in OnCalculate uses prev_calculated.
- Change to recalc last 500 bars every tick.
- Concept:
start = MathMax(SwingLeft + SwingRight + 2, rates_total - 500);
- Loop stays:
for (int i = start; i < rates_total - SwingRight - 1; i++)
2. Trend must follow zones (remove MA logic)
- Remove MA handles and CopyBuffer logic.
- Replace UpdateTrend(int i) with:
If LastZoneType == 1 → TrendState = 1;
If LastZoneType == -1 → TrendState = -1;
If no active zone → TrendState = 0;
- TREND label drawing stays unchanged.
3. Zones must use last opposite candle before BOS
Replace current 0.5-range logic with candle-based logic:
BOS UP → BUY zone:
- Find last bearish candle before BOS (close[b] < open[b]).
- Zone:
LastZoneHigh = candle open or high
LastZoneLow = candle low
- LastZoneType = 1
BOS DOWN → SELL zone:
- Find last bullish candle before BOS (close[b] > open[b]).
- Zone:
LastZoneLow = candle open or low
LastZoneHigh = candle high
- LastZoneType = -1
Keep:
ZoneHighBuf[i] = LastZoneHigh;
ZoneLowBuf[i] = LastZoneLow;
4. Keep all visuals exactly as they are
- BUY zone = clrLavender
- SELL zone = clrGold
- All labels (BUP, BDN, SUP, SDN, confirmations) unchanged.
5. No new features
- Do not change swing logic, BOS logic, sweep logic, confirmation logic, or TREND label text.
Responded
1
Rating
Projects
984
47%
Arbitration
33
36%
/
36%
Overdue
97
10%
Working
Published: 6 codes
2
Rating
Projects
639
33%
Arbitration
41
41%
/
46%
Overdue
11
2%
Loaded
3
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
4
Rating
Projects
7
57%
Arbitration
1
0%
/
100%
Overdue
1
14%
Working
5
Rating
Projects
4
0%
Arbitration
1
100%
/
0%
Overdue
1
25%
Working
6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Rating
Projects
23
39%
Arbitration
6
33%
/
50%
Overdue
0
Free
9
Rating
Projects
4
50%
Arbitration
0
Overdue
0
Free
10
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
11
Rating
Projects
552
49%
Arbitration
57
40%
/
37%
Overdue
227
41%
Working
12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
13
Rating
Projects
17
41%
Arbitration
2
0%
/
100%
Overdue
4
24%
Loaded
14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
I need a MetaTrader 5 Expert Advisor (EA) for Forex trading. Account size: $1000 Requirements: 1. The EA should work only on Forex pairs. 2. Automatic Buy and Sell trades. 3. Lot size starting from 0.04. 4. Stop Loss and Take Profit settings. 5. Only one trade at a time. 6. Works on pairs like EURUSD, GBPUSD, USDJPY etc. 7. Risk management suitable for a $1000 account. 8. Easy settings for lot size, SL, TP and risk
Fractal break based indicator
30 - 75 USD
Hi, I need a custom MT5 indicator based on a multi-timeframe fractal break reversal. 1️⃣ The indicator should use two timeframes: Higher Timeframe (HTF) Lower Timeframe (LTF) (Timeframes should be adjustable in inputs, e.g., HTF = H1 and LTF = M5) 2️⃣ Use standard fractals to detect fractal highs and fractal lows. 3️⃣ Primary signal (HTF): When a Lower High fractal is formed and price breaks that Lower High in one
I’ve been following your profile and I'm interested in your expertise with the ATAS API and C# development. I have a clear technical scope for a high-performance M1 indicator focused on Binary Options and Scalping. The core logic is based on institutional Order Flow convergence: Stacked Imbalances: 300% ratio with a minimum of 3 consecutive levels. Delta/Price Divergence: Filtering for market exhaustion (New Highs
can you help me with editing the existing ATR Trailing Stop Indicator to include a logic to include additional script, where my ninZaRenko bars when it closes above OR below the dynamic stop line, I will be out of trade. Please remember, in this Indicator, now when the price touches the stop line, I am stopped out .. . I want to edit the script, in lieu of the price touch, I like to update this logic to when the bar
APARTE DE PASAR EL CÓDIGO A MT5 QUIERO QUE CONTENGA TODOS LOS DATOS NECESARIOS PARA QUE ESTE NUEVO CÓDIGO SE PUEDA USAR EN LA FÁBRICACIÓN DE UN ROBOT, NO SE MUCHO DE ESTO PERO INVESTIGUE QUE DEBE LEER BUFFERS Y OTRAS COSAS
HENGtaykong
30 - 200 USD
Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators: CCI Chaikin RSI Stochastic Oscillator Algorithm and Terms The first stage is the
Simple MT5 Indicator
30+ USD
Hello programmer! I am looking to build an Indicator with your help :) you must speak English so if we have to conference call to work out details WHAT Indicator DOES: Alerts when pullbacks end and trend resumes ARROWS: 🟢 Green = Confirmed Long 🔴 Red = Confirmed Short 🔵 Blue = Add to position ⚫ Black = Better second chance 🟡 Yellow = Early warning (inside bar) ⚪ White = Early warning (pullback) CORE RULE: - Trail
Trading Bot for MT5 with fixed risk management
30 - 150 USD
I need an Expert Advisor for MetaTrader 5 based on SMT and CISD strategy using NASDAQ and S&P500. Strategy logic: - The bot compares NASDAQ and S&P500. - Timeframe: 3 minutes. - First condition: One of the pairs must take liquidity from a previous high or low while the other pair does NOT take that liquidity (SMT divergence). - Second condition: The pair that took liquidity must close back below the high (or above
Pinescript
100+ USD
I’m looking for a Pine Script developer who can reverse engineer the “Swing Only” logic of the Polytrends indicator on TradingView. The goal is to recreate how the swing trends are detected and plotted so it can be used as a custom indicator. If you have experience with TradingView Pine Script and reverse-engineering indicator logic , please reach out
API based indicator
100+ USD
I am looking for a quality coder that know the work to be done, i will only select coder with good feedback review be aware. price is flexible. I am looking to make an indicator based on API info from brokers. you will need to search if possible or not and what not possible be upfront and clear. The indicator design must be very confortable, easily readable, adjusteed based on different screen , compatibility is
Project information
Budget
30 USD
Deadline
from 1 to 2 day(s)
Customer
Placed orders1
Arbitrage count0