TSF 20What kind of traders/investors are we?
We are trend followers. We look for assets that are outperforming the market. Our scripts are designed to be used on the higher timeframes (weekly/daily) to catch the large moves/trends in the market.
Our scripts have been designed to help you follow the trend in an asset.
What does this script do?
This script is designed to colour candles on a chart based on their position relative to two sets of Bollinger Bands. Here's a breakdown of how it functions:
Bollinger Bands Setup:
The script uses two sets of Bollinger Bands, both with a length of 20 and based on the closing prices of candles.
The first set of Bollinger Bands uses a standard deviation (StdDev) of 1.
The second set uses a standard deviation of 2.
Neither set of bands is displayed on the chart.
Coloring Candles:
Green Candle: A candle is coloured green if its close is above the upper Bollinger Band with StdDev 1 but below the upper Bollinger Band with StdDev 2. This indicates a moderately bullish sentiment.
Dark Green Candle: A candle is colored dark green when its close is above the upper Bollinger Band with StdDev 2. This implies a stronger bullish sentiment.
Red Candle: A candle is coloured red if its close is below the lower Bollinger Band with StdDev 1 but above the lower Bollinger Band with StdDev 2. This indicates a moderately bearish sentiment.
Dark Red Candle: A candle is colored dark red if its close is below the lower Bollinger Band with StdDev 2, indicating a stronger bearish sentiment.
Grey Candle: A candle is coloured grey if it closes between the upper and lower Bollinger Bands with StdDev 1. This usually signifies a neutral market condition or periods of consolidation.
In summary, this script is an analytical tool that visually represents the market's bullishness or bearishness relative to the Bollinger Bands, without displaying the bands themselves. It's designed to help investors quickly assess market conditions and sentiment based on the colour-coded representation of price action in relation to these volatility bands.
What makes this script unique?
Innovative Color-Coding System: Candles are colored in varying shades of green and red, providing an immediate visual cue about the market's bullish or bearish tendencies. A neutral grey is also used, offering a quick assessment of market indecision or consolidation phases.
Dual Bollinger Band Analysis: Utilizes two sets of Bollinger Bands (StdDev 1 and StdDev 2) to gauge market volatility and sentiment. This dual-band approach enhances the precision of sentiment analysis compared to using a single standard deviation.
Customizable and Non-Obtrusive: Designed to keep your charts clean and readable. The Bollinger Bands themselves are not displayed, reducing visual clutter and allowing for a focus on price action.
Versatile and Adaptable: Suitable for various trading styles and timeframes. Whether you are a short-term or long-term investor, this indicator can be seamlessly integrated into your analysis toolkit.
Valuable Addition to Market Analysis: Enhances traditional candlestick analysis and complements other technical indicators and strategies. It offers an additional layer of understanding market dynamics and can be used to confirm or question other signals.
How It Adds Value:
Enhanced Visual Analysis: By colour-coding candles based on Bollinger Band positioning, it simplifies the interpretation of market sentiment and volatility, making it easier to spot trends and reversals.
Strategic Decision Making: Helps traders make more informed decisions by clearly highlighting bullish and bearish strength, or lack thereof, in the market.
Time Efficiency: Reduces the time spent analyzing charts by providing an immediate visual representation of market conditions.
Originality: Offers a fresh perspective and an innovative approach to using Bollinger Bands, making it a unique addition to the community's toolbox.
Trendfilter
PB wTF50What kind of traders/investors are we?
We are trend followers, always on the lookout for the next big move in the market. Our scripts are meticulously crafted for higher timeframes (daily, weekly, monthly) aiming to capture the large market trends.
What does this script do?
The Pb wTF50 script simplifies the complex world of investing by colour-coding bars to indicate the trend direction. Green bars signify a bullish trend, red indicates a bearish trend, and a combination of both signifies a sideways market. This visual representation ensures investors can quickly gauge the market's direction and act accordingly.
How is the PB wTF50 produced?
The PB wTF50 script employs the simple moving averages (SMAs) as its backbone. Bars positioned above both the SMAs turn green, indicating a bullish trend. Conversely, bars below these SMAs turn red, signalling a bearish trend.
What is the best timeframe to use the script?
The PB wTF50 script is designed for the weekly timeframe. This ensures that traders and investors are aligned with the long-term market trend, filtering out the noise of shorter timeframes.
What makes this script unique?
The challenges of identifying the onset, progression, and culmination of trends are well-known in the investing community. The PbF script addresses these challenges head-on.
The PB wTF50 is not a lagging indicator. It is aligned with price movement, which helps investors and traders focus on what the asset’s price is doing. The asset’s price is the primary indicator of its direction.
Lagging indicators can be used alongside the PB wTF50 to confirm the asset’s direction.
The PBwTF50 continues to remain green during extended periods of bullish pullbacks and red during extended periods of bearish pullbacks. This helps investors and traders hold positions during corrections in the market.
When interacting with OB/OS zones, investors and traders are positioned to align with the trend and ignore short-term fluctuations against the trend.
The PB wTF50 can be used to enter additional positions, also known as compounding, when an asset’s price has pulled back into an OS zone, but the trend filter has remained green in a bull trend/OB zone, but the trend filter has remained red in a bear trend.
In essence, the PB wTF50 script is a trend filter that gives investors and traders the ability to apply discretion with the start and end of long-term trends as they develop.
Extreme Entry with Mean Reversion and Trend FilterThis non-repainting indicator is an improved version of my previous work, a more versatile tool designed to provide traders with dynamic and adaptive entry signals while incorporating a mean reversion and trend filtering mechanism. By combining RSI overbought/oversold, regular divergence and confirmatory momentum oscillator such as CCI or MOM, this indicator generates more precise and timely signals for entering trades.
The indicator offers a comprehensive set of entry conditions for both Buy and Sell entries:
• For Buy entries, it checks for oversold conditions based on RSI levels, and detects bullish divergence patterns while oversold and it identifies upward crossovers in the selected entry signal source (CCI or Momentum).
• Similarly, for Sell entries, it identifies downward crossovers of the CCI or Mom, after the recent overbought conditions, and bearish divergence patterns inside the overbought RSI.
To refine the entry signals even further, the indicator utilizes a mean reversion filter. Traders can choose to display signals that occur inside or outside the upper and lower mean reversion bands:
• Range Entries are indicating potential buying opportunities near the lower band and selling opportunities near the upper band. This is based on the concept of mean reversion, which suggests that prices tend to return to the average when they reach the upper or lower bands. By focusing on these signals, traders can take advantage of price movements that have a higher probability of reversing towards the mean.
• Extreme Entries, on the other hand, represent signals that occur outside of the bands, signaling potential pullbacks during strong trends. By entering positions only at extreme highs or lows, traders can avoid getting caught in the middle of the trend. This approach helps traders capitalize more favorable trading opportunities which have a high reward-risk ratio.
Trend Filter acts as a directional bias for the entry signals. When enabled, long and short entry conditions are filtered based on the relationship between the closing price and the EMA.
Traders have the flexibility to customize, tweak the indicator filter and values in the settings according to their preferences strategies and traded assets, tailoring the signals to their specific needs. The script sets alert conditions to trigger alerts for buy, sell, or both entry signals. This indicator can be used in conjunction with price action or other technical analysis tools for confirmation and better trading decisions.
I created this indicator for my own use, and I share this for informational purposes only. It does not constitute financial advice so use at your own risk and consider your financial situation before making any trading decisions. The indicator's accuracy is not guaranteed, and past performance is not indicative of future results.
I appreciate your feedback on this indicator. As I am new to script development, I am open to comments and suggestions to improve it. If you encounter any issues while using this indicator, please let me know in the comments section. If you find it helpful, I kindly ask for your support in boosting it. Thank you for your cooperation.
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.
Moving Average-TREND POWER v2.0-(AS)HELLO:
-This indicator is a waaaay simpler version of my other script - Moving Average-TREND POWER v1.1-(AS).
HOW DOES IT WORK:
-Script counts number of bars below or above selected Moving Average (u can se them by turning PLOT BARS on). Then multiplies number of bars by 0.01 and adds previous value. So in the uptrend indicator will be growing faster with every bar when price is above MA. When MA crosess price Value goes to zero so it shows when the market is ranging.
If Cross happens when number of bars is higher than Upper threshold or below Lower threshold indicator will go back to zero only if MA crosses with high in UPtrend and low in DNtrend. If cross happens inside THSs Value will be zero when MA crosses with any type of price source like for example (close,high,low,ohlc4,hl etc.....).This helps to get more crosess in side trend and less resets during a visible trend
HOW TO SET:
Just select what type of MA you want to use and Length. Then based on your preference set values of THSs'
OTHER INFORMATIONS:
-Script was created and tested on EURUSD 5M.
-For bigger trends choose slowerMAs and bigger periods and the other way around for short trends (FasterMAs/shorter periods)
-Below script code you can find not used formulas for calculating indicator value(thanks chat GPT), If you know some pinescript I encourage you to try try them or maybe bulid better ones. Script uses most basic one.
-Pls give me some feedback/ideas to improve and check out first version. Its way more complicated for no real reason but still worth to take a look'
-Also let me know if you find some logical errors in the code.
Enjoy and till we meet again.
Moving Average - TREND POWER v1.1- (AS)0)NOTE:
This is first version of this indicator. It's way more complicated than it should be. Check out Moving Average-TREND POWER v2.1-(AS), its waaaaay less complicated and might be better.Enjoy...
1)INTRODUCTION/MAIN IDEA:
In simpliest form this script is a trend indicator that rises if Moving average if below price or falling if above and going back to zero if there is a crossover with a price. To use this indicator you will have to adjust settings of MAs and choose conditions for calculation.
While using the indicator we might have to define CROSS types or which MAs to use. List of what cross types are defined in the script and Conditiones to choose from.The list will be below.
2) COMPOSITION:
-MA1 can be defined by user in settings, possible types: SMA, EMA, RMA, HMA, TEMA, DEMA, LSMA, WMA.
-MA2 is always ALMA
3) OVERLAY:
Default is false but if you want to see MA1/2 on chart you can change code to true and then turn on overlay in settings. Most plot settings are avalible only in OV=false.
if OV=true possible plots ->MA1/2, plotshape when choosen cross type
if OV=false -> main indicator,TSHs,Cross counter
4)PRESETS :
Indicator has three modes that can be selected in settings. First two are presets and do not require selecting conditions as they set be default.
-SIMPLE - most basic
-ABSOLUTE - shows only positive values when market is trending or zero when in range
-CUSTOM - main and the most advanced form that will require setting conditions to use in calculating trend
4.1)SIMPLE – this is the most basic form of conditions that uses only First MA. If MA1 is below selected source (High/Low(High for Uptrend and Low for DNtrend or OHLC4) on every bar value rises by 0.02. if it above Low or OHLC4 it falls by 0.02 with every bar. If there is a cross of MA with price value is zero. This preset uses CROSS_1_ULT(list of all cross types below)
4.2) ABSOLUTE – does not show direction of the trend unlike others and uses both MA1 and MA2. Uses CROSS type 123_ULT
4.3) CUSTOM – here we define conditions manually. This mode is defined in parts (5-8 of description)
5)SETTINGS:
SOURCE/OVERLAY(line1) – select source of calculation form MA1/MA2, select for overlay true (look point 3)
TRESHOLDS(line2). – set upper and lower THS, turn TSHs on/off
MA1(line3) – Length/type of MA/Offset(only if MA type is LSM)
MA2(line4) – length/offset/sigma -(remember to set ma in the way that in Uptrend MA2MA1 in DNtrend)
Use faster MA types for short term trends and slower types / bigger periods for longer term trends, defval MA1/2 settings
are pretty much random so using them is not recomended.
CROSSshape(line5) – choose which cross type you want to plot on chart(only in OV=true) or what type you want to use in counting via for loops,
CROSScount(line6) – set lookback for type of cross choosen above
BOOLs in lines 5 and 6 - plotshape if OV=true/plot CROSScount histogram (if OV=false)
Lines 7 and 8 – PRESET we want to use /SRC for calculation of indicator/are conditions described below/which MAs to use/Condition for
reducing value t 0 - (if PRESET is ABSOLUTE or SIMPLE only SRC should be set(Line 8 does not matter if not CUSTOM))
5)SOURCE for CONDS:
Here you can choose between H/L and OHLC. If H/L value grow when MAlow. If OHLC MAOHLC. H/L is set by default and recommended. This can be selected for all presets not only CUSTOM
6)CROSS types LIST:
“1 means MA1, 2 is MA2 and 3 I cross of MA1/MA2. L stands for low and H for high so for example 2H means cross of MA2 and high”
NAME -DEFINITION Number of possible crosses
1L - cross of MA1 and low 1
1H - cross of MA1 and high 1
1HL - cross of MA1 and low or MA1 and high 2 -1L/1H
2L - cross of MA2 and low 1
2H - cross of MA2 and high 1
2HL - cross of MA2 and low or MA1 and high 2 -2L/2H
12L - cross of MA1 and low or MA2 and low 2 -1L/2L
12H - cross of MA1 and high or MA2 and high 2 -1H/2H
12HL - MA1/2 and high/low 4 -1H/1L/2H/2L
3 -cross of MA1 and MA2 1
123HL -crosses from 12HL or 3 5 -12HL/3
1_ULT - cross of MA1 with any of price sources(close,low,high,ohlc4 etc…)
2_ULT - cross of MA2 with any of price sources(close,low,high,ohlc4 etc…)
123_ULT – all crosses possible of MA1/2 (all of the above so a lot)
7)CRS CONDS:
“conditions to reduce value back to zero”
>/< - 0 if indicator shows Uptrend and there’s a cross with high of selected MA or 0 if in DNtrend and cross with low. Better for UP/DN trend detection
ALL – 0 if cross of MA with high or low no matter the trend, better for detecting consolidation
ULT – if any cross of selected MA, most crosses so goes to 0 most often
8)MA selection and CONDS:
-MA1: only MA1 is used,if MA1 below price value grows and the other way around
MA1price =-0.02
-MA2 – only MA2 is used, same conditions as MA1 but using MA2
MA2price =-0.02
-BOTH – MA1 and MA2 used, grows when MA1 if below, grows faster if MA1 and MA2 are below and fastest when MA1 and MA2 are below and MA2price=-0.02
-MA1 and MA2 >price=-0.03
-MA1 and MA2 ?price and MA2>MA1=-0.04
9)CONDITIONS SELECTION SUMMARRY:
So when CUSTOM we choose :
1)SOURCE – H/L or OHLC
2)MAs – MA1/MA2/BOTH
3)CRS CONDS (>/<,ALL,ULT)
So for example...
if we take MA1 and ALL value will go to zero if 1HL
if MA1 and >/< - 0 if 1L or 1H (depending if value is positive or negative).(1L or 1H)
If ALL and BOTH zero when 12HL
If BOTH and ULT value goes back to zero if Theres any cross of MA1/MA2 with price or cross of MA1 and MA2.(123_ULT)
If >/< and BOTH – 0 if 12L in DNtrend or 12H if UPtrend
10) OTHERS
-script was created on EURUSD 5M and wasn't tested on different markets
-default values of MA1/MA2 aren't optimalized so do not
-There might be a logical error in the script so let me know if you find it (most probably in 'BOTH')
-thanks to @AlifeToMake for help
-if you have any ideas to improve let me know
-there are also tooltips to help
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
Williams %R + Keltner chanells - indicator (AS)1)INDICATOR ---This indicator is a combination of Keltner channels and Williams %R.
It measures trend using these two indicators.
When Williams %R is overbought(above upper line (default=-20)) and Keltner lower line is below price indicator shows uptrend (green).
When Williams %R is oversold(below lower line (default=-80)) and Keltner upper line is above price indicator shows downtrend (red) .
Can be turned into a strategy quickly.
2) CALCULATIONS:
Keltner basis is a choosen type of moving average and upper line is basis + (ATR*multiplier). Same with lower but minus instead of plus so basiss – (ATR*multiplier)
Second indicator
Williams %R reflects the level of the close relative to the highest high for the lookback period
3)PLS-HELP-----Looking for tips, ideas, sets of parameters, markets and timeframes, rules for strategy -------OVERALL -every advice you can have
4) SIGNALS-----buy signal is when price is above upper KC and Williams %R is above OVB(-20). Short is exactly the other way around
5) CUSTOMIZATION:
-%R-------LENGTH/SMOOTHING/TYPE SMOOTHING MA
-%R-------OVS/MID/OVB -(MID-no use for now)
-KC -------LENGTH/TYPE OF MAIN MA
-KC-------MULTIPLIER,ATR LENGTH
-OTHER--LENGTH/TYPE OF MA - (for signal filters, not used for now)
-OTHER--SOURCE -src of calculations
-OTHER--OVERLAY - plots %R values for debugging etc(ON by default)
6)WARNING - do not use this indicator on its own for trading
7)ENJOY
Normalized VolatilityOVERVIEW
The Normalized Volatility indicator is a technical indicator that gauges the amount of volatility currently present in the market, relative to the average volatility in the market. The purpose of this indicator is to filter out with-trend signals during ranging/non-trending/consolidating conditions.
CONCEPTS
This indicator assists traders in capitalizing on the assumption that trends are more likely to start during periods of high volatility compared to periods of low volatility. This is because high volatility indicates that there are bigger players currently in the market, which is necessary to begin a sustained trending move.
So, to determine whether the current volatility is "high", it is compared to an average volatility for however number of candles back the user specifies.
If the current volatility is greater than the average volatility, it is reasonable to assume we are in a high-volatility period. Thus, this is the ideal time to enter a trending trade due to the assumption that trends are more likely to start during these high-volatility periods.
HOW DO I READ THIS INDICATOR
When the column's color is red, don't take any trend trades since the current volatility is less than the average volatility experienced in the market.
When the column's color is green, take all valid with-trend trades since the current volatility is greater than the average volatility experienced in the market.
NLX Trading Bot Framework (+Trend Score & QQE)- Demo of my NLX Modular Trading Framework -
It includes all the common indicators and creates a positive or negative score, which can be used with my Modular Trading Framework and linked to an entry/exit indicator to filter out buy/sell signals if the trend is not favorable.
Combination of:
SuperTrend
VWAP Bands
Relative Strength Index ( RSI )
Commodity Channel Index ( CCI )
William Percent Range (WPR)
Directional Movement Index (DMI)
Elder Force Index ( EFI )
Momentum
Demarker
Parabolic SAR
- Getting Started -
1. Add this Trend Index to your Chart
2. Add one of my Indicator Modules to your Chart, such as the QQE++ Indicator
3. In the QQE Indicator Settings combine it with the Trend Index (and choose L1 Type)
4. Optional: Add the Noise Filter, and in the Noise Filter Settings you select the QQE Indicator as combination (and choose L2 for Type)
5. Add the Backtest Module to your Chart
6. Select the Noise Filter in the Backtest Settings
- Access -
Only as part of the NLX Framework - see my signature below for more info.
[Fedra Algotrading Super Duper Trend Filter]All-in-one trend filter
Trend-following strategies are relatively easy to achieve, especially in backtesting. If only we knew what trend we were in! Let me help you:
- MAs crossovers
- Selection of the type of MAs
- Selection of MAs periods
-Super trend (optional)
-Trend zones based on trend lines (optional)
- Secret sauce
How to use it?
Do not open Longs if it is red
Don't open Shorts if it's green.
Apply it to your strategies and check the impact of a reliable trend filter before opening your entries.
Volume OximeterOVERVIEW
The Volume Oximeter (VOXI) is a technical indicator that gauges the amount of volume currently present in the market, relative to the historical volume that was present before. The purpose of this indicator is to filter out with-trend signals during ranging/non-trending conditions.
CONCEPTS
This indicator assumes that trends are more likely to start during periods of high volume, compared to during periods of low volume. This is because high volume indicates that there are bigger players currently in the market, which is necessary to begin a sustained trending move.
So, to determine whether the current volume is "high", it is compared to an average volume for however number of candles back the user specifies.
If the current volume is greater than the average volume, it is reasonable to assume we are in a high volume period. Thus, this is the ideal time to enter a trending trade due to the assumption that trends are more likely to start during these high volume periods.
The default values in the indicator are designed for use on the daily chart but can be applied to any timeframe.
The default volume lookback period is 259 since there are usually 259 daily candles in a year on Forex daily charts. This means that the average volume will represent the average volume over the past year. This would be 365 on Crypto daily charts, since the Crypto is open 24/7 instead of 24/5). This is what the current volume will be compared to.
The default smoothing lookback period is 10, but this can be adjusted depending on the indicator that's giving you your with-trend signals. After my backtesting, 10 was the best value for my with-trend indicator, so you should do your own testing to see which value works best with your with-trend indicator.
HOW DO I READ THIS INDICATOR?
If the VOXI line is above or equal to zero (indicated by the blue color), the current volume is greater than the historical average volume.
This is a good time to take with-trend signals since high volume is necessary for sustained trending moves to begin.
If the VOXI line is below zero (indicated by the red color), the current volume is less than the historical average volume.
This is a good time to ignore with-trend signals since an absence of volume indicates that there aren't big market participants to participate in a new trending move.
Fractal Dimension Index The Fractal Dimension Index is a technical indicator that gauges the amount of volatility currently present in the market.
The theory behind this indicator is that a value of 1.5 suggests the market is acting in a completely random fashion. As the market deviates from 1.5, the opportunity for earning profits is increased in proportion to the amount of deviation.
Keep in mind that the indicator does not show the direction of trends ! Although you can try to test it as a trend-following indicator that gives trend-following signals, that isn't the intended use of the indicator.
The Fractal Dimension Index is red when the market is in a trend. And it is blue when there is high volatility. When the Fractal Dimension Index changes its color from red to blue , it means that a trend is finishing. The market becomes erratic and high in volatility when the Fractal Dimension Index is blue . Usually, these "blue periods" do not go on for a long time, they come before a new trend.
So, look for trend-following signals while the Fractal Dimension Index is blue since this indicates high volatility before a potential trend, and avoid trend-following signals when the Fractal Dimension Index is red since this indicates a ranging/non-trending market or a trend that started long ago.
[Fedra Algotrading 2TPs]This strategy uses the deviation of a simple linear regression to determine the entry point into a short-term trend. It also includes an intelligent trend filter (SMA, WMA, Super trend and MACD), to determine the dominant trend over a longer time frame and avoid opening trades against the market.
It manages capital by dividing the position into 2 take profits, the first one configurable in a fixed percentage, which will sell half of the position, and the second one that will trigger a trailing take profit once the desired percentage is reached, with the rest of the position.
Each parameter is optimizable to adapt it to the desired market, but this strategy benefits from the high volatility of mid and low capitalization cryptocurrencies due to their higher volatility.
It also includes tools to adjust the backtests, and command inputs so that the script can automatically work with bots.
Williams Alligator Trend FilterI've edited the normal Bill Williams Alligator indicator to have a color fill that indicates the trend. There is a percentage range filter which checks if the 2 outer lines are enough far away from eachother to indicate a trend. The indicator also checks if the lines are below or above eachother in the right order as a last check to confirm Trend
MACD Cross [Momentum & Trend Filter]This is MTF MACD crossover and crossunder, with EMA trend filter and MTF RSI overbought/oversold filter.
Guidelines:
- User can set stop loss, take profit target and risk to reward ratio in setting
- ATR Stop and ATR Multiplier are use to set stop loss and take profit levels, setting are varies depend on what you are trading, play around and find appropriate number
- Don't trade if range between stop loss and target profit are too small or if there are too many small range try to increase multiplier
- If MACD Zero Line Filter enable, detect MACD crossover only under zero line for LONG, and detect MACD crossunder only above zero line for SHORT
- If EMA Trend Filter enable, detect MACD crossover which price above EMA for LONG, and detect MACD crossunder which price below EMA for SHORT
- RSI timeframe 1-3 should not lower than chart timeframe to display Overbought and Oversold correctly
- Enable MTF Overbought and Oversold just to display red background for Overbought, and green background for Oversold
There are 3 alert options:
(For those free user which can get only 1 alert, please choose "MACD crossover & crossunder" if you want to get alert for both long and short directions)
Have fun :)
Nearest Percentile Moving Average BandsWhile coding some filters into another indicator for Long/Short I noticed that ta.nearest.percentile might be the most useful tool in pinescript I've ever encountered.
While percentile_nearest can be used for all kind of things I decided to code moving averages from it and made bands for bottom percentage and top percentage.
The indicator will calculate the top % price of the given bar length.
Example settings:
length: 150
percentile: 99
So when using 99% it will draw a green line when price is moving above the top 1% price of the last 150 candles. It then calculates if the price is below the bottom 1% of the last 150 candles.
Trading use:
Use this indicator to check if the market is leaving normal territory. This signals a breakout move for example the dogecoin pump or the top of the range. I use this indicator to catch bull/bear moves for botting purposes. An other use would be to countertrend trade after the move has ended. With price being in top 1% for a while it is very probable that we see a large correction.
Below example of dogecoin pumps:
Prophit Ninja: Hidden ScrollStay ahead of the markets moves with "Prophit Ninja: Hidden Scroll".
Our legendary senseis have mastered the arts of wielding the Katana and Shuriken over many decades of focused practice and distilled their systems and techniques down to their most vital form- storing their knowledge in this ancient scroll for easy adoption by any ninja practiced enough to be able to decipher it.
═════════════════════════════════════════════════════════════════════════
█ INTERPRETATION
Each sub-indicator in this package can be used as a confirmation tool to check your bias and give you a more informed decision as they all take into account every reading shown and not shown being calculated across all Prophit Ninja packages. A sentiment rating below the candle shows bullish bias while a green color emphasizes bullish strength- a sentiment rating above the candle shows bearish bias while a red color emphasizes bearish strength- gold color signifies a strong turn in the market while grey/dark grey is a weak reading. A green trend sensei reading is bullish- while a red trend sensei reading is bearish. A green bull trade sensei label signifies a possible bullish trade set up, while a red bear label trade sensei signifies a possible bearish trade set up. Stat sensei gives you tick by tick multi-time frame readings to always keep you aware of the exact environment you're in. Lastly risk sensei will give you the most optimal least risk trade set-up based on user defined variables and give you tick by tick readings of your trade status. This can be used as a standalone decision-maker, or used in confluence with other indicator packages in our Prophit Ninja bundle to get higher precision.
═════════════════════════════════════════════════════════════════════════
█ OVERVIEW
1 — Sentiment Sensei: A toggle-able tick by tick rating system (0-100%) for each candle based on over 100 individual readings .
2 — Trend Sensei: A toggle-able background coloring that easily shows you the trend bias behind the moves.
3 — Trade Sensei: A toggle-able trade finder that finds confluent trade set-ups to give you the upper hand.
4 — Stat Sensei: A toggle-able multi-time frame candle progress tracker with a built in trend bias and price/volume/momentum change/ratio trackers.
5 — Risk Sensei: A toggle-able risk manager with two variations of auto profit target zones , three variations of trailing stop losses , a win/loss tracker , trade duration timer and all the information you need to stay updated with the status of your trade at a glance whether long or short.
═════════════════════════════════════════════════════════════════════════
█ EASY CUSTOMIZATION
i.imgur.com
With a fully customizable and easy-to-use input menu , this indicator gives you the ability to tailor your trading experience to your needs and see as much (or as little) information as you want to; presented in the manner you deem most viable with the following options in just a few clicks:
Indicator Package- This option allows you to switch between the four display modes available so in any moment you can completely change the metrics you’re reading in just two clicks. This allows you the ability to make decisions based on not only what you’re comfortable with; but also to find confirmation or disagreement with other systems instantly.
Color Theme- There are four color themes available which include original, colorful, monochrome and solid. These not only allow you a quick and easy way to change the colors to suit your style; they also make it so you can challenge your bias in an instant by viewing the data in a completely different way.
Dual Attack Modes- Whether you’re a scalper, day trader, swing trader, or investor; this option allows you to see the chart based on four different risk tolerance/time expectancy mentalities for the Katana and Shuriken separately in just two clicks. Investors can see what the scalpers are thinking and vice/versa to broaden their decision making and/or hone in when optimal.
Dual Sharpness Levels- This algorithm allows the user to display the data on five different smoothness levels for the Katana and Shuriken separately without suffering the inherent lag that accompanies most other indicators. Whether you like to see every tick of a choppy movement, or filter out the false signals into smooth readings, you can do so at any moment.
═════════════════════════════════════════════════════════════════════════
█ RISK SENSEI EXAMPLE
═════════════════════════════════════════════════════════════════════════
█ PRE-BUILT ALERTS
With Prophit Ninja: Hidden Scroll's built-in alerts you can enable alerts for any piece of the Hidden Scrollin just a few clicks. These alerts are way more specific and optimized than you can possibly achieve with the custom alert settings. Each checking for multiple possible activation triggers instead of one and populating the message field automatically so you can just click create.
═════════════════════════════════════════════════════════════════════════
As you can see; this ancient scroll has the ability to adapt to any reader or adversary and give those in control of its power the upper hand. Any mode of battle, any opponent, any circumstance- 'Prophit Ninja: Hidden Scroll' was polished by our finest artists to inform any reader and make sure they know when to attack, defend or simply allow the fight to play out by its easy-to-read coloring system. As long as you learn the techniques you'll have a much better chance of making the right decision than when you didn't.
This state-of-the-art tool is great for experienced traders, those who just started learning to trade, or anyone in between- truly made to suit the needs of any trader, in any moment, with any mindset (along with the other indicators in our Prophit Ninja bundle) you'll notice an immediate improvement in your market dexterity after learning it.
═════════════════════════════════════════════════════════════════════════
*everything displayed is part of the Prophit Ninja indicator bundle; this is an otherwise blank chart*
Price Cross Range StrengthPurpose:
This script shows when price is in a range or trending. When the green line rises above the threshold the price is trending. When the green line falls below the threshold it's ranging. You may try adjusting the lookback way far back to find more areas of resistance.
Logic:
It shows how many instances the current price has been crossed in the past measured bars. The logic is that any price area that has been crossed many times is a strong area where ranging occurs.
Ideas:
1. Can be used as a dynamic length to other moving averages.
Donchian Channel - trend filterTrend filter created based on donchian channel. I am using my custom donchian channel as base for this indicator:
Concept is simple.
We count how many times price is hitting donchian channel top or bottom without hitting the other side and keep counter for both. Thus:
upCount is the number of times price hits donchian channel top without hitting bottom
downCount is the number of times price hits donchian channel bottom without hittin top
trendCountLimit is the minimum value of upCount or downCount to call it uptrend or downtrend.
Color Changing Moving Average
Hello everybody!
I'm not much of a coder but I do make indicators for myself for fun sometimes and found this one super cool. Hope it helps!
Basically it's a moving average that changes colors based on the trend. How does it do it, you may ask? Simply put, it checks and makes sure that the open and close price is above the moving average, then it checks and sees if the 50-period RSI (length adjustable) is above 50. If both conditions are met, the moving average turns green. Simple as that.
If the price is below the moving average and the RSI is below 50, the moving average turns red.
If the price is above the moving average but the RSI is below 50, the line is grey and I advise to simply waiting for the trend direction to be decided. Likewise, if the price is below the moving average, but the RSI is above 50, the line is also grey.
This is NOT a comprehensive system, and the changing color of the moving average does not indicate a buy or sell signal. It simply indicates that the price is trending. You should use your own entry and exit strategy, such as the MACD, Wave Trend, Schaff Trend Cycle, etc.
As well, I would recommend waiting for confirmation of a trend change when the color changes, since in a range price can cross multiple times before deciding on the right direction.
The slope of the moving average can help too, since in a range the moving average is typically flat.
I would recommend using a fixed risk to reward ratio, to limit emotions. But, this would also help with a trend-following strategy due to the trend filter functionality.
The length of the moving average is adjustable, as well as the RSI period- though I wouldn't recommend selecting an RSI lower than 30 because it will whipsaw more. Disabling the EMA option will give you an SMA that does the same thing as the EMA. You can also disable the RSI filter and simply have a moving average that changes color when the price is above/below- but that's pretty boring, huh?
Anyways, hope this helps, happy trading everybody :)
Trend Stability (Expo)
Trend Stability (Expo) is a multifunctional trend trading tool that identifies all aspects of trend trading. The indicator helps traders to stay on the right side of the market, identify retracements, reversals, and trend strength. In addition to that, we have added momentum - moves for traders that want to do trend scalping. The candle coloring displays the current trend and gives early signs of trend reversals and retracements.
➤ All in one trading tool that filters out noise and leaves us with insights that matter.
Real-Time with Alerts
No Repainting
Works on any market and in any timeframe
HOW TO USE
Use the indicator to gain insights into all aspects of trend trading:
Trend Stability/equilibrium
Trend Strength
Trend Retracements
Trend Reversals
Trend Filter
Momentum Moves
INDICATOR IN ACTION
4-hour chart
The setting used on the chart below displays negative momentum-moves with a noise-free positive trend.
I hope you find this indicator useful , and please comment or contact me if you like the script or have any questions/suggestions for future improvements. Thanks!
I will continually work on this indicator, so please share your experience and feedback as it will enable me to make even better improvements. Thanks to everyone that has already contacted me regarding my scripts. Your feedback is valuable for future developments!
-----------------
Disclaimer
Copyright by Zeiierman.
The information contained in my scripts/indicators/ideas does not constitute financial advice or a solicitation to buy or sell any securities of any type. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, or individual’s trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
My scripts/indicators/strategies/ideas are only for educational purposes!
ACCESS THE INDICATOR
• Contact me on TradingView or use the links below
Aligned Moving Average FilterThis is another adoption of Aligned Moving Average index study published earlier:
Instead of summing up the aligned moving average strength, here we are checking the max and min values from X bars. If maxValue is above threshold, we show bullish bias by coloring candles lime. Similarly if minValue is below threshold we show bearish bias by coloring candles orange. If the max and min signals are mixed - showing both bullish and bearish or showing neither bullish or bearish, then we do not have any bias and candles are colored in silver.
Parameter descriptions are as below:
Moving Average Type : Select moving average type to calculate moving average alignment index
LookbakPeriod : Periods to calculate min and max values
Threshold : Percentage less/more than min/max values of alignment index. At present, max value of alignment index is 36. Hence, 25 threshold will consider max ma alignment index above 27 as bullish and min alignment index below 9 as bearish
Filter type : allows you to use only bullish or bearish filter.
If bullish type is selected, then candle colors are based only on the maxValue of moving average alignment. Candle color will be lime if above threshold and silver otherwise.
If bearish type is selected, then candle colors are based only on the minValue of moving average alignment. Candle color will be orange if below threshold and silver otherwise.