Strategy - Uber STC - Schaff Trend Cycle [UTS]Backtesting of Uber STC - Schaff Trend Cycle
Backtest with focus win/loss profitability.
Formula: profitability = win / (win+loss)
Default equity 100k USD
Default 2% Risk per trade
Default currency USD
Define backtest interval precisely by month, year, day
LONG and SHORT positions
Visualize SL and TP on chart
ATR (len: 14, smooth: SMA)
ATR based Stop-Loss, if hit trade will be closed and considered as loss
ATR based Take-Profit, if hit trade will be closed and considered as win
On TP or SL hit the trade is closed and marked as win/loss
Uber
Uber STC - Schaff Trend Cycle [UTS]Desc:
The Schaff Trend Cycle (STC) is a charting indicator that is commonly used to identify market trends and provide
buy and sell signals to traders.
Developed in 1999 by noted currency trader Doug Schaff, STC is a type of oscillator and is based on the assumption that,
regardless of time frame, currency trends accelerate and decelerate in cyclical patterns.
This indicators source code is based on Releasing the Code to the Schaff Trend Cycle.pdf
Executive Summary
Schaff Trend Cycle is a charting indicator used to help spot buy and sell points in the markets.
Compared to the popular MACD indicator, STC will react faster to changing market conditions.
A drawback to STC is that it can stay in overbought or oversold territory for long stretches of time.
General Usage
There are two lines indicating overbought and oversold conditions, default at 75 and 25 which is customizable of course.
Signals are created on line crosses. They that can be used to enter LONG/SHORT or EXIT a trade.
If the STC crosses the lower line upwards a LONG signal is triggered and if it crosses the upper line a SHORT signal is triggered.
Line crosses in the other direction than the current trade also work as EXIT signal.
Alerts
Traders can easily use the reversal signal to trigger alerts from:
Cross Up
Cross Down
Those values are > zero if a condition is triggered.
Alert condition example: "Cross Up" - "Greater Than" - "0"
Moving Averages
16 different Moving Averages are available:
ALMA (Arnaud Legoux Moving Average)
DEMA (Double Exponential Moving Average)
EMA (Exponential Moving Average)
FRAMA (Fractal Adaptive Moving Average)
HMA (Hull Moving Average)
JURIK (Jurik Moving Average)
KAMA (Kaufman Adaptive Moving Average)
Kijun (Kijun-sen / Tenkan-sen of Ichimoku)
LSMA (Least Square Moving Average)
RMA (Running Moving Average)
SMA (Simple Moving Average)
SuperSmoothed (Super Smoothed Moving Average)
TEMA (Triple Exponential Moving Average)
VWMA (Volume Weighted Moving Average)
WMA (Weighted Moving Average)
ZLEMA (Zero Lag Moving Average)
A freely determinable length allows for sensitivity adjustments that fits your own requirements.
Strategy - Backtest Uber Kuskus Starlight [UTS]Backtest of Uber Kuskus Starlight
Backtest with focus win/loss profitability.
Formula: profitability = win / (win+loss)
Default equity 100k USD
Default 2% Risk per trade
Default currency USD
Define backtest interval precisely by month, year, day
LONG and SHORT positions
Visualize SL and TP on chart
ATR (len: 14, smooth: SMA)
ATR based Stop-Loss, if hit trade will be closed and considered as loss
ATR based Take-Profit, if hit trade will be closed and considered as win
On TP or SL hit the trade is closed and marked as win/loss
Uber Trend IndicatorThis is my first custom indicator that I created as a medium to long term trend indicator. Buy if it is above 0 and sell if it is below 0.
Since this is my first unique indicator, I would love to hear your feedback! Please let me know if you would like to see any other scripts!
Uber Baseline [UTS]Uber Baseline is a highly customizable Baseline component for any trading system. Different strategies can be applied making it a powerful tool for every trader.
General Usage
The Baseline is used as an indication of the prevailing trend and helps keeping the trader out of bad trades.
Price above the Baseline only allows for LONG trades and below Baseline only allows for SHORT trades.
On price cross upwards from below Baseline and and candle close above Baseline the movement can be considered as bullish. Controversy if price crosses Baseline downwards from above and and candle closes below the baseline the movement can be considered as bearish.
Hence, ENTRY Signals for LONG or SHORT can be derived from those Baseline crosses.
Furthermore, any Baseline cross can also be treated as valid EXIT signal for an open position as the movement indicates a possible shift in trend.
Price that moves with unusual high volatility into one direction often tends to not trend but instead pulls back. Overshoot of the base line (default setting: 1x ATR) is recognized but does not produce an ENRTY signal, only an EXIT signal.
Advanced techniques can incorporate the one-candle-rule waiting for pullbacks after Baseline overshot following a possible ENTRY in direction of the new trend.
Trend traders can also look for Baseline bounces after an ENTRY signal for confirmation and better trade entries.
Moving Averages
16 different Moving Averages are available:
ALMA (Arnaud Legoux Moving Average)
DEMA (Double Exponential Moving Average)
EMA (Exponential Moving Average)
FRAMA (Fractal Adaptive Moving Average)
HMA (Hull Moving Average)
JURIK (Jurik Moving Average)
KAMA (Kaufman Adaptive Moving Average)
Kijun (Kijun-sen / Tenkan-sen of Ichimoku)
LSMA (Least Square Moving Average)
RMA (Running Moving Average)
SMA (Simple Moving Average)
SuperSmoothed (Super Smoothed Moving Average)
TEMA (Triple Exponential Moving Average)
VWMA (Volume Weighted Moving Average)
WMA (Weighted Moving Average)
ZLEMA (Zero Lag Moving Average)
A freely determinable length allows for sensitivity adjustments that fits your own requirements.
Trend Visualization
If the predominant trend direction is DOWN the moving average is painted red. If the trend direction is UP the moving average is painted in green.
If the movement is FLAT then the color is gray.
Alerts
Traders can utilize the following signals to trigger alerts from:
Bull Cross
Bear Cross
Overshoot Up
Overshoot Down
Those values are > zero if a condition is triggered.
Alert condition example: "Bear Cross" - "GreaterThan" - "0"