Specification
This indicator detects ABCD structure-based trading setups using a custom pullback and breakout logic, as discussed below. It works for both bullish and bearish scenarios (mirror logic), with user control over direction selection on the chart.
───────────────
🔹 1. Pullback Logic:
- Pullback is confirmed only after at least 2 red candles (in bullish case) have formed.
- The body of one of these red candles must close below the wick of the last bullish green candle (the one that made the last swing high).
- It doesn’t matter if the red candles are continuous or appear after gaps with green candles in between — what matters is that:
→ There are minimum 2 red candles.
→ The 2nd red candle must close below the 1st red candle (not be a baby candle).
- If a red candle immediately after green closes below the wick, still wait for the second red candle to confirm the structure.
───────────────
🔹 2. Point A Logic:
- After the pullback condition is satisfied, the next green candle is *assumed* as Point A.
- This A point can update dynamically if higher green candles form.
- Once 2 valid red candles form after A, no further A reassignment is done.
───────────────
🔹 3. Point B Logic:
- This is the lowest wick formed between Point A and the candle that confirms Point C.
- Only after Point C is confirmed, B becomes fixed.
───────────────
🔹 4. Point C Logic (Breakout Confirmation):
- A bullish breakout is confirmed only when a candle body closes above the wick high of assumed Point A.
- As soon as this close happens, A, B, and C become fixed.
- Wick breakout is NOT sufficient — body close required.
───────────────
🔹 5. Point D Logic (Entry Trigger):
- After Point C is confirmed, the system waits for any candle (body or wick) to touch Point C's price level.
- If this happens, the setup is marked as ✅ triggered and the box turns GREEN.
- If no candle touches C and price keeps going away, setup remains untriggered (YELLOW).
───────────────
🔹 6. Invalidation Logic:
- If, after assuming Point A but before confirming Point C, any candle breaks below the leg of Point A (lowest point of pullback) — the setup is INVALID.
- Invalidation causes that entire box to be marked RED (if enabled) or removed (based on settings).
- After invalidation, a new structure search begins from the next candle.
───────────────
🔹 7. Visual Display:
- Each valid setup will be drawn as a shaded box on the chart:
→ Yellow box: Pattern formed but Point D not yet triggered.
→ Green box: Point D triggered (entry valid).
→ Red box: Setup invalidated.
- Each Point (A, B, C, D) will be labeled optionally.
- A separate smaller box will mark the Pullback zone (2+ red candles).
- All box styles, label visibility, and colors should be user-editable.
- Boxes should have a thin outline that covers the candles included in the setup.
───────────────
🔹 8. Settings & Inputs:
- Enable Bullish or Bearish pattern (drop-down or checkbox)
- Max candles to scan in history (date-based or candle-based)
- Show triggered boxes: Yes/No
- Show untriggered boxes: Yes/No
- Show invalidated (red) boxes: Yes/No
- Show pullback boxes: Yes/No
- Label Points A/B/C/D: Yes/No
- Color and Style customization for all elements
───────────────
🔹 9. Box Numbering and EA Integration:
- Each box should have an auto-generated unique number shown on chart.
- Only the currently active (most recent valid) box will remain active for EA.
- When a new valid box forms, the previous active one is deactivated.
- This allows EA to target the current live setup only.
- The indicator should be designed with EA-compatibility in mind.
- Entry can be semi-automated (manual click on the box), or fully automated when D is touched — developer will decide based on EA requirements.
───────────────
🔹 10. Additional Optional Features:
- Box expiry feature: option to auto-expire a box if D is not triggered within X candles.
- Stats Panel (optional): show total boxes, triggered, invalidated, etc. on chart.
───────────────
🔹 11. Bearish Setup (Mirror Logic):
- All above logic applies in reverse for bearish patterns.
- Pullback = 2 green candles; breakout = red close below wick of assumed bearish Point A.
- User can select from settings whether to activate bullish or bearish side.
This description covers almost all visual logic, confirmation structure, invalidation rules, and inputs necessary to build a complete indicator for both real-time trading and historical backtesting. Please follow each logic point exactly as outlined.
Smart ABCD Structure Detector (Pullback Logic + Bullish/Bearish + EA-
Keywords / Tags:
MQL5, MT5, MetaTrader 5, custom indicator, ABCD pattern, pullback logic, bullish bearish, semi-automated EA, trading bot ready, visual entry box, backtesting support, price action strategy, candle structure indicator, EA integration, zone trigger indicator, Forex algorithmic, indicator + EA synchronization
Responded
1
Rating
Projects
554
35%
Arbitration
78
32%
/
42%
Overdue
200
36%
Loaded
2
Rating
Projects
3
0%
Arbitration
6
17%
/
67%
Overdue
0
Free
3
Rating
Projects
596
35%
Arbitration
64
20%
/
58%
Overdue
147
25%
Working
Published: 1 article, 22 codes
4
Rating
Projects
89
43%
Arbitration
4
0%
/
100%
Overdue
3
3%
Working
5
Rating
Projects
228
80%
Arbitration
22
27%
/
50%
Overdue
11
5%
Free
Published: 24 articles, 1882 codes
6
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
7
Rating
Projects
35
23%
Arbitration
4
0%
/
50%
Overdue
2
6%
Working
8
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
9
Rating
Projects
12
8%
Arbitration
3
33%
/
67%
Overdue
1
8%
Working
10
Rating
Projects
6
33%
Arbitration
7
14%
/
57%
Overdue
1
17%
Free
11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Rating
Projects
474
39%
Arbitration
103
41%
/
23%
Overdue
79
17%
Busy
Published: 2 codes
13
Rating
Projects
552
49%
Arbitration
57
40%
/
37%
Overdue
227
41%
Working
14
Rating
Projects
243
74%
Arbitration
7
100%
/
0%
Overdue
1
0%
Free
Published: 1 article
15
Rating
Projects
44
25%
Arbitration
13
8%
/
69%
Overdue
1
2%
Busy
16
Rating
Projects
499
67%
Arbitration
5
40%
/
0%
Overdue
4
1%
Free
Published: 8 codes
17
Rating
Projects
30
13%
Arbitration
12
0%
/
75%
Overdue
8
27%
Free
18
Rating
Projects
6
67%
Arbitration
1
0%
/
100%
Overdue
1
17%
Free
Similar orders
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
Job Description We are looking for an experienced MQL5 developer to build a professional Expert Advisor (EA) for MetaTrader 5 based on a detailed quantitative trading model. The EA will trade XAUUSD (Gold) on the M5 timeframe using a Session Breakout + Fibonacci Retracement strategy with advanced institutional-level filters. The system includes volatility filters, liquidity sweep detection, London session
2 FX pairs M15 execution with higher timeframe bias Session-based trading (UK time) Fixed % risk per trade Controlled pyramiding (add to winners only) Strict daily loss limits (FTMO-style) Proper order handling (SL always set) Basic logging (CSV) Strategy logic will be provided in detail after NDA / agreement. Must deliver: Source code (.mq5) Compiled file (.ex5) Clean, well-commented code Short support window for
Tradingview indicator
30+ USD
Hi, are you able to create a script/indicator on tradingview that displays a chart screener and it allows me to input multiple tickers on the rows. then the colums with be like "premarket high, premarket low, previous day high, previous day low" . When each or both of the levels break, there will pop up a circle on the chart screener, signaling to me what names are above both PM high and previous day high or maybe
DO NOT RESPOND TO WORK WITH ANY AI. ( I CAN ALSO DO THAT ) NEED REAL DEVELOPING SKILL Hedge Add-On Rules for Existing EA Core Idea SL becomes hypothetical (virtual) for the initial basket and for the hedge basket . When price hits the virtual SL level , EA does not close the losing trades. Instead, EA opens one hedge basket in the opposite direction. Original basket direction Hedge basket direction (opposite) Inputs
Hello, I have a breakout EA with reversal logic. I own the full source code for both MT4 and MT5 versions. I need the modifications implemented for both MT4 and MT5 versions. I need several modifications: – Multiple reversals with configurable parameters – Breakeven functionality – Entry only after candle close beyond range + offset – Time-based activation – Alternative offset calculation logic – Automatic close at
Hi I have a simple task (hopefully) I have a custom strategy that I built with the help of Claude Anthropic - everything is finished and I zipped it with power shell but when importing it NT8 gives me the error message that the file was made from an older, incompatible version or not a NinjaScript. My folder structure is correct as far I can see so I don't know what the issues is and it's costing me too much to go
Ninjatrader strategy for mnq
30+ USD
Do you happen to have a profitable strategy for MNQ? it is urgent if any one can help me with this i will be happy to discuss with you and move forward to pay for it kindly let me know the amount thank fill free to bid
Subject: Development of Ultra-High Precision Confluence Indicator - M1 Binary Options (Non-Repaint) Hello, I am looking for a Senior MQL5 Developer to create a custom "Surgical Precision" indicator for MetaTrader 5, specifically optimized for 1-minute (M1) Binary Options trading. The system must integrate three distinct layers of algorithmic analysis. 1. Core Logic: Triple-Layer Confluence The signal (Call/Put)
Project information
Budget
30+ USD