WaveRiders

Double Stochastic

Double Stochastic is use 2 Stochastic for monitoring price swing.
Slow Stochastic (21,3,3) for monitoring the swing of price cycle.
Fast Stochastic (5,1,1) for monitoring the swing in price ripple.

When 2 Stochastic run way from each other, separately , mean Price will move only retrace or rebound in ripple movement.
When 2 Stochastic Flip and Run break thru from overbought or oversold zone , mean Price will move to change in major direction

Useful for decision to hold position or take action

Such as Price move up and start decline, Slow Stochastic run above 80 and only Fast Stochastic swing down, mean Price just move retrace down. Price still has chance to flip and move up again. This will help we hold the Long Position or know where to open more Long position on price dip.

Or Price break down to support line and start rebound , Slow Stochastic run below 20 and only Fast Stochastic Swing Up , mean Price just move rebound to go down again. This will help we can hold Short Position or know where to open more Short position.

Wave Riders ...

Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?
study(title="Double Stochastic", shorttitle="DBLStoch")
length1 = input(21, minval=1), smoothK1 = input(3, minval=1), smoothD1 = input(3, minval=1)
length2 = input(5, minval=1), smoothK2 = input(1, minval=1), smoothD2 = input(1, minval=1)
k1 = sma(stoch(close, high, low, length1), smoothK1)
d1 = sma(k1, smoothD1)
plot(k1, color=blue)
plot(d1, color=red)
k2 = sma(stoch(close, high, low, length2), smoothK2)
d2 = sma(k2, smoothD2)
plot(k2, color=orange)

h0 = hline(80)
h1 = hline(20)
fill(h0, h1, color = yellow, transp=90)