OPEN-SOURCE SCRIPT

2nd Grade Strategy

已更新
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
版本注释
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
版本注释
When used alongside with the 2GT indicator, signal convergence from both the 2GT and 2GTS will mean a stronger bullish/bearish signal.
版本注释
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

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明