StorchRSI indicator example.
สคริปต์โอเพนซอร์ซ

ด้วยจิตวิญญาณของ TradingView อย่างแท้จริง ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้ผู้ค้าสามารถเข้าใจและตรวจสอบได้ ไชโยให้กับผู้เขียน! คุณสามารถใช้ได้ฟรี แต่การใช้รหัสนี้ซ้ำในสิ่งพิมพ์อยู่ภายใต้กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ เงื่อนไขการใช้บริการ

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?
//Developed by Tushar Chande and Stanley Kroll.
//Robert C. Miner calls it by his proprietary name, Dynamic Trader Oscillator or DTOsc and his considerable
//  innovations   were to set the oversold level at 25, set the overbought level at 75,
//  and to come up with 4 special settings:  8,5,3,3  13,8,5,5  21,13,8,8  34,21,13,13 
//  His High Probability Trading Strategies is one of the best books ever written on trading.
study(title="StochRSI", shorttitle="StochRSI")
source = close
lengthRSI = input(8, minval=8), lengthStoch = input(5, minval=5)
smoothK = input(3,minval=3), smoothD = input(3,minval=3)
OverSold = input(25), OverBought = input(75)
rsi1 = rsi(source, lengthRSI)
k = sma(stoch(rsi1, rsi1, rsi1, lengthStoch), smoothK)
d = sma(k, smoothD)
hline(OverSold,color=blue)
hline(OverBought,color=blue)
plot(k, color=black,title="k-line")
plot(d, color=fuchsia,title="d-line",linewidth=1)