OPEN-SOURCE SCRIPT

Stochastic Trend Evaluator (STE)

[u]Stochastic Trend Evaluator (STE): Detailed Description[/u]

Overview:
The Stochastic Trend Evaluator (STE) is a sophisticated trading tool designed for TradingView that combines stochastic oscillation analysis with Exponential Moving Average (EMA) trends. It is tailored to assist traders in identifying potential buy and sell opportunities in various market conditions, particularly focusing on trend reversals and momentum shifts.

Functionality & Concept:
The STE is built on two core components – the Stochastic Oscillator and the 200-period EMA.

  1. []Stochastic Oscillator:
    • []This oscillator is a momentum indicator comparing a particular closing price of a security to a range of its prices over a certain period.
      []Settings:
      - %K Length: 14
      - %K Smoothing: 3
      - %D Smoothing: 3
      []The %K line is the main line indicating momentum, while the %D line is a moving average of %K, providing signal triggers.
    []200 EMA:
    • []The 200-period EMA serves as a dynamic trend indicator.
      []It helps in distinguishing between bullish and bearish market phases.
      []A closing price above the 200 EMA suggests a bullish trend, while below it indicates a bearish trend.


Signal Generation:
STE generates signals based on the interaction between the Stochastic Oscillator and the 200 EMA.

  • Buy Signal:

    Occurs when the stochastic %K crosses above 20 (indicative of oversold conditions), and the closing price is above the 200 EMA.
    Represented visually by green label-up arrows.
  • Sell Signal:

    Triggered when the stochastic %K crosses below 80 (suggestive of overbought conditions), and the closing price is below the 200 EMA.
    Indicated by red label-down arrows.

Background Color Indicator:
The background color of the chart changes to enhance visual interpretation of the market condition.

Green background for a bullish market scenario (when a buy signal is active).
Red background for a bearish market scenario (when a sell signal is active).
Usage Guidelines:

The STE is best used in markets that exhibit clear trends.
Ideal for traders focusing on medium to long-term trade setups.
Can be used in conjunction with other indicators for confirmation and risk management.
[color=#FF0000]Note[/color]: The STE, being a proprietary tool, is based on a unique blend of standard technical analysis concepts and custom logic to provide these trading signals. It is designed to give traders a comprehensive view of the market momentum and trend strength without revealing the intricate details of its algorithm.
Exponential Moving Average (EMA)OscillatorsStochastic RSI (STOCH RSI)

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer