OPEN-SOURCE SCRIPT

Double Stochastic Divergence

Telah dikemas kini
Same as my protected script but you can now see the code

This Study plots divergences and overlays a second %K as a fractal and changes the color of %D for the non fractal
Option to use Stochastic RSI for Fractal
Background Shading according to trend

Feel Free to change the indicator values to suit your style / system

The divergence script is thanks to RicardoSantos, I've just adjusted it to suite my indicator

Remember that divergences work best when traded with the trend or very late in a trend when going against the trend

Common value for %K is 5, I have chosen 3 as it gives faster entries when using multiple time frames

If you are not using a momentum indicator as a trailing stop and using only cycle indicator
then I would recommended %K be 4 for exits

Nota Keluaran
Added Background Highlights for Over Bought and Over Sold Regions
Nota Keluaran
...
Nota Keluaran
Added ADX 2 Resting Bar Buy / Sell Entry Signal
Nota Keluaran
Background Color now according to MA Crossover
Adjusted Colors
Nota Keluaran
Much anticipated update

More options for Background Color Change, besides MA crossover color change options now include;

MACD Direction

&

Dad Direction (Top Dog Trading)



Also Added Alerts for;

Background color change

&

Divergences
Nota Keluaran
Added Trend Barmeter so now you can add confluence to your entries

3 Trend Barmeter lines, choose from MA Cross, MACD Cross, Dad Direction (Top Dog Trading) or Trend Candles
Nota Keluaran
Small adjustment
Nota Keluaran
Adjusted Background Shading Intensity
Nota Keluaran
Changed Values for Main Stochastic to;

K = 5
D = 3
Smoothing = 2

Added an extra Trend Bar. This 1 only shows MA Cross or where the Minor Base Line is in relation to the Major Base Line

Added Highlights to the Trend Bar to show possible Momentum Setups - Please use this with caution and in relation to Price action and S/R
Nota Keluaran
Removed ADX 2 Possible Entry Signal and RSI Plot

Added Momentum Setups to Trend Meter - Very Powerful Entries but Use With Caution

Look for Support or Resistance Levels for price to be attracted to

Enter Long above the Setup Bar

Enter Short Below the Setup Bar

When looking to break out from Trendline or S/R Level - Look for confluence by ensuring all 3 trend Meters are Highlighted the Same Color
Nota Keluaran
Adjusted;

Filter X parameters

Trend Meter Background Highlight - Filter X + 3 Trend Meter Conditions Met (Minor / Major Base Line Cross Excluded)
Nota Keluaran
Fixed fault with background highlight of trend meter
Nota Keluaran
Added ability;-

to Change the Color of the Main Stochastic

to Turn the Fractal / Secondary Stochastic off from the menus
Nota Keluaran
Updated Alerts so now you can see them properly when entering
Nota Keluaran
Fixed issue with Alerts
Nota Keluaran
Divergences Offset to Realistic Entry Point
Nota Keluaran
Trend Meter Background Highlight when all 3 conditions are met

Adjusted Alerts
Nota Keluaran
Fixed Fault with background highlights
Nota Keluaran
Updated Background Highlight and adjusted some menu's

Added Highlights for;

RSI Signal Line Cross (RSI = 13, Linear Regression Signal Line = 21) - Extremely powerful signal

MOM DAD Cross (Topdog Trading)
Nota Keluaran
Fixed a fault with the background colors that was introduced by Tradingview
Adjusted colors and thickness of stochastic lines to make them more visually appealing
Nota Keluaran
Removed The Trend Meters along with a Lot of Clutter (If you still need a Trend Meter please add it from my other Scripts on my Page)
Added On Balance Volume as an input source option for both Stochastics
Changed the look of the Stochastics for better visual appeal
DivergenceDouble Stochastic OscillatormetermomentumstrategyOscillatorsstochasticdivergence

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?

Penafian