From 386353b986e01562677df6baceee44d0328f5ceb Mon Sep 17 00:00:00 2001 From: bangae1 Date: Sun, 31 Aug 2025 07:13:15 +0900 Subject: [PATCH] =?UTF-8?q?=ED=94=84=EB=A1=AC=ED=94=84=ED=8A=B8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- strategy.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/strategy.js b/strategy.js index 1802726..8366b53 100644 --- a/strategy.js +++ b/strategy.js @@ -15,7 +15,7 @@ const prompts = { [{"t":,"o":,"h":,"l":,"c":,"v":}, …] LONG : - 9-EMA > 21-EMA (both rising) - - RSI14 between 40 and 65 and increasing vs previous candle + - RSI14 between 35 and 65 and increasing vs previous candle - Close ≥ VWAP - Close ≤ Swing High - ATR14×0.5 (small pullback zone) @@ -48,8 +48,7 @@ const prompts = { - **스탑로스**: 최근 3봉 저점(롱)/고점(숏) ± 0.3% or ATR(7)*1.2 - **테이크프로핏**: 1:2 비율 (예: SL 0.5% → TP 1.0%) - **홀드 조건**: - • 15분 내 고강도 뉴스 발생 (예: Fed 발표, ETF 승인) - • 거래량 30% 감소 + 볼린저 밴드 압축 + • 롱 숏 포지션에 해당 하지 않고 손실이 발생 할거 같으면 홀드 ### 📊 15분봉 데이터 해석 핵심 - **VWAP**: 15분 단위 재계산, **상승 시 0.15% 이내 재테스트** 필수 - **다이버전스**: RSI/MACD 신호 지속시간 **3봉 이내**만 유효 @@ -88,7 +87,7 @@ export async function aiSignal(bars) { if (bars.length < 20) return null; console.log(Date.now()) const content = ` - ${prompts["15m"]} + ${prompts["1h"]} ${JSON.stringify(bars)} `;