top of page

(PineScript) TSAR (Triple SAR)

설명

PSAR (Parabolic SAR)의 기간을 임의로 조정해서 단기, 중기, 장기 3개로 늘린 지표입니다.


사용방법


매수(Long)포지션

SarSlow(파란색), SarMid(초록색), SarFast(빨간색)이 전부 주가 아래에 있을 때

청산 = SarSlow(파란색) 또는 SarMid(초록색)주가 위에 나타났을 때


매도(Short)포지션

SarSlow(파란색), SarMid(초록색), SarFast(빨간색)이 전부 주가 위에 있을 때

청산 = SarSlow(파란색) 또는 SarMid(초록색)주가 아래에 나타났을 때


Source Code

//@version=4

study("TSAR", overlay=true)

SarSlow = sar(0.01,0.01,0.2)

SarMid = sar(0.01,0.015,0.2)

SarFast = sar(0.01,0.02,0.2)


plot(SarSlow, style=plot.style_cross, color=color.blue, linewidth=2)

plot(SarMid, style=plot.style_cross, color=color.green, linewidth=2)

plot(SarFast, style=plot.style_cross, color=color.red,linewidth=2)

최근 게시물

전체 보기

Comments


Since 2020

rrlogo.jpg
Copyright by Risk&Return © All Rights Reserved
bottom of page