- 显示:
- 24
- 已发布:
-
需要基于此代码的EA交易或指标吗?请在自由职业者服务中订购 进入自由职业者服务
QuadArb Monitor is the dashboard I use to watch two correlation groups at once — GBPUSD / EURGBP and AUDUSD / EURAUD — without tab-hopping between charts.
Key features
- Two correlation groups, four legs each: every leg is shown with symbol, side, lot and price in one table, so you always know what your net exposure is.
- Live basis divergence: each group gets a bar that measures the current divergence in pips, with a threshold marker drawn on it. Nothing is hidden behind a submenu.
- Only real edges are flagged: a group stays on WATCH until divergence crosses your threshold, then it flips to OPPORTUNITY. No noise, no false alarms.
- Per-group P/L: each group carries its own running result, so a losing leg cannot hide inside a winning one.
- Step-aware: the panel tracks how many martingale layers a group has taken and stops adding at your maximum step.
- One line per cross in the log: every threshold cross is pushed as a single line per group — no spam, no repaint.

How to use
1. Attach the panel to any chart; it does not depend on the chart symbol.
2. Set the two pairs of each group in the inputs.
3. Set the divergence threshold in pips.
4. Read the bars: below the marker is WATCH, above it is OPPORTUNITY.
5. Optional: enable the step rule and the panel will mirror your reverse / add logic per group.
6. Keep it on a demo account first — always.

Important notes
- This is a monitoring tool first. It reads prices and computes divergence; it does not promise any result.
- The default numbers shown in the screenshots are examples (0.02 lot per leg, +$2.00 reverse, -$5.00 add, max 4 steps). Change them to fit your own risk model.
- Correlation is not constant. A group that looks arbitraged can stay mispriced far longer than your margin allows — that is exactly why the max-step limit exists.
- No trading result is guaranteed in any way.

---
Need a custom tool?
I build Expert Advisors, indicators and chart panels for MT4/MT5.
Free tools are published here; custom work is quoted at a fixed price
with a fixed delivery date.
→ See my profile / send a private message.
Contract Sizer: ladder, floor and a breaker that survives a deposit
三种起作用不同的仓位规模保护机制;正是因为混淆了它们,才导致如此多的账户被清零: - 阶梯式:每X的余额对应一份合约,始终作为上限(CAP)应用,即使手动设定手数也是如此; - 底限(floor):余额低于最低资本要求时停止交易;需进行新的入金; - 断路器(breaker):无论账户规模大小,当余额跌破峰值X%时触发止损,且不会自动重置。 本库解决了一个几乎所有其他库都未解决的问题:入金不等于盈利,提现不等于亏损。 断路器是根据账户余额峰值来衡量跌幅的。如果不加以处理,在回撤期间进行的入金会同时推高余额和峰值,导致保护机制恰恰在最需要发挥作用的时候无法识别跌幅。在此情况下,入金和出金会以相同幅度改变峰值。 峰值会被保存到文件中:如果一个止损机制在终端重启后会忘记峰值,那它就称不上是止损机制。 该演示程序模拟了在回撤谷底进行入金的情况。请分别开启和关闭入金功能运行程序,并比较“跌幅”列的数据。
Position sizing from risk, using the broker's own tick value and volume step
根据风险金额计算仓位规模,该风险金额基于该交易品种的实际点值、点幅和成交量步长计算得出,而非基于假设的点值。该功能始终将成交量向下取整;当您的风险金额小于最小手数时,系统会提示并报告该手数实际所需的成本。 该程序不依赖交易终端状态,因此其仓位计算逻辑可离线测试——附带一个包含41个断言的测试脚本。
一键交易管理器——基于风险的手数设置,一键完成入场、止损和止盈
根据您的风险比例和止损距离计算出交易手数,然后在已设置止损和止盈的情况下开仓。绝不会自行进行交易。
RegimeRouter — 基于每种策略胜率记录的趋势/区间分类器
利用ADX、赫斯特指数和滞后1的自相关系数对市场进行分类,将每个K线分流至突破模块或均值回归模块,并针对每个市场状态分别维护一个胜率记录表(采用威尔逊95%下限),以便您能清楚地看到其中哪一半策略真正有效。