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)} `;