NWOG & Dynamic Event Horizon°The ICT concept of New Week Opening Gaps (NWOG) is simply an imbalance that manifests at each Week Opening time. This gap in price is formed by the Close on Friday at 5PM EST and the open of Sunday at 6PM EST.
According to ICT's studies, this gap in price holds a lot of significance when it comes to price action, acting as a magnet or a point of reference during the week (and following weeks).
The Event Horizon (EH) is simply the midpoint between two of these NWOGs. The EH can be very useful to determine where price is drawn towards from a liquidity perspective. If price reaches this level it is probable that it will continue to the next NWOG, as explained by ICT himself.
In my own studies I have noticed that price also tends to respect and use the Optimal Trade Entry (OTE) levels drawn from both NWOGs in question. OTE levels are nothing but fibonacci 0.79 – 0.705 – 0.68 levels.
I decided to put all of these into an indicator that dynamically selects the most relevant NWOG Dealing Range and plots their EH and OTE levels automatically.
Available Alerts:
– Cross Below Event Horizon
– Cross Above Event Horizon
– New NWOG Range Established
Important Remarks:
– Note that although these work on all timeframes, the lower in resolution one goes, the less gaps will be available due to data availability.
– This indicator works on charts that have the NWOG already present in chart (i.e. no crypto assets, unless one looks at CME crypto futures such as BTC1! and ETH1!).
– The dollar index's NWOGs have a slightly different timestamp, however this has been taken care of and will allow to be plotted ONLY for the TVC:DXY ticker.
TrandingView struggles to display the indicator correctly for the default view, check out its accurate appearance here:
Bands and Channels
BD Momentum ChannelIntroducing the BD Momentum Channel, a new indicator that helps traders identify market trends and momentum through a combination of upper and lower channels, as well as fast and slow moving averages. The BD Momentum Channel can be used in standalone mode or in combination with other technical analysis tools to enhance trading strategies. We recommend using it in combination with the Wave Master indicator.
To use the indicator, simply input the desired length for the upper and lower channels, as well as the smoothing periods for the fast and slow moving averages or use the provided defaults. The Bull and Bear Levels can be set to the desired values, while the Extreme Bull and Extreme Bear Levels can be used to signal significant market movements.
The BD Momentum Channel works by calculating the highest and lowest prices over a specified period, and then finding the average of these two values, which is used as the basis for the upper and lower channels. The width of the channel is calculated as the difference between the upper and lower channels, while the position of the current price in relation to the upper and lower channels is used to determine the percentage change and which half of the channel the price is in.
The fast and slow moving averages are then calculated using a simple moving average function, and plotted as histograms on the chart. The Bull and Bear Levels are also plotted on the chart as horizontal lines, providing a quick reference for market direction.
The BD Momentum Channel also includes a range of color-coded signals, including extreme bull and bear levels, and cross-under and cross-over signals that can be used to confirm trends and changes in market momentum.
Overall, the BD Momentum Channel is a powerful tool for traders looking to identify market trends and momentum, and can be easily customized to suit individual trading strategies.
HT Momentum Indicator [ ZCrypto ]
The HT Momentum Indicator is a technical analysis tool that uses the Hyperbolic Tangent (tanh) function to measure momentum in a trading instrument.
This indicator is plotted as a histogram, with positive values indicating bullish momentum and negative values indicating bearish momentum.
Here are the main features and settings of the HT Momentum Indicator:
Source: This setting allows you to choose the price data used to calculate the momentum indicator. By default, the indicator uses the (High+Low+Close)/3 price, but you can select other options such as the open, high, or low prices.
Period: This setting determines the number of periods used in the momentum calculation. By default, the indicator uses a period of 14, but you can adjust this to suit your trading style and the market you are trading.
Show Fast/Slow/VWAP: These settings allow you to choose whether or not to display the fast and slow exponential moving averages (EMAs) and the volume-weighted average price (VWAP) on the chart.
Fast Length/Slow Length/VWAP Length: These settings allow you to adjust the length of the fast and slow EMAs and the VWAP calculation.
Bull Color/Bear Color: These settings allow you to choose the colors for the bullish and bearish histograms.
Zero Line: This indicator also includes a horizontal line at the zero level to help you identify when momentum is transitioning from bullish to bearish or vice versa.
The HT Momentum Indicator can be used to identify trends, momentum shifts, and potential buy/sell signals.
you can use the fast and slow EMAs to identify short-term and long-term trends, respectively, and the VWAP to gauge the strength of buying or selling pressure.
Additionally, the HT Momentum Indicator includes four pre-programmed alert conditions, which can notify you
when the fast EMA crosses above the slow EMA,
when the VWAP crosses above the zero line,
when the histogram transitions from negative to positive values.
when the histogram transitions from negative to positive values and VWAP above zero line
Trendgetter: Trend Detection, Regime Change, Bias Filter by [CR]Trendgetter: Trend Detection, Regime Change, Bias Filter by Cryptorhythms
“If you are not a trend setter, at least be able to exploit the ones you see.”
― Jeffrey Fry
Intro
Cryptorhythms back again with a members only indicator for trend capture this time! Trendgetter is not crypto specific and can be applied to a variety of timeframes, markets, and tickers. Its meant to be a general purpose trading aid and bias filter, providing reliable trend, bias and regime change information.
Introduction
This indicator relies upon various methods related to probabilities/statistics, digital signal processing and data science to predict optimal fair local price given any financial time series data. The goal was to create a tool that isolates trends and captures their bias, making it easier to follow a noisy market. The focus is making high hit rate uncorrelated returns to your base market. The way in which this indicator is constructed is not based upon any previous public work, and was researched and refined over a period of 6 months of trading and testing based on my own personal trading experiences and observations of the market. I use novel techniques I developed in house to denoise the data and determine a local fair price.
Description
The parameters in this indicator are mostly fixed and do not lend themselves to overfitting. So when you find good settings, its probably legit and not a false positive. They were pre-determined based on my own testing and research to handle almost all possible combinations of price action for determining trends. By fixing some parameters, you automatically reduce the chances of overfitting to historical data. The pre determined levels were carefully chosen after many options were considered.
Not just a bias filtooor, fair price predictooor and regime change detectoooor though! TG also provides a price envelope feature which shows a likely fair price range that price will distribute itself upon. Above or below the envelope indicates the presence of a very strong trend . Within the envelope indicates consolidation , but still conforming to the bias. TG then uses a statistics-based approach to display a likely range that price could potentially travel over the near term which we called a price envelope.
An additional option provides background coloration when there is the potential for a regime change on the trend bias. This can be used as a feature to help you manage your trades risk. This is simply measured by an internal (non exposed) script value returning to a mean which triggers the color to appear.
Further Explanation of Settings
-Timeframe : Change the timeframe the indicator is calculated on allowing you to for instance use the 15m Trendgetter output while remaining on the 5 minute chart.
-Trend Capture : This is the "type" of trend you are trying to follow. The different options will attempt to find the trends at various levels of noise cancellation within the lookback period you specify. "Reactive" means it will quickly change its bias and capture smaller trends. "Slow" means it will filter more noise and capture larger trends. "Adaptive" is completely in its own class of behavior and was my attempt to mix both a slow and reactive profile into one setting, it uses a few market metrics like volume and volatility to adjust parameters on the fly.
-Sample Length : Bars to consider in the calculation. Using large numbers here is not going to help, but rather hurt your results. Generally 10-100 is the range you should use for the best results. The exact value will depend on the timeframe, volatility and market/asset you are trading, and you should experiment to find it. (There is no "one size fits all" for potential trading situations)
-Source : Data series used for calculation. I recommend hlcc4 or hl2 or hlc3 instead of just "close." This will help to pre process a noisy data series for the rest of the algo.
-Certainty Level : This setting effects how easily the indicator will confirm a new trend and change its bias. " Reactive" does just as it says and will confirm new regimes faster, but can also lead to false signals or "flip flop" in certain types of price action. "Slow" will change biases less frequently or in conjunction with large moves - but this level of certainty requires the sacrifice of reactivity meaning its a bit laggy (but thats ok when you are following a larger trend). "Medium" is as you would expect the middle ground between reactive and slow. Lastly "Adaptive" tends to fall between reactive and medium in its behavior typically, but it will somewhat adjust itself to suit the variability of market conditions.
-Price Envelope :
-----My own personally created price distribution spread (not monte carlo based)
-----Above or below the envelope indicates the presence of a very strong trend. You should not be fading a trend when its in this position!
-----Within the envelope indicates consolidation, but still conforming to the bias.
User Requests :
Of course we also listen to the needs of our members and added these features upon request.
-Added dark mode and light mode themes.
----Dark Mode is for dark/black charts and uses lighter colorations
----Light mode is for light/white charts and uses darker colorations
-More updates to display and color selection options such as background colors and fill colors.
Leverage Liquidation Circles/dots/alertsThis plots liquidation alerts for different levels of leverage. The script calculates the liquidation prices for both long and short positions based on the inputted leverage values. Then, it plots dots on the chart where liquidation can occur for each level of leverage. Additionally, it plots circles on the chart only when a liquidation event occurs, at which point the circle changes color to indicate the level of leverage that triggered the liquidation.
The script allows traders to visualize potential liquidation events for different levels of leverage, which can be helpful in managing risk when trading on margin. The different colors of the circles can quickly communicate which level of leverage triggered the liquidation, allowing traders to quickly assess the situation and adjust their positions if necessary.
Bollinger Bands Weighted Alert System (BBWAS)The idea of this indicator is very similar to my previous published script called BBAS (Bollinger Bands Alert System).
Just with little additions. In this case, we're using a Weighted Moving Average (ta.wma) instead of Simple Moving Average to calculate the basis line.
A breakout in trading refers to a situation where the price of a security or asset moves beyond a defined level of support or resistance, which is typically indicated by technical analysis tools like Bollinger Bands. Bollinger Bands consist of three lines: the upper band, the lower band, and the middle band (or basis). The upper and lower bands are set at a specified number of standard deviations away from the middle band, and they help to define the range within which the price of an asset is expected to fluctuate.
When the price of the asset moves beyond the upper or lower band, it is said to have "broken out" of the range. If the price closes below the lower band, it is considered a bearish breakout, and if it closes above the upper band, it is considered a bullish breakout.
Once a breakout occurs, traders may look for a confirmation signal before entering a trade. In this case, crossing the middle line (or basis) after a breakout may signal a potential trend reversal and a good opportunity to enter a long or short trade, depending on the direction of the breakout.
Dear traders, while we strive to provide you with the best trading tools and resources, we want to remind you to exercise caution and diligence in your investing decisions.
It is important to always do your own research and analysis before making any trades. Remember, the responsibility for your investments ultimately lies with you.
Happy trading!
Ignition Band Angles are Bollinger Bands with numeric angleI developed Bollinger Bands that provide a numeric value indicating their strength. To achieve this, I used the degree of the angle of attack and color-coded the numbers. The top band displays the number in the upper corner of the chart, the bottom band in the bottom corner, and the Basis is in the left middle. These numbers quantify the slope of the bands, which can be difficult to discern on a chart because stretching out the x and y axis can flatten or exaggerate a slope. With my Bollinger Bands, you get a constant reading that provides an accurate measurement of the angle and strength of a trend. I hope this helps.
(Very promising) [Abdullah Ahmed] Momentum indicator V.1Description: MOM-LRC is a powerful technical analysis indicator designed to provide traders with signals based on the momentum of an asset's price and its deviation from its mean value. The indicator calculates the exponential RSI and uses a custom function to determine the percentage change from the mean. The upper and lower bands of the momentum channel are then calculated using linear regression of the rate of change from the mean. The channel multiplier can be adjusted to increase or decrease the sensitivity of the indicator.
How to use :
1 - Using MOM-LRC , look for buy signals when the price of the asset is below the lower border of the channel and retracing up. The opposite is true in the case of sell signals.
2 - It is also used in the case of negative and positive divergences, just as you use RSI
The indicator can be used on any time frame and any asset, making it a versatile tool for traders of all levels.
features:
Calculates exponential RSI and percentage change from the mean
Uses linear regression to calculate upper and lower bands of momentum channel
Adjustable channel multiplier for increased sensitivity
Suitable for any time frame and any asset
Happy trading!
SPX Fair Value Bands WSHOSHOThis is a variation of the SPX Fair Value Bands indicator which uses WSHOSHO instead of WALCL.
WSHOSHO only includes the 'Securities Held Outright' portion of the Fed balance sheet. This effectively eliminates the portions related to BTFP (Bank Term Funding Program).
Inter-Exchanges Crypto Price Spread Clouds (Tartigradia)Display variations in min-max and median values of high, low and close across exchanges. It's a kind of realized volatility indicator, as the idea is that in times of high volatility (high emotions, fear, uncertainty), it's more likely that market inefficiencies will appear for the same asset between different market makers, ie, the price can temporarily differ a lot. This indicator will catch these instants of high differences between exchanges, even if they lasted only an instant (because we use high and low values).
Compared with my other "Inter-Exchanges Crypto Price Spread Deviation" indicator, this one overlays directly on the chart, and offers a different take based on the same premisses. Instead of summarizing volatility via standard deviation, here we display clouds of the range of values that were observed.
A big advantage of this approach is that it can also be used to determine safe stop loss levels, especially the values of percentile rank (i.e., what are the high values that were observed in at least 50% of exchanges?).
Indeed, all price levels are displayed in the indicator's status bar:
green for high values,
red for low values,
aqua for median,
purple for average,
The first two values are max and min values of high across exchanges (in green).
The next two values are max and min of low across exchanges (in red).
The next two values are median (aqua) and average (purple).
The last two values are percentile rank values for high (green) and low (red) respectively.
Another advantage is that the high (green) vs low (red) clouds can be seen as representing the buying or selling pressure respectively across exchanges, and this may in itself provide a signal to know whether one side is winning.
Link to my other complementary indicator:
Compared to other inter-exchanges spread indicators, this one offers two major features:
The symbol automatically adapts to the symbol currently selected in user's chart. Hence, switching between tickers does not require the user to modify any option, everything is dynamically updated behind the scenes.
It's easy to add more exchanges (requires some code editing because PineScript v5 does not allow dynamical request.security() calls).
Limitations/things to know:
History is limited to what the ticker itself display. Ie, even if the exchanges specified in this indicator have more data than the ticker currently displayed in the user's chart, the indicator will show only a timeperiod as long as the chart.
The indicator can manage multiple exchanges of different historical length (ie, some exchanges having more data going way earlier in the past than others), in which case they will simply be ignored from calculations when far back in the past. Hence, you should be aware that the further you go in the past, the less exchanges will have such data, and hence the less accurate the measures will be (because the deviation will be calculated from less sources than more recent bars). This is thanks to how the array.* math functions behave in case of na values, they simply skip them from calculations, contrary to math.* functions.
Vertical Lines 2A vertical line plotting function is missing in Pinescript. This is another method to plot vertical line on a chart, and an improvement on my previous script "vertical lines" .
The script hacks the plotcandle function to display just the wicks without the body. This hack simulates a vertical line. The body of the candle is non-existing since the open and close are the same and its color is set to null. The wicks are abutting resulting in a continuous vertical line.
Drawbacks include inability to set width and transparency of the lines. The plotcandle function does not allow setting the width and transparency of the wicks. This feature would be desirable.
The crossing of the RSI of overbought and undersold zones is used as an example in this published script. Any indicator can be used and this script can be executed on any other indicator by using "add indicator" on the desired indicator, and selecting the indicator as the source. I added crossover lines on the plotted RSI as an example.
//////////////////////////////////////////////////////Breakdown of the script////////////////////////////////////////////////////////
The src input determines which price data is used for the highest value calculation. By default, it is set to the close price.
The length input determines the length of the RSI calculation. By default, it is set to 14.
The mult input determines the multiplier of the highest value that is used to determine the height of the vertical lines. By default, it is set to 100%, meaning the lines will reach the highest value in the dataset.
The top and bot inputs determine the overbought and oversold levels for the RSI. By default, they are set to 70 and 30, respectively.
The current_rsi and previous_rsi variables calculate the RSI values for the current bar and the previous bar, respectively.
The hi_value variable finds the highest value in the dataset, and the hi variable calculates the height of the vertical lines based on the highest value and the user-defined multiplier. The lo variable calculates the distance between the highest value and the current price data.
The uph, dnh, upl, and dnl variables determine the height and low of the vertical lines for when the RSI crosses overbought or oversold levels.
The if statements check if the RSI has crossed overbought or oversold levels and set the uph, dnh, upl, and dnl variables accordingly.
Finally, the plotcandle() function is used to plot the vertical lines on the chart. The open and close values are set to the src input, and the high and low values are set to the uph, dnh, upl, and dnl variables. The bordercolor argument is set to na to hide the borders of the lines, and the wickcolor argument is set to green or red, depending on whether the line is an overbought or oversold crossover.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
[TTI] Minervini Envelopes––––History & Credit
This is an indicator that I saw Mark Minervini using. Picture attached to the Session he showed it.
–––––What it does
The indicator is a Envelopes band. Envelopes represent bands that are plotted in a certain, identical relationship above and below the Moving Average. Envelopes are a very complex theme with many interpretation and trading rules. Basically, envelopes capture a significant part of price movements. Concrete trading signals are released if prices approach or move away form their envelope.
Envelopes are plotted around a Moving Average in a constant percentage distance. Hence they are added to or subtracted from this average. Both envelope lines thus define the prevailing trading range.
–––––How to use it
While several different trading rules are available, the most simple approach uses the price band as an entry and exit point. When price penetrates the upper price band, you initiate a long position or buy. If you have an existing short position, you close out shorts and go long. Conversely, when prices penetrate the lower price band, you close out long positions and go short.
–––––How to Mark Minervini uses it
He applies it to the SPY ONLY and ONLY on WEEKLY! When the price action is above the Envelope then he is in his long term portfolio (he disclaimed it is only a small portfolio for his daugther!)
Reverse Double Smoothed Relative Strength Index Bands[CC]The Reverse Double Smoothed Relative Strength Index Bands is a custom script of mine that is another part of my RSI indicator series, which I will be publishing over the next week or so. This takes my Double Smoothed Relative Strength Index script and applies the Reverse RSI formula to create a new Bollinger Bands type indicator. This concept can work for almost any oscillator with some slight tweaking. I have a reverse RSI being calculated for each major RSI level to give you an approximation of what the price would look like if that RSI level was hit. Feel free to tweak the RSI levels of course. I will publish more Reverse indicators since that doesn't seem to be a topic that is touched on very frequently. I have color coded the indicator to show darker colors when it is a strong signal and lighter colors for normal signals. Buy when the lines turn green and sell when they turn red.
This was a custom request from @kerpiciwuasile so let me know if you want to see me publish another custom script!
TIGERMOOD TREND
🔶 About Tigermood Trend for TradingView.
Tigermood Trend is a trend detector that uses several logics including but not limited to volatility , momentum, key fibonacci levels and trend changing logic to generate a reliable trend on most time frames and applicable for Stocks, futures , Forex, and Cryptos.
Unlike other trend indicators, Tigermood Trend is as simple as it looks but uses several behind-the-scene price action algorithms that work in tandem to create a trend to keep the trader as long as market is trending and hence streamlines their trades accordingly.
🔶 Logic behind Tigermood Trend
Detecting the Fibonacci lows and highs (Hooks) after a trend change or a major trend pivot is formed.
Once a fibonacci hook is detected, key fibonacci levels are calculated and ready to be applied to the trend on event triggers.
To control the optimal fibonacci level to be applied a moving average is added to the logic with length from 20-200 depending on the selected timeframe.
Fibonacci hooks are controlled and validated using a modified supertrend indicator with ATR length and factor set automatically according to the selected timeframe, and that to avoid non-significant hooks (trend pivots).
To update to a certain fibonacci level, certain conditions must be met to validate this level, these conditions check for RSI extreme conditions, supertrend conditions, trend stage (early stage or extended).
Trend changing is controlled as well. In order for trend to change once price crosses the stop-bands, Tigermood trend takes into consideration: volatility, strong or weak trend status, early/mature stage of the trend, and finally the last fibonacci levels used. A bias towards a hard trend change is favored instead of soft trend change, which is a simple close crossing and that to avoid as many false trend changes as possible
During extreme high momentum trending, the updating bias will shift to the moving average with ATR and supertrend limitation.
█ Tigermood Trend is designed to be as plug-and-play indicator with little or no parameters to set or keep tweaking thus enabling the trader to concentrate on his/her strategy entries and exits. (limited settings to control sensitivity and some behavior may be introduced in the future)
█ Tigermood Trend is a no-Repainting indicator. the trend updates only on the close of the current bar using barstate.isconfirmed .
█ However, it is important to emphasize that Tigermood Trend is NOT a signal generator. You don't see Buy and Sell signals on the chart. (as of this date). Even though upon trend changing you may think it is a buy/sell indication but it is NOT. This indicator is made for traders who need a trend to confirm the direction of their trades, and avoid confusion during high market volatility; and experienced traders know very well that trading with a reliable trend constitute an essential and an integral part of their trading strategy. This way the trader is spending more time on fine-tuning their trade opportunities.
█ Tigermood Trend is a Tool to be added to the traders' toolbox and is not a trading system by its own. (While in the future the indicator will highlight area of high opportunity for entries and stop losses)
█ Tigermood Trend is under continuous development. New features, logic updates and new logics will be regularly added in new versions.
Best of luck in your trading journey,
Tigermood
Blocky's EMA RibbonA classic EMA ribbon setup.
The script uses eight EMAs, with default lengths ranging from 21 to 55 periods, with an additional EMA with a default length of 200 periods.
The lengths of the EMAs can be customized, when customizing, the shortest time frame should be first and the longest time frame last.
The ribbons gradient strength is calculated based on the EMA's sequence, and their separation.
The color and transparency are set based on the calculated strength. The bolder the color, the stronger the strength.
Use the opacity multiplier to increase/decrease the strength of the gradient. BITSTAMP:BTCUSD
LeafAlgo Premium Macro StrategiesA "macro score", as defined here, is created by giving various weights to different signals and adding them together to get one smooth score. Positive or negative values are assigned to each of the signals depending on if the statement is true or false (e.g. DPO > 0: +1, DPO < 0: -1). This manner of strategy allows for a subset of the available signals to be present at one time as opposed to every technical signal having to be active in order for a long/short signal to trigger.
This strategy contains SIX different macro score strategies -- "Base DFMA", "Base DFMG", "Ichimoku", "TSI", "Donchian DFMA", and "Donchian DFMG". These strategies have the signals and weights pre-determined in the code. The "Base DFMA" strategy is based on our Democratic Fibonacci Moving Average (DFMA) indicator; the "Donchian DFMA" is the same as the base DFMA strategy, but with a signal from our Donchian Cloud Score indicator as added confluence. The "Base DFMG" strategy is based on our Democratic Fibonacci McGinley Dynamics (DFMG) indicator; the "Donchian DFMG" is the same, but with the Donchian Cloud Score as added confluence. The "Ichimoku" strategy is based on the major sub-indicators found within an Ichimoku Cloud in addition to our Donchian Cloud Score. The "TSI" strategy is based on the True Strength Index.
The ability to select your strategy of choice can be found at the top of the strategy settings under "Strategy Options", then in the drop-down menu labeled "Strategy Choice".
The DFMA - Democratic Fibonacci Moving Average - is a separate indicator that we have released that takes 10 different Fibonacci MAs (lengths of 3 to 233, at Fibonacci intervals) and averages them to form the DFMA line. This helps by creating a consensus on the trend based on moving averages alone. Crossovers of the DFMA with the various Fib MA lengths as well as a cross of the price source and these lines can provide adequate long and short signals. In the two DFMA strategies, the heaviest weights have been given to crosses of the DFMA line/Fib MA (233) as well as the crosses of the Fib MA (3)/DFMA. Additionally, there are thresholds for DPO ( Detrended Price Oscillator , above or below 0), CMO ( Chande Momentum Oscillator , above or below 0), Jurik Volatility Bands (above or below 0), and Stoch RSI (above or below 50). These four signals hold a lighter weight than the MA cross signals. The macro score itself ranges between -10 and 10. In addition to the macro score line, a momentum line (sourced by the macro score itself) has been included. A crossover/crossunder of the macro score and the macro momentum line is included into the long/short signal syntax in addition to a threshold for the macro score.
The DFMG - Democratic Fibonacci McGinley Dynamics - is a separate indicator that we have released that takes 10 different Fibonacci McGinley Dynamic liness (lengths of 3 to 233, at Fibonacci intervals) and averages them to form the DFMG line. This helps by creating a consensus on the trend based on moving averages alone. Crossovers of the DFMG with the various Fib MG lengths as well as a cross of the price source and these lines can provide adequate long and short signals. This strategy has the signals and weights pre-determined in the code. Heaviest weights have been given to crosses of the DFMG line/ McGinley (233) as well as the crosses of the McGinley (3)/DFMG. Additionally, there are thresholds for DPO ( Detrended Price Oscillator , above or below 0), CMO ( Chande Momentum Oscillator , above or below 0), Jurik Volatility Bands (above or below 0), and Stoch RSI (above or below 50). These four signals hold a lighter weight than the McGinley cross signals. The macro score itself ranges between -10 and 10. In addition to the macro score line, a momentum line (sourced by the macro score itself) has been included. A crossover/crossunder of the macro score and the macro momentum line is included into the long/short signal syntax in addition to a threshold for the macro score.
For the Ichimoku macro score, five signals were considered and weighted equally:
- Kijun-sen < Ichimoku Source
- Tenkan-sen < Ichimoku Source
- Kijun-sen > Chikou-span
- Tenkan-sen > Kijun-sen
- Senkou Span A > Senkou Span B
In addition to these factors, the Ichimoku strategy utilizes the Donchian Cloud Score in the long and short entry signals. Thus, the Donchian Cloud settings are applicable to this strategy.
For the True Strength Index strategy, the heaviest weights have been given to various TSI signals, including a crossover/crossunder of TSI signal and TSI value, a threshold for the TSI Signal (above or below 0), and a crossover/crossunder of the CMO ( Chande Momentum Oscillator ) and the TSI signal line. Additionally, there are thresholds for DPO ( Detrended Price Oscillator , above or below 0), Jurik Volatility Bands (above or below 0), and Stoch RSI (above or below 50). These three signals hold a lighter weight than the three TSI signals. The macro score itself ranges between -10 and 10. In addition to the macro score line, a momentum line (sourced by the macro score itself) has been included. A crossover/crossunder of the macro score and the macro momentum line is included into the long/short signal syntax in addition to a threshold for the macro score.
The Donchian Cloud Score is derived from a set of 5 Donchian channels (upper, lower, and basis plotted) defaulted to lengths of 25, 50, 100, 150, and 200. A set of conditions associated with the channels aims to determine ranging versus trending markets. Weights are given to these conditions accordingly, then tallied up to determine the "cloud score", ranging between -25 and 25. In general, a ranging market is determined by a cloud score between -10 and 10, while a positive trending market has a score higher than 10 and a negative trending market has a score lower than -10. That said, long and short thresholds similar to the macro score itself are included in the user settings and set to a default of 5 or -5. The cloud score is plotted as a line in the underlay with coloration reflecting ranging or trending markets (green color above the long threshold, gray between the thresholds, and red below the short threshold). The cloud score is incorporated into the strategy syntax for long and short positions in that the score must be above or below the set threshold for a trade to be placed. A breakdown for the Donchian scoring is as follows:
- Broke the 25-length DC (DC(25)) upper band in the previous 3 bars - +1 if true, 0 if false
- Broke the DC(50) upper band in the previous 3 bars - +2 if true, 0 if false
- Broke the DC(100) upper band in the previous 3 bars - +3 if true, 0 if false
- Broke the DC(150) upper band in the previous 3 bars - +4 if true, 0 if false
- Broke the DC(200) upper band in the previous 3 bars - +5 if true, 0 if false
- Broke the DC(25) lower band in the previous 3 bars - -1 if true, 0 if false
- Broke the DC(50) lower band in the previous 3 bars - -2 if true, 0 if false
- Broke the DC(100) lower band in the previous 3 bars - -3 if true, 0 if false
- Broke the DC(150) lower band in the previous 3 bars - -4 if true, 0 if false
- Broke the DC(200) lower band in the previous 3 bars - -5 if true, 0 if false
- DC(25) basis line above the DC(50) basis line - +1 if true, -1 if false
- DC(25) basis line above the DC(100) basis line - +1 if true, -1 if false
- DC(25)basis line above the DC(150) basis line - +1 if true, -1 if false
- DC(25) basis line above the DC(200) basis line - +1 if true, -1 if false
- DC(50) basis line above the DC(100) basis line - +1 if true, -1 if false
- DC(50) basis line above the DC(150) basis line - +1 if true, -1 if false
- DC(50) basis line above the DC(200) basis line - +1 if true, -1 if false
- DC(100) basis line above the DC(150) basis line - +1 if true, -1 if false
- DC(100) basis line above the DC(200) basis line - +1 if true, -1 if false
- DC(150) basis line above the DC(200) basis line - +1 if true, -1 if false
Thresholds for both the respective macro score and the Donchian Cloud score have been included. Entry signals for each strategy require the score to be >= the respective thresholds for longs and <= the respective thresholds for shorts.
Additionally, a normalized z-score has been included. The z-score does not affect the entry and exit signals, however, it is displayed on the chart in the form of bar coloration. The z-score has been normalized to a range of -1 to +1. A z-score under -0.60 is displayed as a red bar color, a score between -0.60 and -0.2 is displayed as an orange bar color, a score between -0.2 and 0.2 is displayed as a gray bar color, a score between 0.2 and 0.6 is displayed as a lime bar color, and a score over 0.6 is displayed in green.
Data for each respective strategy will be displayed in an overlaid table. This includes the factors that comprise the macro score of choice, the values of each signal that adds up to the macro score, the macro score itself, the value of the momentum line of the macro score, the normalized z-score value, and the Donchian Cloud score (if applicable). Green coloration notes bullish sentiment within the signals or values, gray coloration is neutral, and red coloration notes bearish sentiment.
Take profit, stop loss, and trailing percentages are also included, found at the bottom of the Input tab under “TT and TTP” as well as “Stop Loss”. The take profit and stop loss levels will be reflected as green and red lines respectively on the chart as they occur. Make sure to understand the TP/SL ratio that you desire before use, as the desired hit rate/profitability percentage will be affected accordingly. The option for adding in a trailing stop has also been included, with options to choose between an ATR-based trail or a percentage-based trail. This strategy does NOT guarantee future returns. Apply caution in trading regardless of discretionary or algorithmic. Understand the concepts of risk/reward and the intricacies of each strategy choice before utilizing them in your personal trading.
Profitview/Pineconnector Settings:
If you wish to utilize Profitview’s automation system, find the included “Profitview Settings” under the Input tab of the strategy settings menu. If not, skip this section entirely as it can be left blank. Options will be “OPEN LONG TITLE”, “OPEN SHORT TITLE”, “CLOSE LONG TITLE”, and “CLOSE SHORT TITLE”. If you wished to trade SOL, for example, you would put “SOL LONG”, “SOL SHORT”, “SOL CLOSE LONG”, and “SOL CLOSE SHORT” in these areas. Within your Profitview extension, ensure that your Alerts all match these titles. To set an alert for use with Profitview, go to the “Alerts” tab in TradingView, then create an alert. Make sure that your desired asset and timeframe are currently displayed on your screen when creating the alert. Under the “Condition” option of the alert, select the strategy, then select the expiration time. If using TradingView Premium, this can be open-ended. Otherwise, select your desired expiration time and date. This can be updated whenever desired to ensure the strategy does not expire. Under “Alert actions”, nothing necessarily needs to be selected unless so desired. Leave the “Alert name” option empty. For the “Message”, delete the generated message and replace it with {{strategy.order.alert_message}} and nothing else. If using Pineconnector, follow the same directions for setting up an alert, but use the ",buy,,risk=" syntax as noted in the tooltips.
Shorting when Bollinger Band Above Price with RSI (by Coinrule)The Bollinger Bands are among the most famous and widely used indicators. A Bollinger Band is a technical analysis tool defined by a set of trendlines plotted two standard deviations (positively and negatively) away from a simple moving average ( SMA ) of a security's price, but which can be adjusted to user preferences. They can suggest when an asset is oversold or overbought in the short term, thus providing the best time for buying and selling it.
The relative strength index ( RSI ) is a momentum indicator used in technical analysis. RSI measures the speed and magnitude of a security's recent price changes to evaluate overvalued or undervalued conditions in the price of that security. The RSI can do more than point to overbought and oversold securities. It can also indicate securities primed for a trend reversal or corrective pullback in price. It can signal when to buy and sell. Traditionally, an RSI reading of 70 or above indicates an overbought situation. A reading of 30 or below indicates an oversold condition.
The short order is placed on assets that present strong momentum when it's more likely that it is about to reverse. The rule strategy places and closes the order when the following conditions are met:
ENTRY
The closing price is greater than the upper standard deviation of the Bollinger Bands
The RSI is less than 70.
EXIT
The trade is closed when the RSI is less than 70
The lower standard deviation of the Bollinger Band is less than the closing price.
This strategy was backtested from the beginning of 2022 to capture how this strategy would perform in a bear market.
The strategy assumes each order to trade 70% of the available capital to make the results more realistic. A trading fee of 0.1% is taken into account. The fee is aligned to the base fee applied on Binance, which is the largest cryptocurrency exchange by volume.
BB Mod + ForecastThis is a combination of two previous indicators; ALMA stdev band with fibs and Vector MACD.
Bollinger Band Mod fits the standard deviation on both sides of the center moving average ( ALMA +/- stdev / 2 ) and calculates Fibonacci ratios from stdev on both sides.
It is more averaging and more responsive at the same time compared to Bollinger Band.
Forecast is calculated from difference between origin ma ( ALMA from hl2 ) and six different period Hull moving averages averaged together and added to the center ma on both sides.
Fibonacci levels for 0.618 1.618 and 2.618 are added.
The dashed lines point towards the trend. Gives you a better idea of the current trend and momentum in the band.
Bollinger Band PW PackageThis script creates a Bollinger Band Package with Bollinger Band Percent and Width displayed on chart. The indicator also prints signals when price closes above or below the Bollinger Bands using shapes (circles by default). Bollinger Bands were created by John Bollinger, and consist of three lines plotted on a chart: the basis line (typically a moving average, 20 sma by default), an upper line (equal to the basis plus a certain number of standard deviations of the price, 2), and a lower line (equal to the basis minus the same number of standard deviations, 2 by default).
The script calculates the Bollinger Bands for a given input parameters by taking the length of the moving average and the number of standard deviations to use for the upper and lower bands. It then calculates the Bollinger Bands using these input parameters.
The script defines two functions: get_bb_percent() and get_bb_width(). The get_bb_percent() function calculates the percentage distance between the closing price and the lower band, as a percentage of the total distance between the upper and lower bands. This value is commonly referred to as the "Bollinger Band Percent". The get_bb_width() function calculates the percentage distance between the upper and lower bands, as a percentage of the basis line. This value is commonly referred to as the "Bollinger Band Width".
The script creates a table at the middle right of the chart, where the Bollinger Band Percent and Width values are displayed. The table is designed with two rows, one for the Bollinger Band Percent value and the other for the Bollinger Band Width value.
The script plots the three Bollinger Bands lines on the chart. The basis line is plotted in blue, the upper band line in red, and the lower band line in green.
The script then plots the shapes that signify closures above and below the bands using plotshape. The shapes and colors are customizable in the settings menu.
This indicator is designed to have all three components and a visual aid to assist Bollinger Band technical analysis in one script which can be helpful in determining potential trading opportunities. We thank John Bollinger for his contribution to technical analysis and trading.
Please give feedback and modify to your liking.
Role Reversal Detection Alert [MsF]Japanese below / 日本語説明は英文の後にあります。
-------------------------
When you draw a horizontal line on the W top or W bottom and be waiting for roll reversal, have you ever missed it when it rebounded at the horizontal line? It is a helpful indicator to prevent such oversight.
After the candle touches the horizontal line (including the touch of the leg), and then the candle body passes the alert judgment horizontal line, it will be alert.
The horizon line and the alert judment horizon line should be entered as parameters.
- Parameter
Input Horizontal Value: Enter the horizontal value
Band Range by pips : Enter the offset from horizontal line by pips
-------------------------
WトップやWボトムに水平線を引いてロールリバーサルを待ってる時に見事水平線で反発したのに見逃すことはありませんか?
そんな見落としを防止するためのお助け的なインジケーターです。
メイン水平線にローソク(ひげ含む)タッチ後、からアラート判定水平線を実体で抜けた場合にアラートを発報します。
メイン水平線とアラート判定水平線はそれぞれパラメータで入力する必要があります。
<パラメータ>
Input Horizontal Value:メイン水平線の価格を入力します
Band Range by pips :メイン水平線からアラート判定水平線のオフセットをpipsで入力します
+ Average Candle Bodies RangeACBR, or, Average Candle Bodies Range is a volatility and momentum indicator designed to indicate periods of increasing volatility and/or momentum. The genesis of the idea formed from my pondering what a trend trader is really looking for in terms of a volatility indicator. Most indicators I've come across haven't, in my opinion, done a satisfactory job of highlighting this. I kept thinking about the ATR (I use it for stops and targets) but I realized I didn't care about highs or lows in regards to a candle's volatility or momentum, nor do I care about their relation to a previous close. What really matters to me is candle body expansion. That is all. So, I created this.
ACBR is extremely simple at its heart. I made it more complicated of course, because why would I want anything for myself to be simple? Originally it was envisaged to be a simple volatility indicator highlighting areas of increasing and decreasing volatility. Then I decided some folks might want an indicator that could show this in a directional manner, i.e., an oscillator, so I spent some more hours tackling that
To start, the original version of the indicator simply subtracts opening price from closing price if the candle closes above the open, and subtracts the close from the open if the candle closes below the open. This way we get a positive number that simply measures candle expansion. We then apply a moving average to these values in order to smooth them (if you want). To get an oscillator we always subtract the close from the open, thus when a candle closes below its open we get a negative number.
I've naturally added an optional signal line as a helpful way of gauging volatility because obviously the values themselves may not tell you much. But I've also added something that I call a baseline. You can use this in a few ways, but first let me explain the two options for how the baseline can be calculated. And what do I mean by 'baseline?' I think of it as an area of the indicator where if the ACBR is below you will not want to enter into any trades, and if the ACBR is above then you are free to enter trades based on your system (or you might want to enter in areas of low volatility if your system calls for that). Waddah Attar Explosion is another indicator that implements something similar. The baseline is calculated in two different ways: one of which is making a Donchian Channel of the ACBR, and then using the basis as the baseline, while the other is applying an RMA to the cb_dif, which is the base unit that makes up the ACBR. Now, the basis of a Donchian Channel typically is the average of the highs and the lows. If we did that here we would have a baseline much too high (but maybe not...), however, I've made the divisor user adjustable. In this way you can adjust the height (or I guess you might say 'width' if it's an oscillator) however you like, thus making the indicator more or less sensitive. In the case of using the ACBR as the baseline we apply a multiplier to the values in order to adjust the height. Apologies if I'm being overly verbose. If you want to skip all of this I have tooltips in the settings for all of the inputs that I think need an explanation.
When using the indicator as an oscillator there are baselines above and below the zero line. One funny thing: if using the ACBR as calculation type for the baselines in oscillator mode, the baselines themselves will oscillate around the zero line. There is no way to fix this due to the calculation. That isn't necessarily bad (based on my eyeball test), but I probably wouldn't use it in such a way. But experiment! They could actually be a very fine entry or confirmation indicator. And while I'm on the topic of confirmation indicators, using this indicator as an oscillator naturally makes it a confirmation indicator. It just happens to have a volatility measurement baked into it. It may also be used as an exit and continuation indicator. And speaking of these things, there are optional shapes for indicating when you might want to exit or take a continuation trade. I've added alerts for these things too.
Lastly, oscillator mode is good for identifying divergences.
Above we have the indicator set to directional, or oscillator, mode. Baselines are Donchian Channels. I changed the default EMA length from 4 to 24 in this case, otherwise all the settings are default, as in the main image for the indicator (which is clearly set to non-directional). The indicator is set to requiring an advancing signal line for background and bar colors. Background color is not on by default. Candle colors, as you can see are aqua when above the top baseline (and only when the signal line is advancing, as per the settings), magenta when below the bottom baseline, and grey for anything else. The red and blue X's are exit signals. There are two types: one, when the signal line weakens and, two, when the ACBR crosses above or below the signal line. There are also arrows. These are continuation signals (ACBR crossing signal line).
Same image as above, but the baselines are set to ACBR rather than Donchian Channels.
Again, the same image, but with everything but the ACBR Baseline turned off. You can see how this might make for an excellent confirmation indicator, but for the areas of chap. Maybe run a second instance of the indicator on your chart as a volatility indicator, as you would not be using it in that way in this instance.
Here I have bar coloring turned off except for signal line crosses NOT requiring the signal line to be advancing. Background coloring is also turned on. You can see that these all line up with continuation signals, or exits for purple candles.
Same image as above but requiring the signal line to be advancing. You can see that continuation signals are not contingent upon the signal line to be advancing. I had it setup that way at first, but of course it still gave false signals, so I thought more signals (not that there are many) is better than fewer. To be sure, just because the indicator shows a continuation signal does not mean you should always take it.
ikulichkov: Dynamic Support and Resistance LevelsIntroduction:
In this TradingView community post, we will introduce the "ikulichkov: Dynamic Support and Resistance Levels" strategy. This strategy aims to identify dynamic support and resistance levels based on recent price movements.
Strategy Overview:
The "ikulichkov: Dynamic Support and Resistance Levels" strategy uses the highest high and lowest low over a specified period to determine dynamic support and resistance levels. The period parameter can be adjusted by the user to customize the strategy for their specific trading needs.
The strategy creates two plots, the dynamic resistance level and the dynamic support level, as well as two reference lines for the highest high price and lowest low price over the period.
The dynamic resistance level and dynamic support level are calculated using the current close price, the previous dynamic level, and the specified period. If the close price is higher than the previous dynamic resistance level, then the dynamic resistance level is updated to the current close price. Otherwise, the dynamic resistance level is adjusted by subtracting the difference between the previous dynamic resistance level and the current close price divided by the specified period. The dynamic support level (flc) is calculated in a similar manner but with the opposite direction.
Trading Rules:
It's important to note that the strategy only identifies potential support and resistance levels based on recent price movements. The user is responsible for making trading decisions based on their own analysis and risk management strategy.
One possible trading strategy using this indicator is to buy when the price bounces off the dynamic support level and sell when the price reaches the dynamic resistance level. Traders may also use other indicators or chart patterns to confirm the support or resistance levels identified by this strategy.
Conclusion:
In conclusion, the "ikulichkov: Dynamic Support and Resistance Levels" strategy is a useful tool for identifying dynamic support and resistance levels based on recent price movements. The strategy is customizable, allowing traders to adjust the period parameter to fit their specific trading needs. As always, traders should conduct their own analysis and risk management strategy when using any trading strategy or indicator.
Donchian Trend V1The Donchian Trend strategy is a trend-following approach that uses the Donchian Channels indicator to identify potential entry and exit points in a security. The Donchian Channels are formed by taking the highest high and the lowest low prices over a specified period and plotting them as upper and lower channels around the current price. The width of the channels indicates the level of volatility in the market.
In this strategy, the Donchian Channels are used as a trend filter to determine the direction of the market. When the price is above the upper channel, it suggests an uptrend, and when the price is below the lower channel, it indicates a downtrend. The length of the Donchian Channels is a key parameter in the strategy, as it determines the look-back period for identifying the high and low prices.
Additional Logic: To further refine the entry and exit signals, The script uses two moving averages, a fast one (MA5) and a slow one (MA45), to identify trends and generate trading signals. When the fast moving average crosses above the slow moving average, a buy signal is generated, indicating that the market is trending upwards. Conversely, when the fast moving average crosses below the slow moving average, a sell signal is generated, indicating that the market is trending downwards.
Evaluation: The script was backtested on historical price data for the pair. The backtest results showed that the script was able to generate a net profit of , with a profit factor of and a Sharpe ratio of . The script also includes metrics such as the number of winning and losing trades, the average trade, and the largest winning and losing trades.
The strategy is evaluated based on its net profit, gross profit, gross loss, max run-up, max drawdown, buy & hold return, Sharpe ratio, Sortino ratio, and profit factor. The parameters used in the backtest include a Donchian Channel length of 42, which corresponds to a weekly time with divide of 4h time frame, and a short-term MA of 5 and a long-term MA of 45 for more accurate entry and exit signals.
Disclaimer: This script is for educational and research purposes only and should not be used for trading with real money without further testing and validation. Past performance is not indicative of future results.