Invalidation Line EA

SHORT DESCRIPTION
Hide your stop loss on the chart. The EA closes only after confirmed candle closes, not wicks.

FULL DESCRIPTION
Have you ever widened your stop to give a trade more room, only to be stopped out and watch price reverse? Most traders have. Widening a stop makes your risk-reward worse, and a stop that sits at an obvious level is easy to wick through.

Invalidation Line EA takes a different approach. Instead of a hard stop at the level, you draw a line where your trade idea is invalid. The EA watches that line and exits only when the breach is confirmed by candle closes, a time delay, or both. A quick wick through the line does not take you out.

HOW IT WORKS
1. Draw a horizontal line or trend line on the chart.
2. Name it with the prefix INV_ and add tokens to set the rules. Example: INV_Trend_H2_3_TIME6
   - H2 = confirm on H2 candles
   - 3 = three consecutive closes beyond the line
   - TIME6 = the breach must also last 6 hours
3. The EA monitors the line. If the confirmation rules are met, it closes the position. If price returns first, the breach resets.

KEY FEATURES
- Confirmation by candle closes, by time, or both, set separately for every line
- Supported timeframes: M1 to monthly (M1, M5, M15, M20, M30, H1, H2, H4, H6, H8, H12, D1, W1, MN)
- Works with horizontal lines and sloping trend lines
- Optional ATR buffer zone to filter out noise
- Direction filter per line (BUY or SELL tokens)
- Optional on-touch actions: INSTANT full close, move to breakeven (BE), or partial close (PARTIAL)
- Multi-chart mode: one EA instance can watch lines on all open charts
- Optional session filter
- Alerts: pop-up and push notification
- On-chart dashboard showing every line, its settings and its state
- Color-coded lines: watching, confirming, closed, offline, trading disabled
- Drag a line and its breach state resets automatically
- Breach progress is saved, so a terminal restart does not lose it. If price crossed the line while MT5 was closed, the EA reconstructs the breach from price history when it reopens
- Rename-aware: renaming a line keeps its age and progress when its confirmation rules are unchanged
- Retries a failed close with an alternative order filling mode
- Optional alert if price returns after a position is closed

IMPORTANT TO KNOW
- This EA manages exits only. It does not open trades and it does not predict price.
- The line is not a server-side stop. The EA must be running, connected and allowed to trade for it to act. If your PC, VPS or internet connection goes down, or AutoTrading is turned off, nothing is protecting the position. Many traders keep a wide emergency stop at the broker as a backup.
- Waiting for confirmation means the exit can happen at a worse price than the line, and in a fast move the loss can be larger than a hard stop would have allowed. Confirmation trades a smaller chance of being wicked out for a larger loss when a breach is real. Choose the settings with your own risk in mind.
- It acts on the open positions of the chart symbol. With no direction token, a line applies to any open position on that symbol.
- Results depend on your lines, your settings and the market. Nothing here is a profit promise or a guarantee of fewer stop-outs.

SETTINGS (all act as defaults for lines that have no tokens in their name)
- Confirmation: use candle closes, timeframe, number of closes, use time, hours to wait
- On-touch action, breakeven fallback, partial close percentage
- ATR buffer: on/off, timeframe, multiplier, period
- Session filter: on/off, start and end time (server time)
- Downtime recovery: late on-touch action if a line was touched while MT5 was closed
- Re-entry alert, pop-up and push alerts
- Dashboard: show/hide, corner, sort order

- Multi-chart mode


TOKEN NOTES (USAGE)

//|  NAME SYNTAX:                                                    |

//|    INV_[label]_[tokens...]                                       |

//|                                                                  |

//|  TOKENS (order-independent, case-insensitive):                   |

//|    INSTANT          → Full close on touch, no confirmation       |

//|    BE               → Move to Breakeven on touch                 |

//|    PARTIAL          → Partial close on touch                     |

//|    BUY              → Only watches BUY positions                 |

//|    SELL             → Only watches SELL positions                |

//|    M1/M5/M15/M20/M30 → UsePeriod=true, ConfirmPeriod=that TF     |

//|    H1/H2/H3/H4/H6/H8/H12 → UsePeriod=true, ConfirmPeriod=that TF |

//|    D1/W1/MN         → UsePeriod=true, ConfirmPeriod=that TF     |

//|    [1-9]            → RequiredCloses=that number                 |

//|    TIME[n]          → UseTime=true, WaitHours=n                  |

//|                                                                  |

//|  EXAMPLES:                                                       |

//|    INV_Soft_H4_2        wait 2xH4 closes (global touch action)  |

//|    INV_Hard_INSTANT     full close immediately on touch          |

//|    INV_Trend_H1_TIME4   1xH1 close AND 4h sustained breach      |

//|    INV_Entry_BE_D1      move to BE on touch, wait D1 confirm     |

//|    INV_Structure        uses all global EA input defaults        |

//|                                                                  |

//|  Prefix: INV_ or inv_                                            |

//|  Single-chart or multi-chart mode                                |

//|  Naming conflicts resolved via ChartID::ObjectName key           |

//|                                                                  |

//|  LINE STYLES:                                                    |

//|    WATCHING          : DodgerBlue, dashed                        |

//|    CONFIRMING        : Orange, dash-dot                          |

//|    CLOSED            : Red, solid                                |

//|    OFFLINE (EA gone) : Gray, dotted                              |

//|    TRADING DISABLED  : Yellow, dash-dot-dot                      |

//+------------------------------------------------------------------+


RECOMMENDATIONS
- Works on any symbol and any timeframe you can draw a line on.
- Run it on a VPS so it stays connected.
- Test on a demo account first and watch how the dashboard moves through WATCHING and CONFIRMING.
- Pick the confirmation timeframe from the structure you trade, for example H2 or H4 closes for swing trades.

Author: Ebuka Obiakor is an AI Product Manager and Business Analyst based in Calgary, Alberta, Canada. He holds an MBA, A-CSPO, and CBAP certifications. He is an independent retail trader with handson experience in MQL5 indicator and EA development.

作者的更多信息
True Move AD
Ebuka Francis Obiakor
True Move A/D 资金流层面的解读。一条线。三个组合信号。 标准 Chaikin 累积/派发线只使用一个因素 —— 收盘价位于K线波幅内的位置。True Move A/D 使用三个因素,并按其实际可靠性加权。 复合公式: K = 0.10 × 价格流 + 0.10 × 中点偏差 + 0.70 × 收盘-收盘方向 将 70% 的权重赋予收盘-收盘动量是经过深思熟虑的。一根K线收盘价相对于开盘价的位置,是跨K线最真实方向性承诺的最一致信号。两个K线内部成分增添细节,而不会淹没主要信号。 所有数据均按前一根K线的加权平均价进行标准化 —— 使该指标跨品种、跨时间框架保持一致,防止大波幅K线仅凭规模就主导结果。 与现有 A/D 指标的区别: 标准 Chaikin A/D 完全忽略收盘-收盘关系 OBV 仅使用方向,无幅度 PVT 使用百分比变化,但无K线内部位置 True Move A/D 将三者结合为单一原则性复合指标 背离是主要信号。当 True Move A/D 上升而价格横盘或下跌时,真实的买方压力正在积聚。当该线走平而价格创出新高时,信念正在图表确认之前消退。 与
FREE
Close Open AD
Ebuka Francis Obiakor
Close-Open A/D (CO A/D): A Cumulative Volume-Efficiency Line for Accumulation/Distribution Analysis CO A/D is a cumulative Accumulation/Distribution-style indicator built around a simple question On-Balance Volume and Chaikin A/D don't directly ask: how efficiently did each bar convert its own volume into open-to-close travel? Formula CO_raw = (Close − Open) / (High − Low) Volume = Log(TickVolume + 1) [or raw volume — selectable] CO A/D = Previous CO A/D + (CO_raw × Volume) Where OBV assigns ful
FREE
Directional Impulse
Ebuka Francis Obiakor
Directional Impulse 一个公式。每根K线。瞬间可读。 大多数指标告诉你价格在哪里或移动速度有多快。Directional Impulse 告诉你的是另一回事:这根K线谁赢了,赢了多少。 基于原创公式 — X = (2C − H − L) × (H − L) 与 X = (C − O) × (H − L) — 它将方向性偏差乘以K线的完整波幅,而不是像该谱系中所有先前指标那样将其归一化消除。结果是每根K线的有符号能量度量,同时捕捉了信念与波动性。有符号平方根变换将输出缩放到线性价格单位,使K线的完整分布变得可读,而非被一两个异常走势主导。 Combo 版本同时绘制两层: 中点锚定(宽柱)—— 当内部压力转变时最先翻转。最先发现看涨或看跌K线内部正在形成的拉锯。 开盘锚定(窄柱)—— 仅当K线实体反转时才翻转。确认完全接管。 共识模式 —— 将两个锚定叠加为单柱,在一致时放大,在 contested K线时压缩至接近零。 你以前看不到、现在能看到的: 一根带有长上影线的看涨K线显示为看跌 —— 因为卖方在收盘前将价格推回至波幅中点下方 衰减的脉冲柱(同方向、缩小尺寸
FREE
**你需要这个工具。** 你亏损不是因为不懂交易,而是因为没有风控护栏在交易。这个工具能解决这个问题。 无论你是新手还是专业交易员,这都是你保护、管理和壮大交易账户所需的唯一工具。 **部分核心功能包括:** **净值保护** – 达到最大回撤时停止交易   ️ **保证金保护** – 防止过度暴露   **杠杆控制** – 限制有效杠杆   **时间过滤** – 仅在设定时段内交易   **智能仓位管理** – 按风险百分比或固定金额   **ATR 间距** – 避免过度交易   **趋势过滤** – 顺势交易   **移动止损** – 锁定利润   **自动操作** – 阻止、平仓或清理订单   **实时仪表盘** – 全面掌握账户状况   **这是你当初开始交易前就希望拥有的工具。** --- **使用指南如下:** **第 1 步:挂上 EA**   将 EA 添加到任意图表   适用于:   - 外汇   - 加密货币   - 股指   - 大宗商品   **第 2 步:设置你的风控规则(重要)**  
BRIEF DESCRIPTION On-chart panel showing SL, TP, risk and RR for every position, with optional break-even and loss caps. FULL DESCRIPTION TradeMonitor puts all of your open positions and pending orders on one clean chart panel, so you can see exactly what you are risking and what you stand to make on every trade, in dollars. It does not open trades. It watches the trades you already have and, if you choose, helps protect them. SEE EVERY POSITION AT A GLANCE - Stop loss risk in account curren
Swap Checker
Ebuka Francis Obiakor
SHORT SUMMARY See the daily and weekly swap for every symbol you trade, Buy and Sell, in your account currency, before you hold a position overnight. ------------------------------------------------------------ DESCRIPTION ------------------------------------------------------------ Swap is easy to ignore when you open a trade and hard to ignore when it adds up. Swap Checker puts the overnight cost of holding, or the credit you earn, for every symbol you trade into one compact table on your c
FREE
Average Entry Price Lines
Ebuka Francis Obiakor
Average Entry Price Lines draws one horizontal line at the volume-weighted average entry price of your open positions, with Buy and Sell calculated separately. When you are scaled into a position across several tickets, that single line tells you where the whole basket actually sits. With one position, the average collapses to that position's own entry, so the line lands exactly on it. What it draws Volume-weighted average entry per direction: avg = SUM(entry x lots) / SUM(lots) Optional project
FREE
筛选:
无评论
回复评论