BeiDou TianShu


### Core Strategy

- **SAR Reversal Signal**: Trades on Parabolic SAR flips (step & maximum adjustable). The flip bar is defined as K0; the first pending order is placed at K1 open.
- **Pending Order Offset**: BUY STOP placed above K0 high, SELL STOP placed below K0 low, with a user-defined offset in points.
- **Fixed SL / TP**: Both measured from the pending price, independently adjustable, attached to every layer.
- **Auto Cancel on Reverse Signal**: If SAR flips against an unfilled pending order, the order is deleted immediately.

### Martingale Money Management

- **Adjustable Multiplier** (default 1.52): Lot size grows as `BaseLot × Multiplier^(Layer-1)`.
- **Max Layers** (default 5, including first order): Trading stops and state resets after reaching the limit.
- **Max Lot Cap**: Global upper bound to prevent runaway exposure; auto-adapts to broker's min/max/step.
- **Auto Next Layer on Stop Loss**: After any SL, the next layer is re-placed at the same price with increased lot size.
- **Take-Profit Stop & Daily Reset**: After any TP, the EA enters a "no-new-entry" state until **00:00 server time the next day**. Existing positions and pendings remain managed. Status and reset time are shown on the panel.

### Trading Modes

- **Auto-Trade Master Switch**: Pause signal generation while keeping all position/pending management active.
- **Auto / Manual Mutual Exclusion**: Only one mode can operate per Martingale round.
- **Manual Panel**: Lot input, price input, direction selector (Long Only / Short Only), Buy Stop / Sell Stop buttons.
- **Direction Control**: Panel direction applies to **both** auto and manual trading simultaneously.

### Visual Control Panel

- Dark-themed, card-based layout at chart top-left; all objects share a unified prefix.
- **Status Display**: Auto-trade state, current direction, Bid/Ask, spread / min distance, Martingale layer, next lot size, EA position & pending counts, floating P/L, TP amount, SL amount, cumulative closed net P/L (incl. commission & swap), TP-stop status.
- **Color Coding**: Profit / TP / cumulative gain in red; loss / SL / cumulative loss in green.
- **One-Click Close-All**: Double confirmation required; closes all EA positions, deletes all EA pendings, resets Martingale state.
- **Button Feedback**: Color states for on/off, direction, and order buttons; disabled buttons turn gray.
- **Error Reporting**: Order failures shown on chart + written to EA log with `[Beidou·Tianshu]` prefix.

### EA Restart Recovery

- **Position Recovery**: On restart, existing EA positions are taken over and original logic continues (next-layer on SL, TP-stop, max-layer reset).
- **Pending Recovery**: On restart, existing EA pendings are scanned. If SAR flipped against the direction during downtime, the pending is deleted; otherwise it is taken over.
- **State Persistence**: Layer, direction, lot, TP-stop timestamp are saved to global variables and restored automatically.

### Parameters & System

- **Chinese Parameter Sections**: Grouped as Indicator / Martingale / Pending / System.
- **Magic Number** (default 2472024): Isolates orders, pendings, and history from other EAs.
- **Order Comments**: `天枢首单`, `天枢马丁加仓N`, `手动天枢首单`, `手动天枢马丁加仓N`.
- **Version & Author**: Version shown on panel; startup/shutdown logs print version and author.

### Risk Notice

Martingale strategies can accumulate positions in strong trends. Always set reasonable max layers and max lot caps. Test on demo before live trading. Past performance does not guarantee future results.

---
作者的更多信息
**Beidou Tianquan EA – MT4 Expert Advisor** Beidou Tianquan EA is a professional MT4 expert advisor that combines MACD zone analysis with SAR reversal confirmation. It first identifies trend zones using MACD: a golden cross above the zero line defines a long zone, while a death cross below zero defines a short zone. Within a valid zone, any SAR reversal in the same direction triggers an entry. This dual confirmation filters out counter-trend trades. The EA supports breakout pending orders (BUY
**BeiDou YuHeng VWAP EA – MT4** **Core Logic**   BeiDou YuHeng combines H1 Parabolic SAR for trend direction with M30 VWAP for precise entries. When SAR is bullish, only long trades are taken; when bearish, only shorts. Entry requires a two-step confirmation: price pierces VWAP (low below for long, high above for short), then a subsequent M30 candle reclaims it (low ≥ VWAP for long, high ≤ VWAP for short). This filters false breakouts. **Flexible Timeframes**   SAR and VWAP periods are indepe
Beidou·Kaiyang is a Donchian Channel breakout EA. Default timeframe M30, entry period N=18, exit period M=10, optimized for EURUSD and major pairs. **Core Logic** - Entry: close above long upper band → buy; close below long lower band → sell. - H4 Donchian filter: only trade in the direction of the higher timeframe. Two modes: strict breakout or midline direction. Reference bar can be closed or current. - Exit: intraday touch of short channel — Bid touches short lower for longs, Ask touches shor
**Overview**   Tianji is a professional MT4 Expert Advisor built on the classic Ichimoku Kinko Hyo indicator. It combines multi-timeframe resonance, strict signal confirmation, flexible risk management, and an elegant interactive UI. **Key Features** 1. **Pure Ichimoku Logic** – Uses standard 9/26/52 settings. No external indicators. 2. **Multi-Timeframe Resonance** – Default H4 (direction), M30 (trigger), M15 (entry). All timeframes customizable. 3. **Three-Role Signal** – Requires price v
**Core Strategy**   Beidou·Yaoguang is a trend-following Expert Advisor for MetaTrader 4, built on Parabolic SAR flips. It goes long when SAR flips from bearish to bullish, and short when SAR flips from bullish to bearish. Signals are confirmed on the previous closed bar to filter noise. Entry uses the K0 bar’s high (for longs) or low (for shorts) plus/minus a configurable offset, placed as Buy Stop / Sell Stop pending orders. If price has already broken out, an optional market entry can be use
筛选:
无评论
回复评论