mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-12 23:36:55 +08:00
feat: redesign indicator editor with required raw klines and improved UX
Backend: - Add enable_raw_klines field to IndicatorConfig (always true, required) - Change defaults: disable EMA/MACD/RSI/ATR, keep volume/OI/funding enabled Frontend: - Completely redesign IndicatorEditor with 4 clear sections: 1. Market Data: Raw OHLCV (required, locked) + timeframe selection 2. Technical Indicators: EMA/MACD/RSI/ATR (optional, AI can calculate) 3. Market Sentiment: Volume/OI/Funding Rate 4. Quant Data: External API integration - Add helpful tips and descriptions in both Chinese and English - Improve visual hierarchy with section headers and color coding - Auto-ensure enable_raw_klines is always true
This commit is contained in:
@@ -394,6 +394,9 @@ export interface CoinSourceConfig {
|
||||
|
||||
export interface IndicatorConfig {
|
||||
klines: KlineConfig;
|
||||
// Raw OHLCV kline data - required for AI analysis
|
||||
enable_raw_klines: boolean;
|
||||
// Technical indicators (optional)
|
||||
enable_ema: boolean;
|
||||
enable_macd: boolean;
|
||||
enable_rsi: boolean;
|
||||
|
||||
Reference in New Issue
Block a user