52 Week High/Low FibonacciThe primary purpose of this indicator is to calculate and plot the 52-week high and low prices along with the Fibonacci retracement levels on the price chart. Fibonacci levels are commonly used in trading to identify potential support, resistance, and price reversal points.
First, the script initializes the Fibonacci levels and their corresponding colors, which will be used to plot the levels on the chart. Next, it calculates the 52-week high and low prices by finding the highest and lowest prices over the last 252 trading days, approximately equivalent to one year. Then, it identifies the overall trend direction by comparing the number of bars since the highest high and the lowest low. If the highest high is more recent, the trend is considered downwards; if the lowest low is more recent, the trend is upwards.
The script then plots the Fibonacci retracement levels on the chart, using horizontal lines at the respective price levels. It also creates labels for each level, displaying the percentage and the price value. Additionally, it draws a line connecting the 52-week high and low prices, providing a visual representation of the price range during the 52-week period.
Pros of this indicator include:
-Automatic calculation and plotting of Fibonacci levels, saving time for traders
-Clear trend identification based on 52-week high and low prices
-Visually appealing and easy-to-read chart representation with color-coded levels
-Provides insight into potential price reversal areas based on widely used Fibonacci levels
Cons of this indicator include:
-Only works on daily timeframes, limiting its usefulness for intraday and weekly traders
-Assumes that the trend will continue in the same direction, which may not always be accurate in real-world markets
-Does not provide explicit buy or sell signals, leaving the trading decision-making process up to the trader
-Solely relies on Fibonacci levels, which may not always be accurate; it is recommended to use other technical indicators or strategies alongside this indicator for a comprehensive trading approach
In conclusion, the '52 Week High Low Fibonacci' indicator is a valuable tool for traders interested in using Fibonacci levels for identifying potential price reversal points. By automatically calculating and plotting these levels based on 52-week high and low prices, the indicator provides a clear, color-coded visual aid, which can be especially helpful for traders who base their strategies on these levels.
However, it's worth noting that this indicator is limited to daily timeframes and doesn't provide explicit buy or sell signals, requiring traders to incorporate their own analysis and judgement in their decision-making process. The indicator also operates on the assumption of trend continuation, which may not always hold true.
While it's a beneficial tool, relying solely on this indicator for trading decisions may not be advisable. It's best used in conjunction with other indicators and trading strategies, providing a more balanced and comprehensive approach to trading in the financial markets. As always, risk management should be a key part of any trading strategy.
**YOUR INSIGHTFUL FEEDBACK OR SUGGESTIONS FOR REVISIONS TO THIS CODE ARE HIGHLY APPRECIATED. PLEASE FEEL FREE TO SHARE YOUR THOUGHTS TO FOSTER ITS CONTINUAL IMPROVEMENT**
Technical Analysis
User Defined Momentum Change with Swing VisualsThis script is a groundbreaking, math-centric technical analysis tool that blends two well-established indicators, the Stochastic Oscillator and the Exponential Moving Average (EMA), to deliver a unique and visually engaging way of identifying momentum swings and stochastic indicators. Unlike mashups, this script is tailored to accommodate a wide range of trading strategies, providing traders with a distinctive perspective on market trends.
The innovation in this script lies in its mathematically-driven ability to effectively combine the Stochastic Oscillator and EMA, setting it apart from other available tools that simply offer a rehash of old ideas or slight modifications to popular indicators. The EMA is employed instead of a Simple Moving Average (SMA), enhancing the uniqueness of the calculations. This novel approach creates a new dimension for traders to evaluate potential momentum swings and visualize them on the chart, proving it to be more than just a mere mashup of existing indicators.
Central to the script's utility is its extensive customization options, which allow traders to adjust various inputs to suit their preferences and trading strategies. Users can modify the EMA length, swing range signal offsets, and smoothing factors for both the fast and slow components of the Stochastic Oscillator. Additionally, the script offers the ability to personalize the color thresholds, transparency, and line properties for the Stochastic Oscillator and swing range signal.
This script's visually dynamic representation of momentum swings empowers traders to make more informed trading decisions, particularly on the 6-hour timeframe. The swing range signal, represented by vertical lines on the chart, acts as a valuable visual aid for identifying potential entry or exit points. Furthermore, the Stochastic Oscillator provides insights into the strength and direction of momentum, which is beneficial for confirming potential trade signals.
To conclude, this script is not just another combination of MAs or a slightly modified version of a popular indicator. Instead, it offers traders a comprehensive, visually appealing, and customizable tool for technical analysis, which is both original and useful. By uniquely combining the EMA and the Stochastic Oscillator with a strong mathematical foundation, and allowing traders to adjust a variety of settings, this script adds value to the TradingView community and enhances the body of knowledge available for traders. It is designed to support traders in tailoring their analysis based on their own strategies and preferences, enabling them to make well-informed decisions in the financial markets.
Fundamental Value and Dividend Growth InvestingThis script is an original implementation of a Fundamental Value and Dividend Growth Investing Strategy for traders who want to incorporate these concepts in their trading decisions. The script uses technical indicators to determine buy and sell signals based on a set of criteria.
To use the script, traders can input various parameters, such as the length of the simple moving averages (SMA), the rate of change (ROC) length, and the dividend yield. The script calculates the SMA for the long and short periods, the ROC, and the dividend.
The buy signal is triggered when the current closing price is greater than the short-term SMA, the short-term SMA crosses above the long-term SMA, the ROC is positive, and the closing price is greater than the dividend. The sell signal is triggered when the current closing price is less than the long-term SMA, the long-term SMA crosses above the short-term SMA, and the ROC is negative.
The script plots the signals and the indicators, such as the SMA200, the SMS50, the dividend, and the ROC. The script also includes alert conditions for the buy and sell signals.
The concept underlying the calculations of this script is the Fundamental Value and Dividend Growth Investing Strategy. This strategy aims to identify stocks that are trading below their intrinsic value and have a history of increasing dividends. The SMA and ROC indicators help identify the trends in the stock price, while the dividend yield helps identify stocks with a history of dividend growth.
Overall, this script offers traders an original and useful tool for incorporating Fundamental Value and Dividend Growth Investing Strategy into their trading decisions.
Big Bars DetectorIf a big bar with high volume appears during an uptrend, this may indicate strong buying pressure i.e. the bar acts as support. vice versa, if a big bar with high volume appears during a downtrend i.e. the bar acts as resistance.
How to use ?
It is easy to use whenever the label appears on the candle's high (make sure the candle's color is Red for a bear candle, for example). If a Green bar has a label on its low, simply use the candle's low as support, and vice versa. If the candle's high has a label, consider using it as resistance.
The values display in labels on the top / bottom of the bar is the volume on that particular candle
Hope you like and help in your trading !!!
if any have question / suggestion comment below or just message me.
Thanks and Regards,
TradingTail
Modified Bollinger BandsThis script has been distributed for learning purposes.
A particular kind of price envelope is "Bollinger Bands" indicator. Upper and lower price range levels are determined by price envelopes. By default, Bollinger Bands are plotted in Tradingview as envelopes at a standard deviation level above and below the price's simple moving average (SMA). I attempted to modify the indicator in this version by adding several kinds of moving averages first. The key feature is that standard deviation should be modified. in Tradingview, SMA calculates the standard deviation. The allocated moving average should be used to calculate the std function when the base line is changed.
FluidTrades - SMC Lite
Price action and supply and demand is a key strategy use in trading. We wanted it to be easy and efficient for user to identify these zones, so the user can focus less on marking up charts and focus more on executing trades.
This indicator shows you supply and demand zones by using pivot points to show you the recent highs and the recent lows.
Features
This indicator includes some features relevant to SMC , these are highlighted below:
Full internal & swing market structure labeling in real-time
Swing Structure: Displays the swing structure labels & solid lines on the chart (BOS).
Supply & demand ( bullish & bearish )
Swing Points: Displays swing points labels on chart such as HH, HL, LH, LL.
Options to style the indicator to more easily display these concepts
White OB (supply): search for short opportunities
Blue OB (demand): search for long opportunities
Break of structure ( BOS )
For markets to move up and down a break in market structure must occur. A break in market structure occurs when the market begins to shift direction and break the previous HH and HL or HL and LL of the market. We also integrated the feature that you can see the BOS lines. In the indicator settings you can adjust the color of the label.
Settings
SwingHigh/Low Length: Allows the user to select Historical (default) or Present, which displays only recent data on the chart.
Supply/demand box width: Allows user to change the size of the supply and demand box
History to keep: allows the user to select how many most recent supply & demand box appear on the chart.
Visual settings
Show zig zag : allow user to see market patters within the market
Show price action labels: allow user to turn on/off the (swing points)
Supply box color : allow users to change the color of their supply box
Demand box color : allow users to change the color of their supply box
Bos label color : allow users to change the color of their BOS label
Poi label color : allow user to change the color of their POI label
Price action label : allow users to change the color of their swing points labels
Zig zag color : allow users to change the color of the zig/zag market patters
Warning
Never blindly take a trade on a supply/demand box - wait for a proper market structure to occur before considering a trade.
Big Money Flow & Drift Oscillator [Spiritualhealer117]An easy way to track what big money and market makers are doing in the markets. The Big Money Flow & Drift Oscillator is best suited as a trend indicator, estimating what way the market will drift on low volume and what way it will move on large volume.
This oscillator is composed of two lines, the Big Money Flow and Drift Oscillator. The Big Money Flow line gives the average percentage return of the asset when the volume is greater than the EMA of volume, showing that big money is making moves in the market. The Drift Oscillator gives the average percentage return of the asset when the volume is less than the EMA of volume, where pricing is done by small money and market makers.
By default, between the two lines, there is a color fill, determined based on the following logic:
BMF > drift and BMF > 0: Yellow
drift > BMF and drift > 0: Beige
BMF > drift and BMF < 0: Orange
drift > BMF and drift < 0: Red
Tri-MayerMultiple by USCG_VetThe Mayer Multiple was created by Trace Mayer as a way to analyze the price of an asset in a historical context.
The Mayer Multiple is the multiple of the current price over some x-day moving average.
I preferred to display multiple average lines as they can help with identifying divergences.
PIVOT STRATEGY [INDIAN MARKET TIMING]
A Back-tested Profitable Strategy for Free!!
A PIVOT INTRADAY STRATEGY for 5 minute Time-Frame , that also explains the time condition for Indian Markets
The Timing can be changed to fit other markets, scroll down to "TIME CONDITION" to know more.
The commission is also included in the strategy .
The basic idea is when ,
1) Price crosses above ema1 ,indicated by pivot highest line in green color .
2) Price crosses below ema1 ,indicated by pivot lowest line in red color .
3) Candle high crosses above pivot highest , is the Long condition .
4) Candle low crosses below pivot lowest , is the Short condition .
5) Maximum Risk per trade for the intraday trade can be changed .
6) Default_qty_size is set to 60 contracts , which can be changed under settings → properties → order size .
7) ATR is used for trailing after entry, as mentioned in the inputs below.
// ═════════════════════════//
// ————————> INPUTS <————————— //
// ═════════════════════════//
Leftbars —————> Length of pivot highs and lows
Rightbars —————> Length of pivot highs and lows
Price Cross Ema —————> Added condition
ATR LONG —————> ATR stoploss trail for Long positions
ATR SHORT —————> ATR stoploss trail for Short positions
RISK —————> Maximum Risk per trade for the day
The strategy was back-tested on RELIANCE ,the input values and the results are mentioned under "BACKTEST RESULTS" below .
// ═════════════════════════ //
// ————————> PROPERTIES<——————— //
// ═════════════════════════ //
Default_qty_size ————> 60 contracts , which can be changed under settings
↓
properties
↓
order size
// ═══════════════════════════════//
// ————————> TIME CONDITION <————————— //
// ═══════════════════════════════//
The time can be changed in the script , Add it → click on ' { } ' → Pine editor→ making it a copy [right top corner} → Edit the line 25 .
The Indian Markets open at 9:15am and closes at 3:30pm .
The 'time_cond' specifies the time at which Entries should happen .
"Close All" function closes all the trades at 3pm, at the open of the next candle.
To change the time to close all trades , Go to Pine Editor → Edit the line 103 .
All open trades get closed at 3pm , because some brokers don't allow you to place fresh intraday orders after 3pm .
NSE:RELIANCE
// ═══════════════════════════════════════════════ //
// ————————> BACKTEST RESULTS ( 128 CLOSED TRADES )<————————— //
// ═══════════════════════════════════════════════ //
INPUTS can be changed for better back-test results.
The strategy applied to NIFTY ( 5 min Time-Frame and contract size 60 ) gives us 60% profitability y , as shown below
It was tested for a period a 6 months with a Profit Factor of 1.45 ,net Profit of 21,500Rs profit .
Sharpe Ratio : 0.311
Sortino Ratio : 0.727
The graph has a Linear Curve with consistent profits .
The INPUTS are as follows,
1) Leftbars ————————> 3
2) Rightbars ————————> 5
3) Price Cross Ema ——————> 150
4) ATR LONG ————————> 2.7
5) ATR SHORT ———————> 2.9
6) RISK —————————> 2500
7) Default qty size ——————> 60
NSE:RELIANCE
Save it to favorites.
Apply it to your charts Now !!
↓
FOLLOW US FOR MORE !
Thank me later ;)
Stock Tech Bot One ViewTechnical indicators are not limited. Hence, here is another indicator with the combination of OBV, RSI, and MACD along with support, and resistance that follows the price while honoring the moving average of 200, 90 & 50.
The default lookback period of this indicator is 21 though it is changeable as per the user's desire.
The highest high and lowest low for the last 21 days lookback period proven to be the perfect Support & Resistance as the price of particular stock values are decided by market psychology. The support and resistance lines are very important to understand the market psychology which is very well proven with price action patterns and the lines are drawn based on,
Lower Extreme = 0.1 (Changeable)
Maximum Range = 21 days highest high - 21 days lowest low.
Support Line = 21 days lowest low + (Maximum Range * Lower Extreme)
Resistance Line = 21 days highest high - (Maximum Range * Lower Extreme)
RSI - Relative strength indicator is very famous to find the market momentum within the range of 0 - 100. Though the lookback period is changeable, the 14 days lookback period is the perfect match as the momentum of market movement for the last 3 weeks will always assist to identify the market regime. Here the momentum is just to highlight the indication (green up arrow under the candle for long and red down arrow above the candle for short) of market movement though it is not very important to consider if the price of the stock respect the support & resistance lines along with volume indicator (* = violet color).
OBV - Momentum:
The on-balance volume is always going indicator on any kind of tickers, which helps to identify the buying interest. Now, applying momentum on OBV with the positive movement for at least two consecutive days gives perfect confirmation for entry. A combination of the price along with this momentum(OBV) in the chart will help us to know the whipsaw in the price.
The Symbol "*" on top of each bar shows the market interest in that particular stock. If your ticker is fundamentally strong then you can see this "*" even when the market falls.
MACD:
One of the favorites and simple indicators widely used, where the thump of the rule is not to change the length even if it is allowed. It's OK to believe blindly in certain indicator and consider it while trading. That's why the indicator changes the bar color by following the MACD histogram.
Volume:
It may be the OBV works based on the open price and close price along with volume movement, it is wise to have the volume that is plotted along with price movement that should help you to decide whether the market is greedy or fearful.
The symbol "-" on top of each bar tells you a lot and don't ignore it.
Moving Average:
Moving average is a very good trend indicator as everyone considers seeing along with the price in the chart which is not omitted while we gauge the price movement alone with volume in this indicator. The 200, 90 & 50 MA's are everyone's favorite, and the same is plotted on the chart.
As explained above, the combination of all four indicators with price movement will give us very good confidence to take entry.
Candlestick Pattern:
You should admire the techniques of the candlestick pattern as you navigate the chart from right to left. Though there are a lot of patterns that exist, it is easy to enable and disable to view the signal as the label.
Further, last but not least, the exit always depends on individual conviction and how often the individual watch the price movement, if your conviction is strong then follow the down arrow red indication. If not, then exit with a trailing stop that indicates the bar with orange color.
Happy investing
Note: It is just a combination of multiple indicators and patterns to get one holistic view. So, the credit goes to all wise developers who publically published.
God Number Channel v2(GNC v2)GNC got a little update:
1) Logic changed a bit.
I tried to calculate MAs based on the power(high - low of previous bars).You can see it the M-variables, as new statements were added in calculation section of MAs. I don't really know if I did right, because I didn't go too much in Pine Script. I just wanted to make a Bollinger-bands-like bands, which could predict the levels at which might reverse, using legendary fibonacci and Tesla's harmonic number 432. It's might sound as a joke, but as you can see, it works pretty good.
2) Customization :
No need to change Fibonacci ratios in code. Now you can do it in the GNC settings. Also MAs' names were made obvious, just check it out. Time of million similar "MA n1" has passed :)
3) Trade-entry advices :
I didn't tell you exactly the trade-entry advices, as I haven't explored this script fully yet :) But you probably understood something intuitively, when added GNC on the chart. Now I made things way more obvious:
1. Zones between Fib ratios show you how aware you should be of price movements. Basically, here are the rules, but you probably understand them already:
1.1 Red zone(RZ) : high awareness, very likly for price to be reversed, but if there is a clear trend and you know, than it might be a time for price to shoot up/down.
1.2 Orange zone(OZ) : medium awareness, not so obvious, as price might go between boundaries of OZ and continue the trend movement if such followed before entering the OZ. If price go below lower boundary of OZ and the next bar opens below this boundary, it might be a signal for SHORY, BUT(!) please consider confirmation of any sort to be more sure. Think of going beyond the upper boundary by analogy.
1.3 Green Zone(GZ) : if the price hits any boundary of green zone, it is usually a good oppurtunity to open a position against the movement(hit lower boundary -> open LONG, hit upper boundary -> open SHORT).
1.4 Middle Zone(Harmonic Zone)(MZ) : same rules from Green Zone.
IMPORTANT RECCOMENDATION : Use trend indicator to trend all signals from zones to follow the trend, 'cause counter-trending with this thing without stop loss might very quickly wipe you out , might if you will counter-trend strategy with GNC, I will be glad if you share it with the community :)
Reccomendation for better entries :
1) if the price hits the lower(or high) boundaries(LB or HB) zone after zone(hit LB or HB of RZ, then of OZ, then of GZ), it is a very good signal to either LONG, if price was hitting LBs , or SHORT, if hitting HBs .
2) Consider NOT to place trades when in MZ, as price in this zone gets tricky often enough. By the way, if you dont the see the harmonic MAs(which go with plot(ma1+(0.432*avg1)) ), then set the transparency of zone to 20% or a bit more and then it will be ok.
I will continue to develop the GNC and any help or feedback from you, guys, will be very helpful for me, so you welcome for any of those, but please be precise in your critics.
Thank you for using my stuff, hope you found it usefull. Good luck :)
Autodrawn Pivot Levels IndicatorAn experiment with pinescript's line.new() function. The Autodrawn Pivot Levels indicator draws horizontal lines in areas where prices have been flat, which serve as pivot points. This can be useful for pivot trading as it visually shows several critical levels
Infiten's Return Candle OscillatorInfiten's Return Candle Oscillator is an oscillator which shows the percentage return on the open, high, close and low over a customizable period in the form of candlesticks. It may be helpful for seeing volatility, swing trading, or mean reversion trading.
The RCO consists of two plotted elements :
RCO Candles (short length): candlesticks which are plotted with low = the product of the percentage changes in the low over a period, high = the product of the percentage changes in the high over a period, close = the product of the percent changes in close over a period, and open = the product of the percentage changes in return over a period. Similarly to with standard candlesticks, if the percentage change on the close is higher than the percentage change on the open, the candlestick is green, otherwise it is red.
Smoothed RCO Line (long length) : a moving average of the average of the low, close, open and high calculated for the RCO Candles. The line's transparency is determined by the percentage difference between the RCO and the highest or lowest RCO over the long length. A more transparent line means that the RCO is closer to the highest or lowest RCO, and may be indicative of a reversal, or weakening trend.
Moving Average Band Width ((((20/04/2022))))Todays Script uses 5 Moving Averages with the new function on V5 called fill, we can now colour fill between moving averages.
9ema
20ema
50ema
100ema
200ema
100-200ema which is labelled in Redis where the big impulse moves will fall into if the pressure is so strong on the opposite of the trend.
50-100ema which is labelled in Blue is where price could be heading in a healthy trend
20-50ema which is labelled in Purple, price will enter this area when price is in a strong impulse move/trend
9-20ema which is labelled in Green is a super strong trend/ impulse move, price will most likely break this stream and enter the 20-50ema
(the colour of EMAS can be changed in the settings)
I would use this to either gauge the strength of a trend//impulse leg or buy/sell opportunities.
This works best in trending environments, LTF and liquid markets
KINSKI Multi Trend OscillatorThe Multi Trend Oscillator is a tool that combines the ratings of several indicators to facilitate the search for profitable trades. I was inspired by the excellent indicator "Technical Ratings" from Team TradingView to create an alternative with a technically new approach. Therefore, it is not a modified copy of the original, but newly conceived and implemented.
The recommendations of the indicator are based on the calculated ratings from the different indicators included in it. The special thing here is that all settings for the individual indicators can be changed according to your own needs and displayed as a histogram and MA line. This provides an excellent visual control of your own settings. Alarms are also triggered.
Criteria for determining the rating
Relative Strength Index (RSI)
Buy - Crossover oversold level and indicator < oversold level and rising
Sell - Crossunder oversold level and indicator >= oversold level and falling
Neutral - neither Buy nor Sell
Relative Strength Index (RSI) Laguerre
Buy - Crossover Oversold Level and Indicator < Oversold Level and rising
Sell - Crossunder oversold level and indicator >= oversold level and falling
Neutral - neither Buy nor Sell
Noise free Relative Strength Index (RSX)
Buy - Crossover Oversold Level and Indicator < Oversold Level and rising
Sell - Crossunder oversold level and indicator >= oversold level and falling
Neutral - neither Buy nor Sell
Money Flow Index (MFI)
Buy - Crossover Oversold Level and Indicator < Oversold Level and rising
Sell - Crossunder oversold level and indicator >= oversold level and falling
Neutral - neither Buy nor Sell
Commodity Channel Index (CCI)
Buy - Crossover Oversold Level and Indicator < Oversold Level and rising
Sell - Crossunder oversold level and indicator >= oversold level and falling
Neutral - neither Buy nor Sell
Moving Average Convergence/Divergence (MACD)
Buy - values of the main line > values of the signal line and rising
Sell - values of the main line < values of the signal line and falling
Neutral - neither Buy nor Sell
Klinger
Buy - indicator >= 0 and rising
Sell - indicator < 0 and falling
Neutral - neither Buy nor Sell
Average Directional Index (ADX)
Buy - indicator > 20 and +DI line crosses over the -DI line and rising
Sell - indicator > 20 and +DI line crosses below the -DI line and falling
Neutral - neither Buy nor Sell
Awesome Oscillator
Buy - Crossover 0 and values are greater than 0, or exceed the zero line
Sell - Crossunder 0 and values are lower than 0, or fall below the zero line
Neutral - neither Buy nor Sell
Ultimate Oscillator
Buy - Crossover oversold level and indicator < oversold level and rising
Sell - Crossunder oversold level and indicator >= oversold level and falling
Neutral - neither Buy nor Sell
Williams Percent Range
Buy - Crossover Oversold Level and Indicator < Oversold Level and rising
Sell - Crossunder Oversold Level and Indicator >= Oversold Level and falling
Neutral - neither Buy nor Sell
Momentum
Buy - Crossover 0 and indicator levels rising
Sell - Crossunder 0 and indicator values falling
Neutral - neither Buy nor Sell
Total Ratings
The numerical value of the rating "Sell" is 0, "Neutral" is 0 and "Buy" is 1. The total rating is calculated as the average of the ratings of the individual indicators and are determined according to the following criteria:
MaxCount = 12 (depending on whether other oscillators are added).
CompareSellStrong = MaxCount * 0.3
CompareMid = MaxCount * 0.5
CompareBuyStrong = MaxCount * 0.7
value <= CompareSellStrong - Strong Sell
value < CompareMid and value > CompareSellStrong - Sell
value == 6 - Neutral
value > CompareMid and value < CompareBuyStrong - Buy
value >= CompareBuyStrong - Strong Buy
Understanding the results
The Multi Trend Oscillator is designed so that its values fluctuate between 0 and currently 12 (maximum number of integrated indicators). Its values are displayed as a histogram with green, red and gray bars. The bars are gray when the value of the indicator is at half of the number of indicators used, currently 12. Increasingly saturated green bars indicate increasing values above 6, and increasingly saturated red bars indicate increasingly decreasing values below 6.
The table at the end of the histogram shows details (can be activated in the settings) about the overall rating and the individual indicators. Its color is determined by the rating value: gray for neutral, green for buy or strong buy, red for sell or strong sell.
The following alarms are triggered:
Multi Trend Oscillator: Sell
Multi Trend Oscillator: Strong Sell
Multi Trend Oscillator: Buy
Multi Trend Oscillator: Strong Buy
Co-relation and St-deviation Strategy - BNB/USDT 15minThis indicator based on statistical analysis. it uses standard deviation and its co-relation to price action to generate signals. and following indicators has been used to calculate standard deviation and its co-relation values. finally it is capable to identify market changes in bottoms to pic most suitable points.
1. Parabolic SAR (parabolic stop and reverse)
2. Supertrend
3. Relative strength index (RSI)
4. Money flow index (MFI)
5. Balance of Power
6. Chande Momentum Oscillator
7. Center of Gravity (COG)
8. Directional Movement Index (DMI)
9. Stochastic
10. Symmetrically weighted moving average with fixed length
11. True strength index (TSI)
12. Williams %R
13. Accumulation/distribution index
14. Intraday Intensity Index
15. Negative Volume Index
16. Positive Volume Index
17. On Balance Volume
18. Price-Volume Trend
19. True range
20. Volume-weighted average price
21. Williams Accumulation/Distribution
22. Williams Variable Accumulation/Distribution
23. Simple Moving Average
24. Exponential Moving Average
25. CCI (commodity channel index)
26. Chop Zone
27. Ease of Movement
28. Detrended Price Oscillator
29. Advance Decline Line
30. Bull Bear Power
TrendLineThis is a tool to see trend lines on charts. This code takes two maximum and two minimum and draws a line between them.
Ultimate Ichimoku Cloud StrategyThe goal of this strategy script is to provide the ultimate experience to anyone interested in the Ichimoku Kinkō Hyō (Ichimoku Cloud). The script is designed to be highly customizable and allows the user to set a custom trade date range and select any combination of inputs and conditions that satisfy their goals. Additionally, the script allows the user to visually see any combination of their set conditions by clicking the " Show Conditions Visually " checkbox. Doing so will color the background in a different color where the conditions align. Finally, a simple Stop/Take profit is added for those that wish to exit based on percentages over Ichimoku conditions.
As always, please let me know if there are any bugs, something useful that could be added or if you need some help. Leave a like if you wish!
DivergenceLibrary "Divergence"
Calculates a divergence between 2 series
bullish(_src, _low, depth) Calculates bullish divergence
Parameters:
_src : Main series
_low : Comparison series (`low` is used if no argument is supplied)
depth : Fractal Depth (`2` is used if no argument is supplied)
Returns: 2 boolean values for regular and hidden divergence
bearish(_src, _high, depth) Calculates bearish divergence
Parameters:
_src : Main series
_high : Comparison series (`high` is used if no argument is supplied)
depth : Fractal Depth (`2` is used if no argument is supplied)
Returns: 2 boolean values for regular and hidden divergence
I created this library to plug and play divergences in any code.
You can create a divergence indicator from any series you like.
Fractals are used to pinpoint the edge of the series. The higher the depth, the slower the divergence updates get.
My Plain Stochastic Divergence uses the same calculation. Watch it in action.
RECON ATR Volatility PercentageThe original Average True Range (ATR) indicator is a technical analysis indicator designed to measure volatility. The higher the ATR the higher the volatility.
The RECON ATR Volatility Percentage indicator calculates the Average True Range (ATR) as a percentage.
Suggested chart timeframes: 1h, 4h and 1D seem to produce the most useful intel but can be used on lower timeframes as well.
The Recon ATR Volatility Percentage can be utilized for identifying trading pairs with a desired amount of volatility, for example deploying a grid trading strategy on pairs that are trending up with a high amount of volatility (say over 50%) might produce desirable results.
It is important to note the ATR does not indicate price direction and can be high in both a rising or falling market.
The ATR Length, Period Look Back Length parameters as well as the color of the columns can be configured per your specifications.
DrawIndicatorOnTheChartLibrary "DrawIndicatorOnTheChart"
this library is used to show an indicator (such RSI, CCI, MOM etc) on the main chart with indicator's horizontal lines in a window. Location of the window is calculated dynamically by last price movemements
drawIndicator(indicatorName, indicator, indicatorcolor, period, indimax_, indimin_, levels, precision, xlocation) draws the related indicator on the chart
Parameters:
indicatorName : is the indicator name as string such "RSI", "CCI" etc
indicator : is the indicator you want to show, such rsi(close, 14), mom(close, 10) etc
indicatorcolor : is the color of indicator line
period : is the length of the window to show
indimax_ : is the maximum value of the indicator, for example for RSI it's 100.0, if the indicator (such CCI, MOM etc) doesn't have maximum value then use "na"
indimin_ : is the minimum value of the indicator, for example for RSI it's 0.0, if the indicator (such CCI, MOM etc)doesn't have maximum value then use "na"
levels : is the levels of the array for the horizontal lines. for example if you want horizontal lines at 30.0, and 70.0 then use array.from(30.0, 70.0). if no horizontal lines then use array.from(na)
precision : is the precision/number of decimals that is used to show indicator values, for example for RSI set it 2
xlocation : is end location of the indicator window, for example if xlocation = 0 window is created on the index of the last bar/candle
Returns: none
Moving Average Support and Resistance ChannelThe Moving Average Support and Resistance Channel is a channel that consists of trend lines of resistance and support of the analyzed instrument, represented as moving averages with the selected type and smoothing period on a certain timeframe, where:
- Middle Line - the middle of the channel (the moving average of the pivot point using the Floor Pivot method)
- R1 - first resistance (moving average of support + Factor*ATR)
- R2 - second resistance (R1 + Factor*ATR)
- S1 - first support (moving average of resistance-Factor*ATR)
- S2 - second support (S1-Factor*ATR)
- Factor-ATR multiplier
Despite the fact that the indicator consists of moving averages, it can work equally well both during a trend and in its absence.
Characteristics of the trend movement:
• During an uptrend, the moving averages of the indicator are directed upwards, the price is above the Middle Line level most of the time
• During a downtrend, the moving averages of the indicator are directed down, the price is below the Middle Line level most of the time
• During the flat period, the boundaries of the moving average channel narrow, the channel tends to align in a horizontal position, the price consolidates most of the time around the Middle Line level, fighting off the support and resistance levels of the indicator.
The position of asset prices outside the indicator may mean an early correction or trend reversal.
How to trade:
One of the trading methods may be that during a breakout or a pullback after a breakout of the Middle Line level, the target of further movement, depending on the direction of this movement, may be the levels R1, R2 or S1, S2. Use this situation to make a profit.
I wish you good luck in building your trading plans and remember: such indicators do not predict the future price movement on the chart, they only determine the characteristics of the price movement at the current time, taking into account historical data.
[BCT] Can BTC be predicted or is it purely random?Variance Ratio**This indicator can be applied to the ticker of your choice (not just BTC)**
Markets are said to be "efficient". An efficient market is by definition unpredictable - no matter the amount of ML, computation, or indicators thrown at it. In particular, in an efficient market, TA will not be of help.
An illustration of efficient markets is the WSJ's longstanding monkey vs. human contest:Blindfolded Monkey Beats Humans With Stock Picks, granted there are several flaws to it.
BTC is a relatively new market. New markets are typically highly inefficient (easier to make money) and become more and more efficient over time (harder to make money). How much more efficient is BTC becoming?
We apply the Variance Ratio method and apply it to BTC.
BACKGROUND ON THE VARIANCE RATIO METHOD
Based on 1988 MacKinlay's seminal paper "Stock Market Prices do not Follow a Random Walk", the idea is to exploit a phenomenon called "variance scaling".
For those keen on looking into the math, the short version of it is under the assumption of iid (random walk) we have the following:
H0: Var(Sum(returns over K bars))=Sum(Var(returns over 1 bar))=k*Var(return over 1 bar)
We look to reject or not H0 depending on the observations.
In this script, we compare the variance of the (log) returns for the chart selected between:
(1) The (average) variance over k bars (call this Vk)
(2) The (average) variance over 1 bar (call this V1)
H0 simply says that Vk=k*V1 if the stock follows a random walk.
We compute the Variance Ratio VR(k)=Variance(returns over k bar)/(Sum(Var(returns over 1 bar)))-1
We then compute the associated Z-score which we chart out for a configurable k number of bars.
HOW TO INTERPRET THE CHART
The line drawn is the Z-Score for VR(k). It represents the number of standard deviations of VR(k) from 0 - the further out, the less random.
- If the line is close / hovers around 0, the ticker appears to follow a random walk (i.e. may not be predictable)
- If the line is consistently > 2 or <-2, the ticker likely does not follow a random walk (i.e. may have predictable features)
- If the line is positive, it means that the Variance on the k bars is larger than the variance on 1 bar (more variance on longer timeframes)
- If the line is negative, it means that the Variance on the k bars is smaller than the variance on 1 bar (more variance on smaller timeframes)
USE CASES
- Identify timeframes where you won't be able to make money
- Identify whether a stock cannot be predicted (forget about TA, indicators etc. -- a random walk is not predictable)
- Identify whether a stock is becoming less and less predictable (Z-score amplitude will decrease over time)
FEATURES
- select the number of K bar to compare vs. 1 bar (default = 16) - ideally a power of 2 but any other number will work. The chart is based off this selection
- select the lookback period for the analysis (500 bars by default)
- select the source to analyze (default = close, but you may select other inputs to calculate the returns from)
- results form the statistical tests on different K's in the table on the right/bottom side of the chart (H0 rejected = not random walk; H0 not rejected = it essentially looks rather random and we can't conclude that it's not a random walk)
COMMENTARY ON BTC
- It appears BTC's absolute value of the ZScore on the Variance Ratio is declining year after year - corroborating an increasingly efficient market as new participants join.
- However, we can still detect a fair amount of potential inefficiency using this simple test.
As usual, this is not investment advice. DYOR.
With love,
🐵BCT🐵