Disciplined, rule-based automated crypto trading. 纪律严明、规则驱动的自动化加密货币交易机器人。
Chandelier Exit + EMA Trend Following 吊灯止损 + EMA 趋势跟踪策略
▼
Why TrendMind 核心优势
No predictions. No emotions. Just price action and a proven process — running 24/7 on autopilot. 无需预测,无需情绪。纯粹依靠价格行为与成熟流程,全天候自动运行。
Set it and forget it. The bot runs a daily strategy cycle at UTC 00:05, manages positions, and monitors exits — entirely on its own. 一键启动,无需干预。机器人每天UTC 00:05自动运行策略,管理持仓,全程监控止损出场。
Test any symbol over any date range with the exact strategy logic. Equity curve, Sharpe ratio, max drawdown — all in one view. 对任意交易对、任意历史区间进行策略回测,一屏呈现净值曲线、夏普比率与最大回撤。
An ATR-based trailing stop that breathes with market volatility. Wide enough to avoid noise; tight enough to protect gains. 基于ATR的动态追踪止损,随市场波动自适应调整,过滤噪音的同时有效锁定利润。
Fast/Slow EMA crossover confirms trend direction before any entry. Only buy in confirmed uptrends — never fight the trend. 快/慢EMA金叉确认趋势方向后才允许入场,只在上升趋势中做多,永不逆势而行。
Each trade risks a fixed percentage of equity. Wider stop = smaller position. Consistent risk, every single trade. 每笔交易固定风险比例,止损越宽仓位越小,无论市况如何都保持一致的风险敞口。
Get instant alerts for every trade signal, buy execution, stop exit, and daily cycle completion — straight to your phone. 每次交易信号、建仓、止损出场和每日周期完成,实时推送至你的手机。
How it works 决策流程详解
Every day, TrendMind follows an identical, deterministic sequence. There is no guesswork — only rules. 每天,TrendMind 执行完全相同、确定性的流程序列,没有猜测,只有规则。
The strategy cycle fires exactly 5 minutes after midnight UTC. This aligns with Binance's daily candle close at UTC 00:00. The 5-minute buffer ensures the closing candle is fully settled and its OHLCV data is stable before any calculation begins. On first start, a cycle runs immediately without waiting for the timer — you get a signal check right away. 策略周期在UTC午夜后恰好5分钟触发。这与Binance每日K线在UTC 00:00收盘对齐。5分钟缓冲确保收盘K线完全稳定、OHLCV数据准确后再开始计算。首次启动时立即运行一次,无需等待定时器触发。
The bot fetches the most recent daily OHLCV candles for each configured trading symbol from the Binance REST API. The number of candles fetched is determined by the longest indicator lookback period (CE Period + EMA Slow period + buffer). All arithmetic is performed on the closed daily candle — not tick data, not minute bars. 机器人通过Binance REST API获取每个配置交易对最新的日线OHLCV数据,拉取数量由最长指标回溯周期决定(CE周期 + 慢速EMA周期 + 缓冲)。所有计算均基于已收盘日线K线,不使用Tick数据或分钟线。
Two indicators are computed on every cycle: 每个周期计算两个指标:
① Chandelier Exit (CE)
① 吊灯止损(CE)
ATR is computed over N periods (default 22). The long stop is placed at the Highest High over N periods minus ATR × Multiplier (default 3.0). This creates a trailing stop that expands during volatile markets and tightens in calm ones. The key insight: a wide stop means the trade has more room to breathe; a narrow stop means the trend is maturing.
ATR基于N个周期(默认22)计算。做多止损设置在N周期最高价减去ATR×倍数(默认3.0)处。这形成一个追踪止损:波动大时止损变宽,波动小时止损收紧。宽止损意味着趋势仍有发展空间;窄止损意味着趋势趋于成熟。
② EMA Crossover
② EMA 交叉
Fast EMA (default 20) and Slow EMA (default 50) are computed over the closing prices. The relationship between them defines the trend bias: Fast above Slow = bullish regime; Fast below Slow = bearish / neutral. This filter prevents buying into downtrends.
快速EMA(默认20日)和慢速EMA(默认50日)基于收盘价计算。两者关系定义趋势偏向:快线在慢线上方为看涨;快线在慢线下方为看跌/中性。此过滤器防止在下跌趋势中建仓。
Signals are evaluated separately for each symbol. The bot checks two scenarios per symbol: 每个交易对独立评估信号。机器人对每个交易对检查两种情景:
🟢 Buy Condition (both must be true) 🟢 买入条件(两个条件同时满足)
The price-cross-above-CE condition fires when price recovers from a pullback and crosses above the trailing stop — a momentum confirmation event. The EMA filter ensures this happens within an established uptrend, not during a bear market dead-cat bounce. 价格上穿CE止损线表明价格从回调中恢复并突破追踪止损,是动量确认信号。EMA过滤器确保这发生在已建立的上升趋势中,而非熊市反弹。
🔴 Sell Condition 🔴 卖出条件
Exit is unconditional — if the closing price is below the Chandelier Exit level, the full position is closed regardless of EMA direction, P&L, or any other factor. No discretion. No hoping. The stop is the stop. 出场是无条件的——如果收盘价跌破吊灯止损线,立即全部平仓,无论EMA方向、盈亏或任何其他因素。没有酌情判断,没有侥幸心理,止损就是止损。
Before placing a buy order, the bot calculates the exact position size that risks a fixed percentage of account equity. The ATR-derived stop distance is the denominator — wider market volatility automatically produces smaller positions. 在发出买入指令前,机器人计算精确仓位,使每笔交易风险固定为账户净值的特定百分比。ATR推导的止损距离作为分母——市场波动越大,仓位自动越小。
Example: $10,000 equity, 2% risk, entry at $50,000, CE stop at $47,000 → Risk = $200, Stop Distance = $3,000, Quantity = 0.0667 BTC. If the stop is wider (e.g., $43,000), the quantity shrinks to 0.0286 BTC — same dollar risk, smaller position. 示例:账户$10,000,风险2%,入场$50,000,CE止损$47,000 → 风险金额$200,止损距离$3,000,买入0.0667 BTC。若止损更宽(如$43,000),数量缩减为0.0286 BTC——相同美元风险,更小的仓位。
The bot places a market order using the Binance Spot API. In default mode, orders go to Binance Testnet — a fully functional paper-trading environment that mirrors the live exchange without real money. Switching to Live mode requires explicit configuration of a Live API Key in Settings. 机器人通过Binance现货API发出市价单。默认模式下订单发往Binance Testnet(完全功能的模拟交易环境,镜像真实交易所但无真实资金)。切换至实盘模式需在设置中明确配置实盘API密钥。
If a buy signal fires while a position is already open (price continues trending and re-crosses CE upward), the bot adds to the position. The add-on uses half the normal risk percentage, keeping the incremental risk controlled. The average entry price is recalculated after each add — subsequent CE stops protect the blended entry. 如果在已持有仓位时再次触发买入信号(价格持续趋势上涨并再次上穿CE),机器人会加仓。加仓使用一半的正常风险比例,控制增量风险。每次加仓后重新计算平均入场价格,后续CE止损保护混合入场价。
Two independent timers protect against missed cycles. The Main Timer fires at exactly UTC 00:05 each day. The Compensation Poller runs every hour and checks whether today's cycle has already run. If the main timer was missed (app backgrounded, device slept, OS killed the process), the poller detects the gap and immediately runs the overdue cycle. Every completed cycle date is persisted to local storage — the poller compares against this record, not an in-memory flag. 两个独立定时器防止周期遗漏。主定时器每天UTC 00:05精确触发。补偿轮询器每小时运行一次,检查当日周期是否已执行。若主定时器被跳过(应用后台运行、设备休眠、系统终止进程),轮询器检测到缺口后立即运行补偿周期。每个已完成的周期日期持久化保存至本地存储,轮询器与此记录比对,而非内存标志。
The bot does not auto-start after an app restart — you press Start Bot again. However, all state is fully restored from local storage so no trade history or position is lost: 机器人不会在应用重启后自动启动——需要重新按下启动按钮。但所有状态从本地存储完整恢复,不会丢失任何交易历史或持仓信息:
Pre-existing coin balances (held before first bot launch) are detected automatically and tagged as "Legacy" positions. The CE exit signal still applies to them. 首次启动前持有的币种余额会被自动检测并标记为"Legacy"持仓,CE出场信号同样适用于它们。
TrendMind connects to Binance Testnet (paper trading) by default. Switching to live trading requires your own Binance API Key and carries significant financial risk. Cryptocurrency markets are highly volatile. Past backtest results do not guarantee future performance. You are solely responsible for your trading decisions. TrendMind默认连接至Binance Testnet(模拟交易)。切换至实盘交易需提供您自己的Binance API密钥,并承担重大财务风险。加密货币市场波动极大,历史回测结果不保证未来表现。您对自己的交易决策负全部责任。
App Screens 应用截图
Paper trade on Binance Testnet for free. No real money required to get started. 在Binance Testnet免费模拟交易,无需投入真实资金即可上手。
⬇ Download on the App Store 在 App Store 下载