[트레이딩뷰] 파인스크립트 기본
RSI 지표 그리기 //@version=5 indicator("WONJO_RSI_V1") // declear variables and init // overBuy = 70 // 과매수 // overSell = 30 // 과매도 overBuy = input.int(70, "과매수") overSell = input.int(30, "과매도") length = input.int(14, "길이", minval = 1) h1 = hline(overBuy) h2 = hline(overSell) //fill 기능 fill(h1,h2,color = color.new(color.purple,90)) rsi = ta.rsi(close,length) plot(rsi) 20,60 이동 평균 크로스때 알람 //@version=5..