Chande Kroll Stop今天和大家分享Chande Kroll Stop 回测, 信号采用了上限线和下限线共通反向趋势而决定买卖信号,如果有新的构思能提高买卖信号欢迎在留言区发表你的建议,祝你交易开心!
Bill Williams Indicators
Intermediate Williams %R w/ Discontinued Signal Lines [Loxx]Intermediate Williams %R w/ Discontinued Signal Lines is a Williams %R indicator with advanced options:
-Williams %R smoothing, 30+ smoothing algos found here:
-Williams %R signal, 30+ smoothing algos found here:
-DSL lines with smoothing or fixed overbought/oversold boundaries, smoothing algos are EMA and FEMA
-33 Expanded Source Type inputs including Heiken-Ashi and Heiken-Ashi Better, found here:
What is Williams %R?
Williams %R, also known as the Williams Percent Range, is a type of momentum indicator that moves between 0 and -100 and measures overbought and oversold levels. The Williams %R may be used to find entry and exit points in the market. The indicator is very similar to the Stochastic oscillator and is used in the same way. It was developed by Larry Williams and it compares a stock’s closing price to the high-low range over a specific period, typically 14 days or periods.
Included:
-Toggle on/off bar coloring
-Toggle on/off signal line
LutrewMTF// ————— Plots
var cMarkerUp = color.new(color.lime, 0)
var cMarkerDn = color.new(color.red, 0)
plotshape(A1U, "Marker 1 Up", shape.triangleup, location.belowbar, cMarkerUp, size = size.tiny, text = "1")
plotshape(A2D, "Marker 2 Dn", shape.triangledown, location.abovebar, cMarkerDn, size = size.tiny, text = "2")
plotshape(A3U, "Marker 3 Up", shape.triangleup, location.belowbar, cMarkerUp, size = size.tiny, text = " 3")
plotshape(A4D, "Marker 4 Dn", shape.triangledown, location.abovebar, cMarkerDn, size = size.tiny, text = "4 ")
plotshape(A5U, "Marker 5 Up", shape.triangleup, location.belowbar, cMarkerUp, size = size.tiny, text = " 5")
plotshape(A6D, "Marker 6 Dn", shape.triangledown, location.abovebar, cMarkerDn, size = size.tiny, text = "6 ")
plotshape(A7U, "Marker 7 Up", shape.triangleup, location.belowbar, cMarkerUp, size = size.tiny, text = " 7")
plotshape(A8D, "Marker 8 Dn", shape.triangledown, location.abovebar, cMarkerDn, size = size.tiny, text = "8 ")
// ————— Alert
alertcondition( A1U or A2D or A3U or A4D or A5U or A6D or A7U or A8D, "Pivots MTF: Configured Markers", "Pivots MTF Alert")
// }
VWAP OscilatorVWAP Oscillator - Awesome Oscillator but using different period Volume Weighted Average Price values instead of moving averages. Used to get an idea of the momentum of price movements and when momentum might be reversing.
Awesome Oscillator PlusThe Awesome Oscillator is an indicator used to measure market momentum. AO calculates the difference of a 34 Period and 5 Period Simple Moving Averages. The Simple Moving Averages that are used are not calculated using closing price but rather each bar's midpoints. AO is generally used to affirm trends or to anticipate possible reversals.
The Awesome Oscillator's saucer is a trading signal that many analysts use to identify potential rapid changes in momentum. The saucer strategy involves looking for changes in three consecutive bars that are on the same side of the zero line.
AO's saucers can be either bullish or bearish. A bullish saucer can be identified when the awesome oscillator is above the zero line and there are two consecutive red bars – with the second bar being lower than the first – which are followed by a green bar.
On the other hand, a bearish saucer can be identified by two consecutive green bars below the zero line – with the second bar being lower than the first – which are immediately followed by a red bar.
Bullish saucer = Background and green arrow
Bearish saucer = Background and red arrow
Alerts can be triggered when a bullish or bearish saucer occurs.
Blue dots mean that the maximum or minimum of 150 periods has been exceeded (you can change the number of periods). Also added a signal line which can be exchanged for different moving averages.
The MACD line and histogram have a setting of Fast MA = 13, Slow MA = 21 and Signal = 8.
Added light blue dots as bullish signals (MACD line below zero and line crossing) and pink dots as bearish signals (MACD line above zero and line crossing). Alerts can be activated to notify such signals.
Smaller Fractals (+ Transparency)Smaller Fractals (+ Transparency)
I find that fractals are super useful, but can visually clutter up the chart pretty quickly. Their opaqueness and just overall bigness can become a bit much.
As such, these are just like regular fractals, only smaller (pine script's`size.tiny` instead of the default `size.small`).
Also, you can set a transparency level to these little guys (default is 50%).
Simple, more polite, and hopefully more useful fractals for those wnting a cleaner looking chart. 😁
Williams Fractals - LH/HLSame of original Williams Fractals, but with the following changes
- changed arrow directions
- added option to show Lower Highs and Higher Lows
- added alerts for Lower High and Higher Low
Enjoy~~
Cycle strategy DEMO V1.0READ BEFORE USING:
This indicator includes the Cycle strategy and 2 bonus indicators ( pivot strategy & volume strategy). This is a DEMO version that doesn't show the signals after end of January 2022. This indicator only allows you the backtest/study previous results and give a general idea on the workings on the indicator.
Introduction
Cycle strategy works on the following timeframes, 1HR, 4HR, 12HR and 1D. Cycle strategy is mostly used by me on the 1D timeframe, however, if you prefer shorter timeframes you can select those. Indicator settings will automatically adjust based off the timeframe on your chart. I use this indicator mainly for BTC , however, altcoins such as ETH, LTC, DOGE, ADA, ETC, SOL and more have shown reasonable results in the past.
The theory behind cycle strategy
The cycle strategy is based off the theory that Bitcoin moves in cycles, each time followed by periods of sideways action. This strategy tries to breakout trade momentum out of a sideways range by calculating things such as momentum, volatility and average price. The indicators, based off calculations, tries to spot breakout trends. When a trend break up it gives a "long" signal on the chart and when the trend breaks down it gives a "short" signal.
Sometimes the price doesn't break out, this is called a fakeout. The bot will automatically reverse its previous signal and take a small loss.
Applications of it in my trading setup
I apply the wave strategy in my own trading enviroment as a tool to determine buy/sell moments and general trend.
Whenever Bitcoin reaches extreme overbought level I'll wait for the indicator to give me a "sell" signal in order to hedge myself against possible corrections. In the past I've seen many bearmarkets before, I tended to not have any fiat on the side to buy these dips. The indicator has be allowed in the past to almost perfectly sell the top multiple times allowing me to accumulate BTC on lower levels and therefor increase my BTC position. I also use this indicator to spot the current Bitcoin trend. If the indicator shows a "long" signal I'll generally be looking to long on dips and whenever there is a "sell" signal I tend to look for shorts.
Bonus indicators
There are 2 bonus indicators included in this strategy. These are "bonus" indicators as I haven't had a long enough time to backtest them. They are based off my own strategies that I apply when trading. The bonus indicators have been highly succesful in the past though they are a bit more experimental.
Bonus indicator 1: Pivot strategy
Pivot points is a powerful indicator that Bitcoin tends to be very reactive to. The pivot strategy tries to determine if Bitcoin is in a bulltrend/beartrend. If Bitcoin is inside a bulltrend it will look to buy on pivot points . If the price is in a beartend it'll be looking to sell on pivot points .
Pivot strategy only works on 1HR timeframe, optimized on BYBIT:BTCUSD
Bonus indicator 2: Volume strategy
Volume strategy tries to look for large spikes of volume , once price breaks under this volume spike it'll try to buy/sell. The theory is that large volume spikes are traders getting stopped out on their leverage positions. By buying under these spikes it tries to counter trade these small price sqeeuzes.
Volume strategy only works on 1HR timeframe, only works on BYBIT:USD
Liquidity Raid - Stop HuntLiquidity Raid - Stop Hunt
The market always seeks liquidity. Liquidity rests above previous highs and below previous lows as many traders see these as obvious points to place their stops. These are areas in the chart where many orders are placed together and serve as tipping points for market makers.
The script marks the breach of a market structure high/low with a vertical line. The script has the option to show the current W,D,4H & 1H market structure high and low.
How to use:
Once a raid occurs, use a higher timeframe to search for high probability supply and demand zones. Price needs to react to something. You may have multiple breaches before a reversal happens as price is likely looking for fresh(untested) zones. So don't trade blindly.
A good understanding of supply and demand concepts, odds enhancers, and how to identify fresh levels is expected to utilise it's full potential.
Lines and colours are all customizable
Alerts function included.
Indicator in use:
Fractal Level Zones - Break / Test / RaidFractal Level Zones - Break / Test / Raid
An experimental script that marks out the last two unbroken fractal high and low zones. The aim of the script is to focus on the type of candles that form and close in a zone. They can either tap into the zone or break them.
There are a number of outcomes:
- Break
- Break and retest
- Reversal
- Raid
When a zone is broken, the next untested fractal zone is printed.
How to use:
The indicator is to be used on higher time frames (M,W,D/4H). Monitor the type of candles that in form a zone (Daily TF recommended)
Default icon colours
Orange - Test of Zone
Purple - Break of fractal (can also be a raid)
Alert function included
Indicator in Use
CHOCH - MSB for Supply and DemandChange of Character (CHOCH) - Market Structure Break (MSB) for Supply & Demand
Description
The script is designed as a confirmation entry tool to be used with supply and demand zones (predefined proximal and distal levels).
When price hits a predefined level it will monitor price action using fractals and an algorithm to determine a potential reversal in trend or change of trend direction.
Once this has been identified you will be alerted in order to anticipate a retracement entry. A good understanding of supply and demand concepts, odds enhancers, and how to identify fresh levels is expected to utilise it's full potential.
Indicator in use
How To Use
Apply one indicator on a higher timeframe, and another on a lower timeframe. In settings, select long for a demand zone and short for a supply zone. Use the higher timeframe to plot major supply and demand zones and a lower timeframe of your choice for the alert. You can refine your levels by manually entering the price levels in settings. The alert is set on the timeframe you set it on.
Manual Selection
Check "override custom levels" and manually enter the price levels of your proximal and distal lines. Input the time and date of your pivot point (candle). Manual selection is recommended as you can refine your zones.
Automatic Selection
Drag and drop the pivot on the candle of choice . The pivot point will mark the zone using the candle's high and low (default setting). Source for top and bottom levels can be changed in settings.
Start Control after X Bar
This defines how many bars is required (from your pivot point) before it sets to anticipate a breach.
Combo 2/20 EMA & Bill Williams Averages. 3Lines This is combo strategies for get a cumulative signal.
First strategy
This indicator plots 2/20 exponential moving average. For the Mov
Avg X 2/20 Indicator, the EMA bar will be painted when the Alert criteria is met.
Second strategy
This indicator calculates 3 Moving Averages for default values of
13, 8 and 5 days, with displacement 8, 5 and 3 days: Median Price (High+Low/2).
The most popular method of interpreting a moving average is to compare
the relationship between a moving average of the security's price with
the security's price itself (or between several moving averages).
WARNING:
- For purpose educate only
- This script to change bars colors.
Power Peaks & Valleys (Williams Fractals)This indicator uses Williams Fractals (standard indicator on TradingView) as a base to identify Peaks and Valleys (Pivot Points) that usually act as Resistance and Support levels. What this indicator brings is powerful options to filter those Fractals out based on:
Candle Type : calculated based on candle Open and Close (All / Bullish / Bearish)
Minimum Candle Size : calculated based on a lookback of past range of candles and measuring their sizes (None / Average of Candles Range / Max of Candles Range)
With these features, you can decide whether you want all Fractals or specific ones that could be considered major due to their candle type and size where the Fractal appears. Usually, drawing a horizontal level for the inner side of the candle (the High of the Bearish candle Fractal or the Low of the Bullish candle Fractal could see nice reactions for entries.
All features are configurable from the indicator's settings.
Please leave a comment for improvements or suggestions. Alerts and more Candle Types or Minimum Candle Size might be added in the future, as well as the ability to auto draw the levels as soon as they appear or removing them if they get invalidated.
Bogdan Ciocoiu - MoonshotDescription
Moonshot is an indicator that encapsulates the value delivered by the TSI, MACD, Awesome Oscillator and CCI algorithms to produce signals to enable users to enter positions in ideal market conditions. Moonshot integrates the value delivered by the above four algorithms into one script.
This indicator is particularly useful when trading continuation/reversal divergence strategies.
Uniqueness
The Moonshot's uniqueness stands from integrating the above algorithms into the same visual area and leveraging preconfigured parameters suitable for 1-3 minute scalping techniques.
In addition, Moonshot allows swapping or furthermore configuring the above four algorithms in such a way to align signals by colour-coding or shape thickness to aid the users with identifying any emerging patterns quicker.
Furthermore, Moonshot's uniqueness is also reflected in the way it has standardised the outputs of each algorithm to look and feel the same (including the scale at which the shapes are shown) and, in doing so, enables users to plug them in/out as needed.
Open-source
The indicator leverages the following open-source scripts/algorithms:
www.tradingview.com
www.tradingview.com
www.tradingview.com
www.tradingview.com
[VDB]TrendScalp-FractalBox-3EMAThere are many indicators with William’s Fractal and Alligator. As many use EMA’s it may be useful to define a 3-EMA ribbon and combining Fractal Levels/Box (filling background between top and bottom fractals) for trend scalping. I searched for this kind of indicator in community – some show fractals, some just levels, some with alligator etc. but couldn't find the one needed. Hence thought of this indicator which may be of interest to other users too.
Key Points:
EMA ribbon is created using 3 EMA’s 35/70/105. Users can change these as per their preference. This is used for trend identification – 1. Bullish bias if Price > EMA1 > EMA2 > EMA3. 2. Bearish bias if Price < EMA1 < EMA2 < EMA3.
Background is marked during crossing of EMA1 and EMA2 to alert possible trend change.
5-bar fractals are used to mark the Fractal levels and background between top and bottom fractals are filled to create a Fractal Box.
Fractal levels are marked only when the fractal formation is complete. Given offset is used this is lagging.
How to Use:
Sloping EMA ribbon is used for identifying the trend.
Fractal box break-out/ break-downs are used to trigger the trade with fractal high/low for entry/SL. Waiting for price contraction towards EMA ribbon resulting in smaller boxes is key to initiate trade. Avoid bigger boxes as SL’s will be big and price may move within. To draw the vertical lines of FractalBox change fractal level0 style to step-line.
This indicator combined with the cycle high/low (overbought/oversold) indicators such as CCI/Stochastic/RSI etc. can make it a good trend scalping setup while trading in the direction of momentum in higher timeframe.
This setup could be used for any timeframes. Do your back-testing before using it in live market.
This indicator was achieved by combing some fractal ideas from “Fractal and Alligator Alerts by JustUncleL”
DISCLAIMER : This indicator has been created for educational reference only and do not constitute investment advice. This indicator should not be relied upon as a substitute for extensive independent market research before making your actual trading decisions. Market data or any other content is subject to change at any time without notice. Liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from use of this indicator is accountability of user using it.
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
DMI RSI AO 3 indicators in 1 overlayThis is simple indicators that plot 3 indicators DMI, RSI and AO on 1 pane
How to use: you can add on your chart and edit color and display in setting page of indicators
The directional movement index (DMI) is an indicator developed by J. Welles Wilder in 1978 that identifies in which direction the price of an asset is moving. The indicator does this by comparing prior highs and lows and drawing two lines: a positive directional movement line (+DI) and a negative directional movement line (-DI). An optional third line, called the average directional index (ADX), can also be used to gauge the strength of the uptrend or downtrend.
When +DI is above -DI, there is more upward pressure than downward pressure in the price. Conversely, if -DI is above +DI, then there is more downward pressure on the price. This indicator may help traders assess the trend direction. Crossovers between the lines are also sometimes used as trade signals to buy or sell.
The relative strength index (RSI) is a momentum indicator used in technical analysis that measures the magnitude of recent price changes to evaluate overbought or oversold conditions in the price of a stock or other asset. The RSI is displayed as an oscillator (a line graph that moves between two extremes) and can have a reading from 0 to 100. The indicator was originally developed by J. Welles Wilder Jr. and introduced in his seminal 1978 book, “New Concepts in Technical Trading Systems.”1
Traditional interpretation and usage of the RSI are that values of 70 or above indicate that a security is becoming overbought or overvalued and may be primed for a trend reversal or corrective pullback in price. An RSI reading of 30 or below indicates an oversold or undervalued condition.
Awesome Oscillator is developed by famous technical analyst and charting enthusiast Bill Williams. Awesome Oscillator (AO) is an indicator that is non-limiting oscillator, providing insight into the weakness or the strength of a stock. The Awesome Oscillator is used to measure market momentum and to affirm trends or to anticipate possible reversals. It does this by effectively comparing the recent market momentum, with the general momentum over a wider frame of reference.
Haos Visual Divergence + Volume Analysis█ OVERVIEW
The Haos Visual Oscillators is a trend indicator that combines two William % indicators with different periods , to show Over Sold and Over Bought signals.
I have added Divergences and a volume indicator to check if buying or selling pressure is exhausted or showing divergences
this can help spot trend reversals
code taken from:
www.prorealcode.com
█ DESCRIPTION
Divergences:
• checks up to 20 pivot points to look for Divergences
• Divergences require single candle confirmation
• Divergences are only confirmed if oscillator pivot is of close proximity of a price pivot
Volume Indicator:
• checks for volume divergences or exhaustion
This is done by comparing relative change in price to the relative change in volume when oscillator is at over bought or over sold levels
indicator Columns:
• Yellow => divergence has been spotted
• Dim Yellow => divergence was spotted on the previous candle
• Blue => volume exhaustion was spotted
• Dim Blue => volume exhaustion was spotted on the previous candle
• Green => OverSold
• Red => OverBought
OB/OS:
• OverBough t => above 30
• OverSold => below -30
Alerts:
• Regular Bullish Divs
• Hidden Bullish Divs
• Regular Bearish Divs
• Hidden Bearish Divs
- if you realized that I posted 2 versions of the indicator :
• its because I named the first version wrongly on the publishing name and cant change it
Haus Visual Divergence + Volume Analysis█ OVERVIEW
The Haos Visual Oscillators is a trend indicator that combines two William % indicators with different periods , to show Over Sold and Over Bought signals.
I have added Divergences and a volume indicator to check if buying or selling pressure is exhausted or showing divergences
this can help spot trend reversals
code taken from:
www.prorealcode.com
█ DESCRIPTION
Divergences:
• checks up to 20 pivot points to look for Divergences
• Divergences require single candle confirmation
• Divergences are only confirmed if oscillator pivot is of close proximity of a price pivot
Volume Indicator:
• checks for volume divergences or exhaustion
This is done by comparing relative change in price to the relative change in volume when oscillator is at over bought or over sold levels
indicator Columns:
• Yellow => divergence has been spotted
• Dim Yellow => divergence was spotted on the previous candle
• Blue => volume exhaustion was spotted
• Dim Blue => volume exhaustion was spotted on the previous candle
• Green => OverSold
• Red => OverBought
OB/OS:
• OverBought => above 30
• OverSold => below -30
Alerts:
• Regular Bullish Divs
• Hidden Bullish Divs
• Regular Bearish Divs
• Hidden Bearish Divs
Makuchaku's trading tools - Liquidity visualizerThis indicator plots those pivots/fractals which have not been taken out by price, whereby showing where are the clusters of highs/lows where stop orders (or liquidity) could be hiding.
This is a fantastic tool for taking reversal trades.
RSI Failure Swings & AO DivergencesHello!
The script identifies RSI divergences, similar to other public scripts; however, RSI failure swings are also distinguished. When a failure swing is identified, the script calculates the highest RSI measurement (bottom failure swing) or the lowest RSI measurement (top failure swing) between the two RSI pivot points. A continually updating line is plotted at the "fail point" until it is penetrated for two sessions! In addition, the script displays the RSI fail point measurement. RSI bearish divergences are only distinguished when both RSI peaks form above 70. bullish divergences are only distinguished when both RSI troughs form below 30. Top failure swings require the initial RSI peak be above 70, the second RSI peak can form at any measurement. Bottom failure swings require the initial RSI trough be below 30, the second RSI trough can form at any measurement.
Included are Awesome Oscillator divergences. The indicator is a bit tricky; the oscillator does not incorporate an upper or lower extremity. Consequently, the script uses interpolated percentiles to characterize relatively high measurements and relatively low measurements. Bearish divergences that form within the 90th - 99th percentile are distinguished, and bullish divergences that form within the 1 - 10th percentile are distinguished. This can CERTAINLY be changed should you copy the source code and think of something better! For AO, white columns reflect a difference measurement >= 0; black bars reflect a difference measurement < 0
The One Trader Toolkit - Open AccessThis script is the open version of my existing invite-only script of the same name and has been opened for access to the community to use, but not modify or clone in any way.
This has been done as the invite-only script cannot be changed back to a public script and vice-versa, keeping in line with Tradingview House Rules.
The code is based on a full strategy that has been explained in detail as follows:
// Step 1:
// We will consider the 200ema a standard to assess the average price over the longer term.
// If the current price on the daily chart is seen above the 200ema, we will consider that the stock is in a long term uptrend.
// If the current price on the daily chart is seen below the 200ema, we will consider that the stock is in a long term downtrend.
// In order to assess the long term trend, a band is plotted between the CLOSE (Average price), HIGH (Average High Price), LOW (Average Low Price) of the last 200 days.
// This band has been color coded for easy visual recognition. Green fill between ema close and ema high. Red fill between ema close and ema low.
// The methodology explains that the trader should have a long bias when the price is above the green part of the band and a short bias while price is below the red part of the band.
// Step 2:
// Now we come to a lower timeframe analysis with the 200ema moving average on the hourly timeframe.
// This is marked by a very distinct solid blue line which cannot be missed.
// If the price is still above this moving average and correlates with the higher timeframe trend in step 1, then we will continue our analysis.
// Otherwise, the stock is not ready to be filtered down and we will move to another stock.
// Step 3:
// On the same hourly timeframe, we will continue further analysing the position of a red 50ema line as compared to the same blue 200ema line or a separetely plotted gray 200ema line.
// If the 50ema is above the blue or the gray 200ema line (and in correlation with trend in steps 1-3), then the stock is believed to be bullish.
// If the 50ema is below the blue or the gray 200ema line (and in correlation with trend in steps 1-3), then the stock is believed to be bearish.
// Step 4:
// After multiple confirmation of a continuing trend, we will try to ascertain a good entry point.
// On the one hour timeframe, we will apply the Phase Changer.
// Phase Changer configuration is derived from a common setup which includes the 8ema and 20ema lines.
// I have implemented it in the Indian stock market setup with an added theory that we ignore the Phase Changer position on any timeframe higher than hourly timeframe.
// So the Phase Changer is not only an indication of the continuing trend, but also a great indicator of what the price is trying to achieve through its interaction with the lines.
// If 8ema is above the 20ema on the hourly chart, then the stock is believed to be bullish.
// If 8ema is below the 20ema on the hourly chart, then the stock is believed to be bearish.
// The same will be done on 15 minutes timeframe.
// In either setup, if there is a pullback and price is touching any of the two ema lines and eventually gets rejected towards the continuing trend, then it is an indication of a good entry at the failure of the pullback.
// Step 5:
// After confirmation through Daily, Hourly and 15 minutes timeframes, we will now come to the execution (5 Minute) timeframe.
// Apply the breakfast range. This is the range formed during the first hour of trading.
// The high of the first hour and the low of the first hour form the breakfast breakout.
// This method is also widely known as Open Range Breakout (ORB).
// The breakfast range is commonly used for stock indices only on a Monday morning, we use it for all days of the week and mostly on stocks.
// If the breakout is consistent with the trend that we have been confirming since step 1, we will enter the trade.
// Step 6:
// An additional daily range has been plotted for those who would like to trade the breakout of the daily range.
// This is the sum of the open price of the day the range of the previous day.
// The green line is used as resistance and the red line is used as support.
// Any breakout of those lines will be considered a strong continuation of the trend, mostly until the end of the trading session.
// Miscellaneous
// The first hour of the trading day is marked yellow with a black solid bar marked at the end of the first hour.
// All trades will be taken only after 10:20am.
// Stoploss Settings
// We will be calculating stoploss with the help of the ATR values.
// I have defined two stop loss levels, one for safe traders and the other for aggressive traders.
// Safe traders will select the safe option in a long trade or short trade respectively and mark the stoploss indicated at the time of taking the breakout entry.
// Aggressive traders on the other hand will select the aggressive stop loss option in long or short trades respectively and mark the stoploss indicated at the time of taking the breakout entry.