tp 범위 조절

This commit is contained in:
2025-09-01 22:06:45 +09:00
parent 025cd5753e
commit 11d2260edb
2 changed files with 3 additions and 3 deletions

View File

@@ -16,13 +16,13 @@ const prompts = {
LONG:
- 9-EMA > 21-EMA (둘 다 상승).
- RSI14가 40~60 사이이고 이전 캔들 대비 상승하는 경우.
- RSI14가 40 보다 작으며 이전 캔들 대비 상승하는 경우.
- Close ≥ VWAP.
- Close ≤ 스윙 고점 - ATR14×0.5 (작은 하락 구간).
SHORT:
- 9-EMA < 21-EMA (둘 다 하락).
- RSI14가 40~60 사이이고 이전 캔들 대비 하락하는 경우.
- RSI14가 60 보다 크며 이전 캔들 대비 하락하는 경우.
- Close ≤ VWAP.
- Close ≥ 스윙 저점 + ATR14×0.5 (작은 하락 구간).

View File

@@ -11,7 +11,7 @@ const ex = new ccxt.bybit({
options: { defaultType: 'swap' }
});
const ohlcv = await ex.fetchOHLCV(cfg.cctxSymbol, cfg.ohlcvInterval, undefined, 300);
const ohlcv = await ex.fetchOHLCV(cfg.cctxSymbol, cfg.ohlcvInterval, undefined, 336);
const bars = ohlcv.map(c => ({
t: c[0],
o: c[1],