본문으로 건너뛰기

← 커뮤니티 스크립트

골든·데드 크로스 화살표

esi 추천

지표 · esi · 2026-11-23 · 복제 0회 · #추세 #매매 신호

단기·장기 이평이 위로 교차하면 빨간 화살표, 아래로 교차하면 파란 화살표. 교차 알림 포함.

원문

11줄 · 400자
study("골든·데드 크로스", overlay=true)
fastLen = input(20, "단기 이평")
slowLen = input(60, "장기 이평")
fast = sma(close, fastLen)
slow = sma(close, slowLen)
plot(fast, "단기", color=orange, width=2)
plot(slow, "장기", color=teal, width=2)
plotshape(crossover(fast, slow), "골든", shape=up, location=belowbar)
plotshape(crossunder(fast, slow), "데드", shape=down, location=abovebar)
alert(crossover(fast, slow), "골든크로스")

스크립트는 계산식 공유이며 매수·매도 추천이 아니에요. 서버는 문법만 검사했고, 실행은 내 브라우저에서만 해요(네트워크·외부 코드 실행 없음). 투자 판단과 책임은 이용자 본인에게 있어요.