Directional Bias [AlgoAlpha]The Directional Bias indicator is a premium script expertly crafted to enhance market trend visualization on trading charts. This sophisticated tool is designed to intuitively indicate the market's directional bias, aiding traders in making informed decisions on lower time frames.
Highlighted Features:
Intuitive Trend Visualization: The script employs a color-coded system for candles, simplifying the process of trend identification
Customizable Aesthetics: Users have the option to personalize the visual elements, including candle colors, to suit their preferences and enhance chart readability.
Advanced Logic: The script is built on a proprietary algorithm that analyzes candlestick patterns to determine the current trend direction.
Key Benefits:
Enhanced Decision Making: By offering a clear depiction of the market's directional bias, the indicator assists traders in making more informed entry and exit decisions, particularly suited for quick decision-making on lower timeframes.
Adaptability to Market Conditions: The script dynamically adjusts to changing market conditions, providing relevant and timely indications of trend changes or continuations.
Versatile Application: Suitable for various trading styles, the indicator can be effectively used in day trading, scalping, or even in longer-term trading strategies, depending on the timeframe selected.
Summary:
The "Directional Bias" indicator stands out as a vital tool for traders focusing on lower timeframes, offering an intuitive, customizable, and dynamic approach to trend visualization. Its advanced proprietary logic and user-friendly interface make it a valuable asset in a trader's toolkit, enhancing the ability to quickly interpret and react to market movements.
Trendfollowing
Fourier Smoothed Volume Zone Oscillator (FSVZO) [AlgoAlpha]Description
The Fourier Smoothed Volume Zone Oscillator (FSVZO) is an implementation of the Discrete Fourier Transform in a Volume Zone Oscillator. Its purpose is to smooth price data and reduce noise to provide a more clear and accurate indication of price movement. This indicator also includes additional EMA smoothing to accurately depict reversals.
Discrete Fourier Transform
The Discrete Fourier Transform (DFT) is a mathematical algorithm used to convert discrete time-domain data into its frequency-domain representation. By decomposing a signal into its constituent frequencies, it reveals the amplitude and phase information associated with each frequency component.
Volume Zone Oscillator
The Volume Zone Oscillator is an indicator that combines volume and price data to provide insights into market trends and momentum. It calculates the difference between the volume traded above and below a specified price level and represents it as a line plot on the chart. The Volume Zone Oscillator helps traders identify periods of high buying or selling pressure and can be used to confirm trends, spot divergences, and generate trading signals. By analyzing the relationship between volume and price, traders can gain a deeper understanding of market dynamics and make more informed trading decisions.
Features
This indicator incorporates Ehler's Universal Oscillator concept and presents a histogram to provide valuable insights into the market's noise levels. Ehler's Universal Oscillator represents the statistical model that characterizes random and unpredictable market behavior. By utilizing this concept, the histogram enhances traders' ability to identify periods of increased or decreased volatility in the market.
How to use it?
Green dots and lines represent bullish price movement, while red dots and lines indicate bearish price movement. These signals gain additional strength when considering our oversold and overbought zones. Traders and investors can leverage these signals to initiate long positions when green signals coincide with oversold conditions, and vice versa. By combining these signals in synergy with Ehler's Universal Oscillator, a more precise representation of market trends can be achieved. To optimize its effectiveness, it is advisable to integrate this indicator with complementary technical analysis tools and incorporate it into a comprehensive trading strategy. Traders are encouraged to explore diverse settings and timeframes to align the indicator with their individual trading preferences and adapt it to prevailing market conditions.
Utility
By combining the FSVZO indicator with Ehler's white noise histogram, users gain a comprehensive perspective on volume-related market conditions. It empowers traders and investors to evaluate the intensity of buying or selling pressure, detect potential trend reversals or continuations, and ultimately make more informed trading decisions. This information can serve as confirmation or validation for other technical indicators, enabling traders to identify potential market turning points and enhance their comprehension of market dynamics.
The indicator offers several valuable applications, including the detection of divergence patterns between volume and price, identification of accumulation or distribution phases, and assessment of overall market trend strength. It accommodates various trading styles, such as swing trading, trend following, or mean reversion strategies. By leveraging these capabilities, traders can expand their toolkit and make more informed trading decisions.
Originality
The originality of the script lies in the combination of the Fourier analysis, white noise calculations, and the Volume Zone Oscillator. It provides a unique perspective on market dynamics and can be used to identify potential trading opportunities based on overbought and oversold conditions as well as trend reversals. Special thanks to @QuantiLuxe for their assistance in the development of this indicator
Donchian Quest Research// =================================
Trend following strategy.
// =================================
Strategy uses two channels. One channel - for opening trades. Second channel - for closing.
Channel is similar to Donchian channel, but uses Close prices (not High/Low). That helps don't react to wicks of volatile candles (“stop hunting”). In most cases openings occur earlier than in Donchian channel. Closings occur only for real breakout.
// =================================
Strategy waits for beginning of trend - when price breakout of channel. Default length of both channels = 50 candles.
Conditions of trading:
- Open Long: If last Close = max Close for 50 closes.
- Close Long: If last Close = min Close for 50 closes.
- Open Short: If last Close = min Close for 50 closes.
- Close Short: If last Close = max Close for 50 closes.
// =================================
Color of lines:
- black - channel for opening trade.
- red - channel for closing trade.
- yellow - entry price.
- fuchsia - stoploss and breakeven.
- vertical green - go Long.
- vertical red - go Short.
- vertical gray - close in end, don't trade anymore.
// =================================
Order size calculated with ATR and volatility.
You can't trade 1 contract in BTC and 1 contract in XRP - for example. They have different price and volatility, so 1 contract BTC not equal 1 contract XRP.
Script uses universal calculation for every market. It is based on:
- Risk - USD sum you ready to loss in one trade. It calculated as percent of Equity.
- ATR indicator - measurement of volatility.
With default setting your stoploss = 0.5 percent of equity:
- If initial capital is 1000 USD and used parameter "Permit stop" - loss will be 5 USD (0.5 % of equity).
- If your Equity rises to 2000 USD and used parameter "Permit stop"- loss will be 10 USD (0.5 % of Equity).
// =================================
This Risk works only if you enable “Permit stop” parameter in Settings.
If this parameter disabled - strategy works as reversal strategy:
⁃ If close Long - channel border works as stoploss and momentarily go Short.
⁃ If close Short - channel border works as stoploss and momentarily go Long.
Channel borders changed dynamically. So sometime your loss will be greater than ‘Risk %’. Sometime - less than ‘Risk %’.
If this parameter enabled - maximum loss always equal to 'Risk %'. This parameter also include breakeven: if profit % = Risk %, then move stoploss to entry price.
// =================================
Like all trend following strategies - it works only in trend conditions. If no trend - slowly bleeding. There is no special additional indicator to filter trend/notrend. You need to trade every signal of strategy.
Strategy gives many losses:
⁃ 30 % of trades will close with profit.
⁃ 70 % of trades will close with loss.
⁃ But profit from 30% will be much greater than loss from 70 %.
Your task - patiently wait for it and don't use risky setting for position sizing.
// =================================
Recommended timeframe - Daily.
// =================================
Trend can vary in lengths. Selecting length of channels determine which trend you will be hunting:
⁃ 20/10 - from several days to several weeks.
⁃ 20/20 or 50/20 - from several weeks to several months.
⁃ 50/50 or 100/50 or 100/100 - from several months to several years.
// =================================
Inputs (Settings):
- Length: length of channel for trade opening/closing. You can choose 20/10, 20/20, 50/20, 50/50, 100/50, 100/100. Default value: 50/50.
- Permit Long / Permit short: Longs are most profitable for this strategy. You can disable Shorts and enable Longs only. Default value: permit all directions.
- Risk % of Equity: for position sizing used Equity percent. Don't use values greater than 5 % - it's risky. Default value: 0.5%.
⁃ ATR multiplier: this multiplier moves stoploss up or down. Big multiplier = small size of order, small profit, stoploss far from entry, low chance of stoploss. Small multiplier = big size of order, big profit, stop near entry, high chance of stoploss. Default value: 2.
- ATR length: number of candles to calculate ATR indicator. It used for order size and stoploss. Default value: 20.
- Close in end - to close active trade in the end (and don't trade anymore) or leave it open. You can see difference in Strategy Tester. Default value: don’t close.
- Permit stop: use stop or go reversal. Default value: without stop, reversal strategy.
// =================================
Properties (Settings):
- Initial capital - 1000 USD.
- Script don't uses 'Order size' - you need to change 'Risk %' in Inputs instead.
- Script don't uses 'Pyramiding'.
- 'Commission' 0.055 % and 'Slippage' 0 - this parameters are for crypto exchanges with perpetual contracts (for example Bybit). If use on other markets - set it accordingly to your exchange parameters.
// =================================
Big dataset used for chart - 'BITCOIN ALL TIME HISTORY INDEX'. It gives enough trades to understand logic of script. It have several good trends.
// =================================
Alpha Momentum Trade - AMT (QUAD Financial)The "Alpha Momentum Trend" indicator was conceived by Tiago Friedrich and programmed by Conrado Villaça.
The indicator description applies to the daily chart. When used on other timeframes, the indicator also changes its signals based on the timeframe used.
It has five fields, from top to bottom:
1. "ATR Multiple MA" greater than multiple: shows how many candles the asset stayed 7 times the ATR (average true range) above the 50-period simple moving average (SMA) in the last 126 candles. The purpose is to identify the strength of the asset because the more times it stayed at this distance from the SMA 50, the greater the acceleration of its prices tends to be, indicating a high momentum asset. You can change the period of the SMA in the indicator settings.
2. ATR% Multiple from MA: shows the multiple of ATR that the asset is from the same SMA as in the upper field. The default is the SMA 50, and the indicator helps identify interesting regions to take profits from long positions. When the asset is more than 7 ATRs above the SMA 50, the asset is considered "stretched," and a correction or price consolidation becomes likely. For high beta assets with a very strong trend, you can use a multiple of 10 ATRs for this purpose.
3. ATR% Multiple from 52w Low: shows the multiple of ATR that the asset is in relation to the 52-week low price. The higher the number, the more the asset has risen relative to its volatility standards, indicating a stronger trend. For momentum traders, it's ideal for the asset to be at least 15 ATRs above the minimum for this period to ensure that it's in a strong uptrend and far from the lows.
4. Longest streak above SMA: within the last 126 candles, it shows the longest streak of days when the asset didn't close below a specific simple moving average. The default definition is with the 10-day SMA, but you can change it in the indicator settings. The more consecutive days the asset can stay above the SMA10, the sign that its trend is consistent and not very volatile, which is desirable. Ideally, an asset should have previously formed an uptrend by staying at least 20 consecutive days above the SMA10.
5. Longest streak above EMA: within the last 126 candles, it shows the longest streak of days when the asset didn't close below a specific exponential moving average. The default definition is with the 21-day EMA, but you can change it in the indicator settings. The more consecutive days the asset can stay above the EMA21, the sign that its trend is consistent and not very volatile, which is desirable. Ideally, an asset should have previously formed an uptrend by staying at least 35 consecutive days above the EMA21.
It's also possible to visualize on the chart the moving averages used for the calculation of the "ATR Multiple MA," "Longest streak above SMA," and "Longest streak above EMA". In the default configuration, this results in a simple 50-day moving average, a simple 10-day moving average, and an exponential 21-day moving average being displayed on the chart, respectively.
PhantomFlow TrendDetectorThe TrendDetector calculates waves on the chart using the built-in ZigZag indicator and detects a trend change after the last high/low update occurs in a minimum sequence of non-updated highs/lows. This assumes a continuation of the trend for the subsequent update of the remaining high/low.
For trend determination:
When you see a pink or light yellow trend color, it means that a new trend may potentially be emerging right now, and you can join it almost at the beginning. So, if you see patterns from your trading system aligning with the TrendDetector indicator and they have the same direction, it further increases the likelihood of your plan working out.
In the case where the trend phase has a red or green color, it may indicate that the primary market impulse has already occurred, and therefore, joining the trend at this time may not be advisable.
For trade entry:
Additionally, you can use the indicator specifically for entering the market using market orders. Depending on the timeframe (the smaller the timeframe, the more confirmation candles are needed), you can open a trade when one trend replaces another at the close, for example, the second candle in the case of a 10-minute timeframe. Stop-loss can be placed under the signal candle, a local peak, or a reversal trend valley, a global peak, or a reversal trend valley. In the example above, the second option was used.
Settings
You cannot technically adjust anything in this indicator because all the logic is hardcoded. However, for a better chart visualization, after adding it to the chart, click on the three dots next to the indicator name, select "Visual order," and then "Bring to front".
SOFEX Strong Volatility Trend Follower + BacktestingWhat is the SOFEX Strong Volatility Trend Follower + Backtesting script?
🔬 Trading Philosophy
This script is trend-following, attempting to avoid choppy markets.
It has been developed for Bitcoin and Ethereum trading, on 1H timeframe.
The strategy does not aim to make a lot of trades, or to always remain in a position and switch from long to short. Many times there is no direction and the market is in "random walk mode", and chasing trades is futile.
Expectations of performance should be realistic.
The script focuses on a balanced take-profit to stop-loss ratio. In the default set-up of the script, that is a 2% : 2% (1:1) ratio. A relatively low stop loss and take profit build onto the idea that positions should be exited promptly. There are many options to edit these values, including enabling trailing take profit and stop loss. Traders can also completely turn off TP and SL levels, and rely on opposing signals to exit and enter new trades.
Extreme scenarios can happen on the cryptocurrency markets, and disabling stop-loss levels completely is not recommended. The position size should be monitored since all of it is at risk with no stop-loss.
⚙️ Logic of the indicator
The Strong Volatility Trend Follower indicator aims at evading ranging market conditions. It does not seek to chase volatile, yet choppy markets. It aims at aggressively following confirmed trends. The indicator works best during strong, volatile trends, however, it has the downside of entering trades at trend tops or bottoms.
This indicator also leverages proprietary adaptive moving averages to identify and follow strong trend volatility effectively. Furthermore, it uses the Average Directional Index, Awesome Oscillator, ATR and a modified version of VWAP, to categorize trends into weak or strong ones. The VWAP indicator is used to identify the monetary (volume) inflow into a given trend, further helping to avoid short-term manipulations. It also helps to distinguish choppy-market volatility with a trending market one.
📟 Parameters Menu
The script has a comprehensive parameter menu:
Preset Selection : Choose between Bitcoin or Ethereum presets to tailor the indicator to your preferred cryptocurrency market.
Indicator Sensitivity Parameter : Adjust the sensitivity to adapt the indicator, particularly to make it seek higher-strength trends.
Indicator Signal Direction : Set the signal direction as Long, Short, or Both, depending on your preference.
Exit of Signals : You have options regarding Take-Profit (TP) and Stop-Loss (SL) levels. Enable TP/SL levels to exit trades at predetermined levels, or disable them to rely on direction changes for exits. Be aware that removing stop losses can introduce additional risk, and position sizing should be carefully monitored.
By enabling Trailing TP/SL, the system switches to a trailing approach, allowing you to:
- Place an initial customizable SL.
- Specify a level (%) for the Trailing SL to become active.
- When the activation level is reached, the system moves the trailing stop by a given Offset (%).
Additionally, you can enable exit at break-even, where the system places an exit order when the trail activation level is reached, accounting for fees and slippage.
Alert Messages : Define the fields for alert messages based on specific conditions. You can set up alerts to receive email, SMS, and in-app notifications. If you use webhooks for alerts, exercise caution, as these alerts can potentially execute trades without human supervision.
Backtesting : Default backtesting parameters are set to provide realistic backtesting performance:
- 0.04% Commission per trade (for both entries and exits)
- 3 ticks Slippage (highly dependent on exchange)
- Initial capital of $1000
- Order size of $1000
While the order size is equal to the initial capital, the script employs a 2% stop-loss order to limit losses and attempts to prevent risky trades from creating big losses. The order size is a set dollar value, so that the backtesting performance is linear, instead of using % of capital which may result in unrealistic backtesting performance.
Risk Disclaimer
Please be aware that backtesting results, while valuable for statistical overview, do not guarantee future performance in any way. Cryptocurrency markets are inherently volatile and risky. Always trade responsibly and do not risk more than you can afford to lose.
Dynamic GANN Square Of 9 BandsDynamic GANN Square Of 9 Bands
Created on 3 Sept 2023
Adjust Increment Value:
Customize increment to match symbol and price characteristics for accuracy.
Green Line:
200 EMA. Identifies trend direction; moves with the prevailing trend.
Red Lines:
Mark prominent reversal levels closer to the red range; ideal for mean reversion strategies.
Crossing red levels may indicate trend continuation to the next red level.
Grey Lines:
Show immediate target reversal levels; watch for potential reversals.
Key Features:
Levels are different from Standard Deviation Lines.
Levels remain fixed and parallel, unaffected by volatility.
Despite its dynamism, it can serve as a leading indicator, revealing potential trend changes.
Primarily designed for trend-following strategies.
Additional Tips:
Use additional confirmations
Manage predefined risk and quantity
Additional Resources:
GANN Square Of 9 Pivots:
Ultimate RSI [LuxAlgo]The Ultimate RSI indicator is a new oscillator based on the calculation of the Relative Strength Index that aims to put more emphasis on the trend, thus having a less noisy output. Opposite to the regular RSI, this oscillator is designed for a trend trading approach instead of a contrarian one.
🔶 USAGE
While returning the same information as a regular RSI, the Ultimate RSI puts more emphasis on trends, and as such can reach overbought/oversold levels faster as well as staying longer within these areas. This can avoid the common issue of an RSI regularly crossing an overbought or oversold level while the trend makes new higher highs/lower lows.
The Ultimate RSI crossing above the overbought level can be indicative of a strong uptrend (highlighted as a green area), while an Ultimate RSI crossing under the oversold level can be indicative of a strong downtrend (highlighted as a red area).
The Ultimate RSI crossing the 50 midline can also indicate trends, with the oscillator being above indicating an uptrend, else a downtrend. Unlike a regular RSI, the Ultimate RSI will cross the midline level less often, thus generating fewer whipsaw signals.
For even more timely indications users can observe the Ultimate RSI relative to its signal line. An Ultimate RSI above its signal line can indicate it is increasing, while the opposite would indicate it is decreasing.
🔹 Smoothing Methods
Users can return more reactive or smoother results depending on the selected smoothing method used for the calculation of the Ultimate RSI. Options include:
Exponential Moving Average (EMA)
Simple Moving Average (SMA)
Wilder's Moving Average (RMA)
Triangular Moving Average (TMA)
These are ranked by the degree of reactivity of each method, with higher ones being more reactive (but less smooth).
Users can also select the smoothing method used by the signal line.
🔶 DETAILS
The RSI returns a normalized exponential average of price changes in the range (0, 100), which can be simply calculated as follows:
ema(d) / ema(|d|) × 50 + 50
where d represent the price changes. In order to put more emphasis on trends we can put higher weight on d . We can perform this on the occurrence of new higher highs/lower lows, and by replacing d with the rolling range instead (the rolling period used to detect the higher highs/lower lows is equal to the length setting).
🔶 SETTINGS
Length: Calculation period of the indicator
Method: Smoothing method used for the calculation of the indicator.
Source: Input source of the indicator
🔹 Signal Line
Smooth: Degree of smoothness of the signal line
Method: Smoothing method used to calculation the signal line.
Sublime Trading | Trend Strength FilterWhat kind of traders/investors are we?
We are trend followers. Our scripts are designed to be used on the higher timeframes (weekly/daily) to catch the large moves/trends in the market.
Most have heard of long-term trend following. Few know how to execute the strategy.
Our scripts are designed specifically to identify and invest in long-term market trends.
What does this script do?
Identifying trends is at the heart of sound investing.
This script is colour coded to help identify long-term trends and environments where you will want to consider taking positions.
It is also designed to identify sideways/consolidating markets, environments where you will want to consider standing aside.
How is the trailing stoploss produced?
The script uses two sets of Bollinger Bands, one with setting Standard Deviation 1 and the other with Standard Deviation 2.
These settings help to create 3 zones - Buy, Sell and Stand Aside.
The bars will change colour according to which zone they are in.
The Buy zone is colour-coded green, and when a bull market or the start of a bull trend is in play. The green switches from light green to dark green as the asset’s price moves above the Buy zone.
This switch in colour serves as a warning that a reversal/pullback may occur next from bullish to bearish.
The Sell zone is colour-coded red and when a bear market or the start of a bear trend is in play. The red switches from light red to dark red as the asset’s price moves below the Sell zone.
This switch in colour serves as a warning that a reversal/pullback may occur next from bearish to bullish.
The Stand Aside is confirmed when the colour-code changes to grey. This may not necessarily mean a trend reversal but simply a time to apply patience before a trend continuation.
A sustained mixture of red, green and grey bars confirms a consolidation or sideways market and when investors/traders will want to stand aside and consider another asset.
What is the best timeframe to use the script?
Long-term trends are identified on the daily and weekly timeframes where traders and investors take fewer positions but hold for longer time periods.
We recommend using the script in unison on the weekly and daily timeframes.
When both timeframes fall into the Buy zone and colour-coded green, it signifies a strong bull market.
When both timeframes fall into the Sell zone and colour-coded red, it signifies a strong bear market.
When there is a mixture of green, red and grey bars across the two timeframes, it signifies a sideways market and when investors stand aside and protect their capital.
The weekly timeframe will also help mask the noise on the daily timeframe, allowing you to hold positions longer.
The Trailing Strength Filter script is for investors who want to identify and invest in long-term trends whilst simultaneously eliminating intraday swings.
What makes this script unique?
Identifying the start of long-term trends and then riding out established trends are among the main struggles budding investors face. This script has been coded specifically for the daily and weekly timeframe to:
Seamlessly identify the start, middle and end of trends
Align with the market and remove social media noise calling market tops and bottoms
Allow for discretion when entering but particularly exiting of positions if a market trend has not ended
This trend filter script ensures alignment with long-term market trends.
Blockunity Divinetrend (BDT)A formidable trend-following indicator, based on an ATR combined with a trailing stop mechanism. Divinetrend’s aim is to offer a simple and efficient alternative to Supertrend, another highly reputed indicator of the same type. It comes with a trading strategy that can be activated in its parameters. You can also change a number of design parameters.
Divinetrend is pretty straightforward in its approach. It calculates a base moving average taking into account the asset’s volatility, multiplies it with an ATR, then displays a line representing a trailing stop. When a red line is broken, the asset is considered to be moving back into an uptrend. Inversely, when a green line is broken, a bearish signal is sent. In the parameters, you can also activate a trend contestation period. If this parameter is activated, the price must have been trending for at least 5 days for the trend change to be validated.
Usage Advice
We recommend that you do not use this indicator with a time unit of less than 2 hours. Ideally in 4 hours or daily, or even 3 days. Otherwise, there’s nothing special about the use of this indicator. We still recommend that you use your logarithmic chart for a better visualization, but this is optional.
This indicator was designed in particular for the crypto market, but it also works on traditional market assets.
The Different Signals
Divinetrend gives buy and sell signals based on trailing stop line breaks and trend orientation. In particular, it can be used for trend identification and following. If the Contested Trend option is activated in the settings, the indicator will also display a contested period in blue. In this case, it is necessary to wait 5 days for the trend to be validated.
Integrated Strategy
In addition, a trading strategy is integrated into the Divinetrend indicator. This can be activated in the parameters. This is mainly there to see the results and the relevance of the indicator in the TradingView Strategy Tester. We do not recommend using it alone. As this strategy is used to study the indicator's performance, we use the following default parameters: An initial capital of 2,000 USDT with 100% of equity in order size. In other words, we'll bet the entire portfolio on each trade. To do this, we use a default stop loss of 10%, to avoid risking heavy losses. We also use a commission of 0.01% and a slippage of 3 ticks to reflect more reality.
Volume-Weighted Trend Filter CloudThe Volume-Weighted Trend Filter Cloud is a powerful technical analysis tool designed to identify trend directions and potential buy/sell signals in a trading instrument. The indicator combines volume-weighted moving averages, average true range (ATR), and cloud plotting techniques to provide a comprehensive view of the market trend.
Inputs:
Length: Specifies the length of Algo used for trend analysis. Default value is 14.
Multiplier: Adjusts the width of the trend filter bands based on the ATR. Default value is 2.0.
Tenkan-sen Period: Defines the period for calculating the Tenkan-sen line. Default value is 200.
Kijun-sen Period: Sets the period for calculating the Kijun-sen line. Default value is 400.
Senkou Span Period: Determines the period for calculating the Senkou Span A and Senkou Span B lines. Default value is 600.
Calculation:
Average True Range (ATR): The indicator calculates the ATR based on the specified moving average length.
Trend Filter Bands: The basic upper and lower bands are calculated using the highest high and lowest low values, respectively, along with the multiplier and ATR. These bands are then adjusted to create the final upper and lower bands, taking into account the previous values.
Trend Direction: The indicator determines the trend direction by comparing the close price with the lower and upper bands. If the close price is above the lower band, it indicates an upward trend (trendUp = 1). If the close price is below the upper band, it indicates a downward trend (trendDown = 1).
Volume-Weighted Z-Score: The indicator calculates the volume-weighted Z-Score by determining the mean and standard deviation of the close price with volume weighting. The Z-Score represents the deviation of the close price from the mean in terms of standard deviations.
Tenkan-sen, Kijun-sen, Senkou Span A, and Senkou Span B: These lines are calculated using the respective periods and the average of the high and low prices.
Sigmoid Transformation: The indicator applies the sigmoid function to the Z-Score values to obtain sigmoid-transformed values for open, high, low, and close prices. These transformed values help in visualizing the trend strength.
Plotting:
Trend Filter: The trend filter is plotted as a line that changes color based on the trend direction. The lower band is displayed for an upward trend, while the upper band is displayed for a downward trend.
Trend Cloud: The cloud plot represents the Senkou Span A and Senkou Span B lines. The cloud color changes based on the trend direction, providing a visual representation of the market trend.
Buy and Sell Signals: The indicator generates buy and sell signals based on the crossover of fast and slow moving averages, Z-Score values, trend direction, and other conditions. These signals are labeled on the chart, indicating potential entry points for traders.
The indicator generates buy and sell signals based on specific conditions, including the intersection of fast and slow moving averages, Z-Score values, trend direction, and more.
Buy signals are described as a "buy signal" on the chart, which indicates potential entry points for buy trades.
Sell signals are described as a "sell signal", which indicates potential entry points for sell trades. The signals in light color represent that they are signals in the opposite direction of the cloud that can be considered as exit points
Regularized-Moving-Average Oscillator SuiteThe Regularized-MA Oscillator Suite is a versatile indicator that transforms any moving average into an oscillator. It comprises up to 13 different moving average types, including KAMA, T3, and ALMA. This indicator serves as a valuable tool for both trend following and mean reversion strategies, providing traders and investors with enhanced insights into market dynamics.
Methodology:
The Regularized MA Oscillator Suite calculates the moving average (MA) based on user-defined parameters such as length, moving average type, and custom smoothing factors. It then derives the mean and standard deviation of the MA using a normalized period. Finally, it computes the Z-Score by subtracting the mean from the MA and dividing it by the standard deviation.
KAMA (Kaufman's Adaptive Moving Average):
KAMA is a unique moving average type that dynamically adjusts its smoothing period based on market volatility. It adapts to changing market conditions, providing a smoother response during periods of low volatility and a quicker response during periods of high volatility. This allows traders to capture trends effectively while reducing noise.
T3 (Tillson's Exponential Moving Average):
T3 is an exponential moving average that incorporates additional smoothing techniques to reduce lag and provide a more responsive indicator. It aims to maintain a balance between responsiveness and smoothness, allowing traders to identify trend reversals with greater accuracy.
ALMA (Arnaud Legoux Moving Average):
ALMA is a moving average type that utilizes a combination of linear regression and exponential moving average techniques. It offers a unique way of calculating the moving average by providing a smoother and more accurate representation of price trends. ALMA reduces lag and noise, enabling traders to identify trend changes and potential entry or exit points more effectively.
Z-Score:
The Z-Score calculation in the Regularized-MA Oscillator Suite standardizes the values of the moving average. It measures the deviation of each data point from the mean in terms of standard deviations. By normalizing the moving average through the Z-Score, the indicator enables traders to assess the relative position of price in relation to its mean and volatility. This information can be valuable for identifying overbought and oversold conditions, as well as potential trend reversals.
Utility:
The Regularized-MA Oscillator Suite with its unique moving average types and Z-Score calculation offers traders and investors powerful analytical tools. It can be used for trend following strategies by analyzing the oscillator's position relative to the midline. Traders can also employ it as a mean reversion tool by identifying peak values above user-defined deviations. These features assist in identifying potential entry and exit points, enhancing trading decisions and market analysis.
Key Features:
Variety of 13 MA types.
Potential reversal point bubbles.
Bar coloring methods - Trend (Midline cross), Extremities, Reversions, Slope
Example Charts:
SPX-40 % PMO Above Zero [bluesky]█ OVERVIEW
The "SPX-40 % PMO Above Zero" script analyzes market breadth based on the percentage of stocks within the SPX-40 subset with a Positive Momentum Oscillator (PMO) value greater than or equal to zero. It provides insights into the strength and breadth of positive momentum signals, aiding traders in making informed decisions.
█ CONCEPTS
This script evaluates the percentage of stocks within the SPX-40 subset that have a PMO value above zero. By calculating this percentage, the script identifies periods of broad positive momentum and potential trading opportunities.
█ CALCULATION
The script calculates the percentage of stocks with a PMO value above zero within the SPX-40 subset. It uses the PMO values of individual stocks to assess market breadth and determine the strength of positive momentum signals.
█ HOW TO USE IT
- Timeframe: Optimize the script for different timeframes to analyze market breadth effectively.
- Market Breadth Analysis: The script displays the percentage of SPX-40 stocks with a PMO value above zero, indicating the strength of positive momentum signals across the subset.
- Trend Identification: Monitor changes in the percentage of stocks above zero to identify shifts in market breadth and trends.
- Risk Management: Consider the breadth of positive momentum signals when setting stop-loss levels or evaluating overall market conditions.
█ ADDITIONAL OPTIONS
- This script offers additional options to enhance analysis and customization, including the usage of two exponential moving averages (fast and slow) for additional insights into momentum trends.
- Background colors for EMA crossovers can be visualized using customizable options, aiding in trend identification.
- The Heikin Ashi candles option can be enabled for a different perspective on price movements.
█ FLEXIBILITY AND ADAPTABILITY
It's important to note that the default selection of 40 stocks within the SPX-40 subset may need adjustment over time as market dynamics change. Traders have the flexibility to modify the list of stocks to reflect the current market conditions and ensure the script's relevance and accuracy. Please review and update the list periodically to maintain the effectiveness of the analysis.
█ DISCLAIMER
Trading involves risks, and past performance is not indicative of future results. The "SPX-40 % PMO Above Zero" script is a tool designed to assist traders in analyzing market breadth and positive momentum signals. It should be used in conjunction with sound risk management practices and a comprehensive trading strategy. Traders are encouraged to perform their due diligence, exercise caution, and adapt the script to their individual trading preferences and requirements.
Please note that this script does not make any claims of guaranteed profitability or provide investment advice. Always consult with a qualified financial professional before making any investment decisions.
SPX-Sectors % PMO Above Zero [bluesky]█ OVERVIEW
The "Subsector-11 % PMO Above Zero" script analyzes market breadth based on the percentage of 11 user-adjustable subsector ETFs of the S&P 500 with a Positive Momentum Oscillator (PMO) value greater than or equal to zero. It provides insights into the strength and breadth of positive momentum signals within specific subsectors, aiding traders in making informed decisions.
█ CONCEPTS
This script utilizes the PMO values of the 11 user-adjustable subsector ETFs of the S&P 500 to assess market breadth. By calculating the percentage of subsector ETFs with a PMO value above zero, it identifies periods of broad positive momentum and potential trading opportunities within those specific sectors.
█ PMO (Positive Momentum Oscillator)
Developed by Carl Swenlin, the PMO is an oscillator based on a Rate of Change (ROC) calculation that is smoothed twice with exponential moving averages using a custom smoothing process. The PMO is normalized, allowing it to be used as a relative strength tool. Traders can rank subsector ETFs based on their PMO values as an expression of relative strength.
█ CALCULATION
The script calculates the percentage of subsector ETFs with a PMO value above zero based on the provided PMO values of the 11 user-adjustable subsector ETFs. It uses custom smoothing functions similar to Exponential Moving Averages (EMAs) to derive the PMO values.
█ HOW TO USE IT
- Timeframe: Optimize the script for different timeframes to analyze market breadth effectively within specific subsectors.
- Subsector Analysis: The script displays the percentage of subsector ETFs within the 11 user-adjustable subsectors of the S&P 500 with a PMO value above zero, indicating the strength of positive momentum signals within those subsectors.
- Trend Identification: Monitor changes in the percentage of subsector ETFs above zero to identify shifts in market breadth and trends.
- Risk Management: Consider the breadth of positive momentum signals within specific subsectors when setting stop-loss levels or evaluating overall market conditions.
█ ADDITIONAL OPTIONS
This script offers additional options to enhance analysis and customization:
- Candle Style: Choose from different candle styles such as Heikin Ashi, Three Line Break, Candles, or Line for chart visualization.
- PMO Settings: Adjust the lengths of the PMO calculation and signal length according to your trading preferences.
- Moving Average Settings: Incorporate the usage of fast and slow exponential moving averages (EMAs) for additional insights into momentum trends.
█ FLEXIBILITY AND ADAPTABILITY
The script allows traders to adjust the subsector ETF names according to their specific requirements. Please review and update the list of subsector ETFs periodically to reflect the desired sectors for analysis and ensure the script's relevance and accuracy.
█ DISCLAIMER
Trading involves risks, and past performance is not indicative of future results. The "Subsector-11 % PMO Above Zero" script is a tool designed to assist traders in analyzing market breadth and positive momentum signals within specific subsectors. It should be used in conjunction with sound risk management practices and a comprehensive trading strategy. Traders are encouraged to perform their due diligence, exercise caution, and adapt the script to their individual trading preferences and requirements.
Please note that this script does not make any claims of guaranteed profitability or provide investment advice. Always consult with a qualified financial professional before making any investment decisions.
AlphaTrend - ScreenerScreener version of AlphaTrend indicator:
BUY / LONG when AlphaTrend line crosses above its 2 bars offsetted line, and there would be a green filling between them
SELL / SHORT when AlphaTrend line crosses below its 2 bars offsetted line, and filling would be red then.
Default values:
Coefficient: 1, which is the factor of the trailing ATR value
Common Period: 14, which is the length of ATR MFI and RSI
AlphaTrend default uses MFI in the calculation, and MFI (Money Flow Index) needs the volume data of the chart.
If your chart doesn't have the volume data, please select the "Change Calculation" option to use RSI instead of MFI.
Screener Panel:
You can explore 20 different and user-defined tickers, which can be changed from the SETTINGS (shares, crypto, commodities...) on this screener version.
The screener panel shows up right after the bars on the right side of the chart.
Tickers seen in green are the ones that are in an uptrend, according to AlphaTrend.
The ones that appear in red are those in the SELL signal, in a downtrend.
The numbers in front of each Ticker indicate how many bars passed after the last BUY or SELL signal of AlphaTrend.
For example, according to the indicator, when BTCUSDT appears in (3) and in GREEN, Bitcoin switched to BUY signal 3 bars ago.
TrendFollow-1HThis is a trading strategy specially used on btcusdtperp in binance 1H chart
The most important part of this strategy is to use Support and Resistance with trading volume
Auxiliary indicators are include Directional Movement Index, trading volume, Commodity Channel Index,volume-weighted average price,Range Filter
Why is it not applicable to other trading varieties or exchanges?
Because the activity of each trading target is different from the trading volume, this strategy is very focused on the change of trading volume, so it may not be applicable to every trading variety
The idea of this strategy is to chase when the trend in the market is clear
Determine whether to break support or resistance to identify trends
But the market is full of false breakouts
Therefore, trading volume is an important indicator for judging the true and false.
Therefore, when the price breaks through support or resistance, accompanied by a huge trading volume, and forms a resonance with auxiliary indicators, the strategy will follow the trend, a time stop loss is also set. After entering the market, if there is no immediate profit to the stop profit, you will leave the market first.
But the market is always random, so the profit and loss ratio must be taken into account
Use a fixed stop loss space in exchange for a larger profit space, and ensure that the expected value is positive to make stable profits in the market
Therefore, this strategy uses 3.2% stop loss, 3.3% Take profit1 and 7.2% take profit2
About 1.5:1 profit and loss ratio to ensure positive expected value
Because the market has a clear trend only about 10% of the time
So the trading frequency of this strategy is very low
According to the backtest of up to 2021-01-01 till now , it takes about 5 days to make a transaction
User can choose their own leverage to obtain higher returns. But be sure to prioritize risk.
In order to prevent you from using this strategy without knowing it, the trading date of this strategy is only executed until the release date, and positions will not be opened and closed for subsequent markets.
You can contact me if you want to know more about this strategy
這是專門用於幣安1H圖表中btcusdtperp的交易策略
本策略最重要的部分是將支撐和阻力與交易量一起使用
輔助指標包括ADX,成交量,CCI,VWAP,Range Filter等
為什麼不適用於其他交易品種或交易所?
由於每個交易標的的活躍度與交易量不同,本策略非常注重交易量的變化,因此不一定適用於每個交易品種
這個策略的方法是在趨勢明朗的時候進行趨勢跟隨
確定是否打破支撐或阻力以識別趨勢
但市場充滿假突破
因此,成交量是判斷真假的重要指標。
當價格突破支撐位或阻力位,伴隨著巨大的成交量,並與輔助指標形成共振時,策略會順勢而為,同時設置時間止損。進場後,如果沒有立即獲利到止盈,就離場。
但市場總是隨機的,所以必須考慮盈虧比
用固定的止損空間換取更大的盈利空間,保證預期值為正,才能在市場中穩定獲利
因此,該策略使用 3.2% 止損、3.3% 止盈1 和 7.2% 止盈2
約1.5:1盈虧比,確保正期望值
因為市場只有大約 10% 的時間有明顯的趨勢
所以這個策略的交易頻率很低
根據2021-01-01至今的回測,交易頻率大約5天一次
用戶也可以選擇適合自己的槓桿以獲得更高的收益。但一定要優先考慮風險。
為防止您在不知情的情況下使用本策略,本策略的運行交易的日期僅至2023-05-30止,後續日期將不開倉和平倉。
如果您想了解更多有關此策略的信息,可以聯繫我。
Market Order Bubbles + Trapped Positions [Pt]"Market Order Bubbles + Trapped Positions" is a multifaceted TradingView indicator, employing volume data to depict intensified market activities. By highlighting aggressive buying/selling behaviors, this tool serves as a dependable aid in pinpointing potential trading reversals. Additionally, it proves an effective device for real-time market trend monitoring. The unique ability of this indicator to spotlight 'Trapped Positions'—resulting from such vigorous trading activity—helps identify crucial price levels or ranges that may lead to significant price responses.
Market Order Bubbles
The Market Order Bubbles feature capitalizes on volume data to estimate market orders. High bullish volume is indicative of a surge in buy orders, while strong bearish volume flags an increase in sell orders. These orders are visually represented by bubbles of different sizes, corresponding directly to the volume strength, thus providing traders with an immediate, intuitive understanding of market activity.
Trapped Positions/Zones
The concept of Trapped Positions emerges when sizable buy orders appear during a bearish market trend, or vice versa. For instance, if a considerable sell order is detected during a bullish uptrend, it signifies that those short positions may be 'trapped'. These positions help in plotting potential price range zones. When the price revisits these zones and the market trend maintains its bullish inclination, trapped shorts might opt for liquidation near break-even to mitigate losses. The reverse holds true in a bearish downtrend.
Trend Follower
The Trend Follower feature is a supportive tool that aims to discern price trends, color-coding candle bars for clarity. This function assists traders by presenting a simplified view of the prevailing trend, helping to minimize distractions caused by minor price shifts.
The utility of the Trend Follower is its ability to aid traders in focusing on the larger market direction. It allows traders to concentrate on the more substantial trend and make decisions that align with this broader market movement, rather than reacting to every minor price fluctuation. As a result, this feature may support traders in maintaining their positions for a longer duration, which could potentially enhance their trading outcomes. The Trend Follower, therefore, offers a helpful contribution to a balanced and effective trading approach.
In essence, the "Market Order Bubbles + Trapped Positions" indicator with its Trend Follower feature provides traders with a comprehensive understanding of market dynamics, allowing them to navigate the financial markets with increased precision and confidence. Its unique features, designed to highlight significant market activities and trends, can greatly aid in refining trading strategies, making it a potentially invaluable tool in a trader's arsenal.
[Trendycator] Trendycator Trend Following IndicatorThis script proposes a simple and intuitive trend following indicator, better usage on those assets which are sufficiently liquid and don't go through random spikes.
Since it is a trend-following system, it works well during trends only and his intent is to find a primary trend and ride it for as long as possible.
We know that the biggest problem is how to understand if asset is in trend or not: for this purpose, the intuitive colors explained hereafter help Traders to understand when asset is in non trend.
It will never enter on the minimum and will never exit on the maximum but will always try to identify the central part of the trend, maintaining the position until the forces supporting the rise of the stock fail.
Usage details
Color interpretation
Green color mean that asset is in a UP Trend.
Red color mean that asset is in a Down Trend.
Gray color mean that indicator is not able to find any clear trend.
Trendycator use stochastic oscillator, which establish the trend and his strength.
As additional filter as noise removal the stochastic oscillator is smoothened using simple moving average.
Trendycator use as well price swing recognition which identify significant high and significant low breakouts.
When stochastic find trend with strength and significant breakout change color: green for up trend and red for down trend.
This mix of trend-following indicator and breakout system is made to avoid, as much as possible, false signal generated from side movement.
Settings
Trendycator usually doesn’t need to set anything.
This because we believe that the user have to searching for the charts where it works well and never "overfitting" the system on a chart.
Overfitting never work as a long time and in the first step for loosing money.
In Tradingview we decide to let the possibilities to set two parameters: "Period_UP" and "Period_DN".
The reason is because this can be adjusted slightly for testing in intraday, but we recommend to manipulate as less as possible.
Period UP/DN meaning: Period_UP are the number of bars considered for swing high detection and Period_DN is the number of bar that Trendycator use for swing low detection.
Important usage note
Trendycator was born and tested in weekly timeframe and works in daily as well. Intraday charts, normally have high volatility that is the opposite of trend; weekly, or daily bars reduce the noise.
Trendycator is tested, and used, in Etf and stocks.
Trendycator is tested, and used, for long operation only.
Trendycator is not tested in different timeframe from what explained above, or chart type different from bars (eg. Renko or Heikin Ashi).
Trendycator is not tested in instrument different from what listed above: like future or Forex.
Trendycator is not tested for short operation. Normally short have very strong movement in less time that is different from trend following concept.
Entry/Exit recommended filters
Investor and traders are free to use and interpretate Trendycator as they feel more confortable but, we recommend to apply some filters on entry and exit.
As you can see in example, we use a trigger for enter in position (not plotted by this indicator).
The high of first green bar is the trigger level for entry: the long position will be in Buy Stop above this level.
The low of first red bar is the trigger level for exit: the long position will be exit in Stop after this level.
Use this trigger criteria is useful to avoid, once more, the false signal.
Conclusion
Trendycator do not provide any guarantees regarding your ability to obtain results or earn money with our ideas, information, tools or strategies.
Nothing on our content makes any promise or guarantee of future results or earnings.
You alone are responsible for your decisions, actions and results in life, and using our code you agree that you will not attempt to hold us responsible for your decisions, actions or results, at any time, under any circumstances.
Fetch ATR + MA StrategyA trend following indicator that allows traders/investors to enter trades for the long term, as it is mainly tested on the daily chart. The indicator fires off buy and sell signals. The sell signals can be turned off as trader can decide to use this indicator for long term buy signals. The buy signals are indicated by the green diamonds, and the red diamonds show the points on then chart where the asset can be sold.
The indicator uses a couple indicators in order to generate the buy signals:
- ADX
- ATR
- Moving Average of ATR
- 50 SMA
- 200 SMA
The buy signal is generated at the cross overs of the 50 and 200 SMA's while the ATR is lower than then Moving Average of the ATR. The buy signal is fired when these conditions are met and if the ADX is lower than 30.
The thought process is as follows:
When the ATR is lower than its moving average, the price should be in a low volatilty environment. An ADX between 25 and 50 signals a Strong trend. Every value below 25 is an absent or weak trend. So entering a trade when the volatilty is still low but increasing, you'll be entering a trade at the start of a new uptrend. This mechanism also filters out lots of false signals of the simple cross overs.
The sell signals are fired every time the 50 SMA drops below the 200 SMA.
TrendDECODER by MetaSignalsProTrendDECODER
The fastest indicator to detect trends and price ranges
-------------------------------------------------------------------
✔️ Identify ranges and the next probable direction
✔️ Get the earliest signals and the strength of Trends
✔️ Get clear exits signals before reversal
✔️ Spot the Fibo levels the price will test
-------------------------------------------------------------------
📌 What is it about ?
--------------------------
TrendDECODER is a concentrate of multiple innovations to make Trend following simple and easy.
Please see in the 🛠️ Calculation & Precisions section at the end of this page to know more how they work.
👉 With the GreyBox - identify when the market gets out of the Trend with a new sequence of transition. Check if the market is in Range, Continuation or Reversal (Up or Down) and wait for the closing of the box to get the Trend signal.
👉 With the DecoderSignals & Blue/Orange Clouds - once the GreyBox has delivered its message, get the new direction of the Trend and see the probable zones of pull backs during the current direction.
👉 With the Projective TrendLine - see before it happens the direction and the possible angle of the Trend with its probable range.
👉 With the RealTime TrendLine vs the Projective TrendLine - adjust immediately if the market accelerates North or South.
👉 With the RealTime TrendLine Crossing - detect at the earliest the moment the Trend gets out of track, to get out of the train.
👉 With the FiboLevels - spot immediately which price levels the market will test.
📌 For which asset?
-----------------------
TrendDECODER is universal : it works fine on all assets and all time-frames;
☝️ always work on a multi-timeframe environment to minimize risk;
📌Why we made these innovations?
---------------------------------------------
Because the trend indicators that we know, lag a lot and do not clearly identify ranges!
We need much more powerful tools than Supertrend or a couple of moving averages crossings to get this done.
📌 How to trade with TrendDECODER?
----------------------------------------------
🔹 Strategy #1: Trend Following : DecoderSignals & Blue/Orange Clouds
----------------------------------------------------------------------------------------
The GreyBOX has given the next probable movement and the Signal of a Trend in on.
The RealTime TrendLine guides us on the pace of this movement and the Blue/ Orange/Cloud figures the support/resistance of this movement.
It will be wise not to jump immediately in the Trend as the signal appears as the price will very probably make a pullback in direction of the cloud first.
🔹 Strategy #1: Checklist
📍 Set a Multi Time Frame environment
📍 Main Time Frame and the Upper Time Frame are moving in the same direction (Up or Down)
📍 Main Time Frame: appearance of the « TrendUp Signal » or the « TrendDown Signal »
📍 Entry:
☝️ buying « at Market » immediately on a « Trend Signal » is quite risky as many times the price will pull back near the Clouds
👉 a good option is to buy 1/2 the position at market on signal
👉 and 1/2 after the first pull back
📍 First Stop Loss: place your SL under the lower border of the GreyBox for an expected TrendUp or the higher border for an expected TrendDown
📍 BreakEven: when the price reaches your Risk/Reward ratio of 1 = Distance StopLoss vs Entry = Distance Current Price vs Entry
📍 Trailing Stop: just under the lowest border of the Blue Cloud (TrendUp) or the highest border of the Orange Cloud (TrendDown)
📍 TakeProfits: in a TrendUP, place your take profits just under the FibosLevels in order not to get exited (and above in a TrendDOWN)
📍 Exits:
👉 Early option : Crossing of the RealTime TrendLine
👉 Late option : Crossing of the Blue/Orange cloud
🔹 Strategy #2: Early Trend following : RealTime TrendLine Crossing
-------------------------------------------------------------------------------------
With this simple tool, get a very early signal of a probable inversion of the current Trend, way before the Decoder Signal is shown, once confirmed by the GreyBOX.
🔹 Strategy #2: Checklist
📍 Set a Multi Time Frame environment
📍 Main Time Frame and the Upper Time Frame are moving in the same direction (Up or Down)
📍 Entry (Main Time Frame): wait for the Close crossing over the ReaTime TrendLine in an expected TrendUp (under for a TrendDown )
📍 First Stop Loss (Main Time Frame):
👉 place your SL under the lower low of the GreyBOX (for an expected TrendUp) or the higher high (for an expected TrendDown)
📍 BreakEven: move your SL to Entry price when the price reaches your Risk/Reward ratio of 1 = Distance StopLoss vs Entry = Distance Current Price vs Entry
📍 Trailing Stop: just under the lowest border of the Blue Cloud (TrendUp) or the highest border of the Orange Cloud (TrendDown)
📍 TakeProfits: in a TrendUP, place your take profits just under the FibosLevels in order not to get exited (and above in a TrendDOWN)
📍 Exits:
👉 Early option : Crossing of the RealTime TrendLine
👉 Late option : Crossing of the Blue/Orange cloud
🎛️ Configuration
---------------------
Well, basically you do not have to do anything !
But you can make TrendDECODER perfectly yours with a few switches in the configuration panel to make appear or disappear each one of the elements composing TrendDECODER.
🛠️ Calculation & Precisions
------------------------------------
🔹 Blue/Orange Clouds
The Blue/Orange Clouds are a proprietary synthesis of Price Action and Volume Exchange in real time.
🔹 Projective TrendLine
As soon as a new high or a new low has been reached during the last move, TrendDECODER traces a possible angle of the future movement based on the pace of the last one in the same direction.
The distance between the Projective TrendLine and the Last Lowest (resp. Highest) gives you a possible bottom (resp. top) of the price range.
🔹 RealTime TrendLine
As soon as the Decoder GreyBox has delivered its information i.e Range/Continuation/ReversalUp/ReversalDown and that a New High (resp. New Low) has been reached, the RealTime TrendLine starts to show the pace and the angle of the new movement based on a linear regression adanced concept.
The angles of the Projective and the RealTime TrendLine can be identical, telling you that the market moves smoothly in a global consensus. It can be a smart Trailing Stop Loss.
Or these angles can be very different and it will call your maximum attention. You might want to switch to a superior timeframe to get the bigger picture.
🔹 FiboLevels
Once a new Trend is signaled, the levels of Fibonnaci are automatically placed.
They are calculated on the last Highest and Lowest of the former movement.
Lorentzian Classification Strategy Based in the model of Machine learning: Lorentzian Classification by @jdehorty, you will be able to get into trending moves and get interesting entries in the market with this strategy. I also put some new features for better backtesting results!
Backtesting context: 2022-07-19 to 2023-04-14 of US500 1H by PEPPERSTONE. Commissions: 0.03% for each entry, 0.03% for each exit. Risk per trade: 2.5% of the total account
For this strategy, 3 indicators are used:
Machine learning: Lorentzian Classification by @jdehorty
One Ema of 200 periods for identifying the trend
Supertrend indicator as a filter for some exits
Atr stop loss from Gatherio
Trade conditions:
For longs:
Close price is above 200 Ema
Lorentzian Classification indicates a buying signal
This gives us our long signal. Stop loss will be determined by atr stop loss (white point), break even(blue point) by a risk/reward ratio of 1:1 and take profit of 3:1 where half position will be closed. This will be showed as buy.
The other half will be closed when the model indicates a selling signal or Supertrend indicator gives a bearish signal. This will be showed as cl buy.
For shorts:
Close price is under 200 Ema
Lorentzian Classification indicates a selling signal
This gives us our short signal. Stop loss will be determined by atr stop loss (white point), break even(blue point) by a risk/reward ratio of 1:1 and take profit of 3:1 where half position will be closed. This will be showed as sell.
The other half will be closed when the model indicates a buying signal or Supertrend indicator gives a bullish signal. This will be showed as cl sell.
Risk management
To calculate the amount of the position you will use just a small percent of your initial capital for the strategy and you will use the atr stop loss or last swing for this.
Example: You have 1000 usd and you just want to risk 2,5% of your account, there is a buy signal at price of 4,000 usd. The stop loss price from atr stop loss or last swing is 3,900. You calculate the distance in percent between 4,000 and 3,900. In this case, that distance would be of 2.50%. Then, you calculate your position by this way: (initial or current capital * risk per trade of your account) / (stop loss distance).
Using these values on the formula: (1000*2,5%)/(2,5%) = 1000usd. It means, you have to use 1000 usd for risking 2.5% of your account.
We will use this risk management for applying compound interest.
> In settings, with position amount calculator, you can enter the amount in usd of your account and the amount in percentage for risking per trade of the account. You will see this value in green color in the upper left corner that shows the amount in usd to use for risking the specific percentage of your account.
> You can also choose a fixed amount, so you will have to activate fixed amount in risk management for trades and set the fixed amount for backtesting.
Script functions
Inside of settings, you will find some utilities for display atr stop loss, break evens, positions, signals, indicators, a table of some stats from backtesting, etc.
You will find the settings for risk management at the end of the script if you want to change something or trying new values for other assets for backtesting.
If you want to change the initial capital for backtest the strategy, go to properties, and also enter the commisions of your exchange and slippage for more realistic results.
In risk managment you can find an option called "Use leverage ?", activate this if you want to backtest using leverage, which means that in case of not having enough money for risking the % determined by you of your account using your initial capital, you will use leverage for using the enough amount for risking that % of your acount in a buy position. Otherwise, the amount will be limited by your initial/current capital
I also added a function for backtesting if you had added or withdrawn money frequently:
Adding money: You can choose how often you want to add money (Monthly, yearly, daily or weekly). Then a fixed amount of money and activate or deactivate this function
Withdraw money: You can choose if you want to withdraw a fixed amount or a percentage of earnings. Then you can choose a fixed amount of money, the period of time and activate or deactivate this function. Also, the percentage of earnings if you choosed this option.
Some other assets where strategy has worked
BTCUSD 4H, 1D
ETHUSD 4H, 1D
BNBUSD 4H
SPX 1D
BANKNIFTY 4H, 15 min
Some things to consider
USE UNDER YOUR OWN RISK. PAST RESULTS DO NOT REPRESENT THE FUTURE.
DEPENDING OF % ACCOUNT RISK PER TRADE, YOU COULD REQUIRE LEVERAGE FOR OPEN SOME POSITIONS, SO PLEASE, BE CAREFULL AND USE CORRECTLY THE RISK MANAGEMENT
Do not forget to change commissions and other parameters related with back testing results!. If you have problems loading the script reduce max bars back number in general settings
Strategies for trending markets use to have more looses than wins and it takes a long time to get profits, so do not forget to be patient and consistent !
Please, visit the post from @jdehorty called Machine Learning: Lorentzian Classification for a better understanding of his script!
Any support and boosts will be well received. If you have any question, do not doubt to ask!
Momentum Covariance Oscillator by TenozenWell, guess what? A new indicator is here! Again it's a coincidence, as I experiment with my formula. So far it's less noisy than Autoregressive Covariance Oscillator, so possibly this one is better. The formula is much simpler, care me to explain.
___________________________________________________________________________________________________
Yt = close - previous average
Val = Yt/close
___________________________________________________________________________________________________
Welp that's the formula lol. Funny thing is that it's so simple, but it's good! What matters is the use of it haha.
So how to use this Oscillator? If the value is above 0, we expect a bullish response, if the value is below 0 we expect a bearish response. That simple. Ciao.
(Any questions and suggestions? feel free to comment!)
Know the trend - KTT---------- ENGLISH -----------
This indicator combines the values of four common indicators (MACD, MACD signal, normalized RSI and linear regression) to provide a unified view of the market trend. The indicator calculates the average of the rescaled values of these four indicators and plots it on the chart as a line that changes color based on its position relative to 0. If the line is above 0, it is colored black to indicate a bullish trend. If the line is below 0, it is colored red to indicate a bearish trend. The user can enter a value for the length of the indicator to customize the time period used for calculating the underlying indicators. The indicator works on any time frame.
---------- ITALIANO -----------
Questo indicatore combina i valori di quattro indicatori comuni (MACD, segnale MACD, RSI normalizzato e regressione lineare) per fornire una visione unificata del trend del mercato. L’indicatore calcola la media dei valori riscalati di questi quattro indicatori e la disegna sul grafico come una linea che cambia colore in base alla sua posizione rispetto allo 0. Se la linea è sopra lo 0, viene colorata di nero per indicare un trend rialzista. Se la linea è sotto lo 0, viene colorata di rosso per indicare un trend ribassista. L’utente può inserire un valore per la lunghezza dell’indicatore per personalizzare il periodo di tempo utilizzato per il calcolo degli indicatori sottostanti. L’indicatore funziona su ogni time frame.