OPEN-SOURCE SCRIPT

2nd Grade Strategy

Telah dikemas kini
This is a strategy to complement the 2GT indicator. It utilises the same rules as 2GT.

This is comprises of multiple popularly used indicators to help decide on whether to go long or short. This indicator will overlay the MA lines and background colours on your chart.

The heikin-ashi colour will be shown as the background colour. This will help you identify a trend more easily while using bars, candles, hollow candles, etc. When the background is green, it means that it is a green HA and vice versa.

The blue MA line is for showing the short-term trend. The red MA line is for showing the medium-term trend. You can select the moving average flavour of your choice in the settings.

The yellow MA line is the long-term trend that is mainly used as a filter to indicate bullish/bearish trend. The MA type for this filter can be different from the short/mid term MA.

This indicator will also show Stochastic crossovers (GC, DC, BC) on the chart. This will help to always keep your eye on the chart candles.

In the settings, you can also turn on/off bullish/bearish signals.

Rules for bullish signals on this indicator:-
1. MA: Blue > Red > Yellow (FastMA > SlowMA > FilterMA)
2. Stochastic: K > D and both are heading upwards
3. 2nd Green HA

When 2 out of the 3 rules are met, the candle background will be Aqua in colour. When all 3 rules are met, the candle background will be Green.

Rules for bearish signals on this indicator:-
1. MA: Yellow > Red > Blue (FilterMA > SlowMA > FastMA)
2. Stochastic: D > K and both are heading downwards
3. 2nd Red HA

When 2 out of the 3 rules are met, the candle background will be Orange in colour. When all 3 rules are met, the candle background will be Red.

Do note that you can hide any of these elements in via the settings.

If you find this useful, do smash the LIKE and FOLLOW button.


WSLM
Nota Keluaran
This strategy can be used to complement the 2GT indicator. It combines Stochastic, Relative Strength Index and MACD. It will plot an oscillator that overlays those 3. This is useful to help determine oscillator convergence/divergence.

The blue-red line indicates the Stochastics Oscillator. This indicator will also show Stochastic crossovers (GC, DC).

The fuschia line shows the RSI.

Bullish MACD is shown in shades of green. Bearish MACD is shown in shades of red.

Rules for bullish signals on this indicator:-
1. Stochastic: Blue > Red (K > D) and both are heading upwards
2. RSI: Above the center line
3. Green MACD

When 2 out of the 3 rules are met, the candle background will be Aqua in colour. When all 3 rules are met, the candle background will be Green.

Rules for bearish signals on this indicator:-
1. Stochastic: Red > Blue (D > K) and both are heading downwards
2. RSI: Below the center line
3. Red MACD

When 2 out of the 3 rules are met, the candle background will be Orange in colour. When all 3 rules are met, the candle background will be Red.

Do note that you can hide any of these elements in via the settings.

If you find this useful, do smash the LIKE and FOLLOW button.


WSLM
Nota Keluaran
When used alongside with the 2GT indicator, signal convergence from both the 2GT and 2GTS will mean a stronger bullish/bearish signal.
Nota Keluaran
Added back testing date ranges.
Updated bullish and bearish rules.
Updated RSI default to 14.

Bullish:-
1. Stochastic: Blue > Red (K > D) and both are heading upwards
2. RSI: Above the center line
3. Green MACD and histogram going upwards

When 2 out of the 3 rules are met, the candle background will be Aqua. When all 3 rules are met, the candle background will be Green.


Bearish:-
1. Stochastic: Red > Blue (D > K) and both are heading downwards
2. RSI: Below the center line
3. Red MACD and histogram going downwards

When 2 out of the 3 rules are met, the candle background will be Orange. When all 3 rules are met, the candle background will be Red.
Candlestick AnalysisMoving AveragesStochastic Oscillator

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