Kioseff Trading - AI-Optimized RSIAI-Optimized RSI
Introducing AI-Optimized RSI: a streamlined solution for traders of any skill level seeking to rapidly test and optimize RSI. Capable of analyzing thousands of strategies, this tool cuts through the complexity to identify the most profitable, reliable, or efficient approaches.
Paired with TradingView's native backtesting capabilities, the AI-Optimized RSI learns from historical performance data. Set up is easy for all skill levels, and it makes fine-tuning trading alerts and RSI straightforward.
Features
Purpose : Uncover optimal RSI settings and entry levels with precision. Say goodbye to random guesses and arbitrary indicator use—this tool provides clear direction based on data.
Target Performance : You set the goal, and AI-RSI seeks it out, whether it's maximizing profits, efficient trading, or achieving the highest win rate.
AI-Powered : With intelligent AI recommendations, the tool dynamically fine-tunes your RSI approach, steering you towards ideal strategy performance.
Rapid Testing : Evaluate thousands of RSI strategies.
Dual Direction : Perfect both long and short RSI strategies with equal finesse.
Deep Insights : Access detailed metrics including profit factor, PnL, win rate, trade counts, and more, all within a comprehensive strategy script.
Instant Alerts : Set alerts and trade.
Full Customization : Test and optimize all RSI settings, including cross levels, profit targets and stop losses.
Simulated Execution : Explore the impact of limit orders and other trade types through simulation.
Integrative Capability : Combine your own custom indicators or others from the TradingView community for a personalized optimization experience.
Flexible Timeframes : Set your optimization and backtesting to any date range.
Key Settings
The image above shows explanations for a list of key settings for the optimizer.
Direction : This setting controls trade direction: Long or Short.
Entry Condition : Define RSI entry: Select whether to trigger trades on RSI crossunders or crossovers.
RSI Lengths Range : Choose the range of RSI periods to test and find the best one.The AI will find the best RSI period for you.
RSI Cross Range : Set the range for RSI levels where crosses trigger trade signals. The AI will find the best level for you.
Combinations : Select how many RSI strategies to compare.
Optimization Type : Choose the goal for optimization and the AI: profit, win rate, or efficiency.
Profit Target : Set your profit target with this setting.
Stop Loss : Decide your maximum allowable loss (stop loss) per trade.
Limit Order : Specify whether to include limit orders in the strategy.
Stop Type : Choose your stop strategy: a fixed stop loss or a trailing stop.
How to: Find the best RSI for trading
It's important to remember that merely having the AI-Optimized RSI on your chart doesn't automatically provide you with the best strategy. You need to follow the AI's guidance through an iterative process to discover the optimal RSI settings and strategy.
1.Starting Your Strategy Setup
Begin by deciding your goals for each trade: your profit target and stop loss. You'll also choose how to manage your stops – whether they stay put (fixed) or move with the price (trailing), and whether you want to exit trades at a specific price (limit orders). Keep the initial settings for RSI lengths and cross ranges at their default to give the tool a broad testing field. The AI's guidance will refine these settings to pinpoint the most effective ones through a process of comprehensive testing.
The image above shows our chart prior to any optimization efforts.
Note: the settings shown above in the key settings section will be used to start our demonstration.
2. Follow AI’s suggestions
Optimization Prompt: After loading your strategy, the indicator will prompt you to change the RSI length range and RSI level range to a better performing range.
Continue changing the RSI length range and RSI level range to match the indicator's suggestions until "Best Found" is displayed!
The image above shows results after we applied the tool’s suggestions. New suggestions have appeared, and we will continue to apply them.
Continue to adjust settings as recommended by the optimizer. If no better options are found, the optimizer will suggest increasing the number of combinations. Repeat this process until the optimizer indicates that the optimal setting has been identified.
Success! With the "Best Found" notification, an optimized RSI is now active. The AI will keep refining the strategy based on ongoing performance, ensuring continuous optimization.
AI Mode
AI Mode incorporates Heuristic-Based Adaptive Learning to fine-tune trading strategies in a continuous manner. This feature consists of two main components:
Heuristic-Based Decision Making: The algorithm evaluates multiple RSI-based trading strategies using specific metrics such as Profit and Loss (PNL), Win Rate, and Most Efficient Profit. These metrics act as heuristics to assist the algorithm in identifying suitable strategies for trade execution.
Online Learning: The algorithm updates the performance evaluations of each strategy based on incoming market data. This enables the system to adapt to current market conditions.
Incorporating both heuristic-based decision-making and online learning, this feature aims to provide a framework for trading strategy optimization.
Settings
AI Mode Aggressiveness:
Description: The "AI Mode Aggressiveness" setting allows you to fine-tune the AI's trading behavior. This setting ranges from “Low” to “High”, with “High” indicating a more assertive trading approach.
Functionality: This feature filters trading strategies based on a proprietary evaluation method. A higher setting narrows down the strategies that the AI will consider, leaning towards more aggressive trading. Conversely, a lower setting allows for a more conservative approach by broadening the pool of potential strategies.
Adaptive Learning Aggressiveness:
Description: When Adaptive Learning is enabled, the "Adaptive Learning Aggressiveness" setting controls how dynamically the AI adapts to market conditions using selected performance metrics.
Functionality: This setting impacts the AI's responsiveness to shifts in strategy performance. By adjusting this setting, you can control how quickly the AI moves away from strategies that may have been historically successful but are currently underperforming, towards strategies that are showing current promise.
Optimization
Trading system optimization is immensely advantageous when executed with prudence.
Technical-oriented, mechanical trading systems work when a valid correlation is methodical to the extent that an objective, precisely-defined ruleset can consistently exploit it. If no such correlation exists, or a technical-oriented system is erroneously designed to exploit an illusory correlation (absent predictive utility), the trading system will fail.
Evaluate results practically and test parameters rigorously after discovery. Simply mining the best-performing parameters and immediately trading them is unlikely a winning strategy. Put as much effort into testing strong-performing parameters and building an accompanying system as you would any other trading strategy. Automated optimization involves curve fitting - it's the responsibility of the trader to validate a replicable sequence or correlation and the trading system that exploits it.
Średnia Cena Ważona Wolumenem (VWAP)
VWAP PredatorUsing VWAP as a start point, the VWAP Predator uses proprietary Fibonacci bands to help determine signal criteria. Most traders use VWAP in a simple way to determine whether an instrument is in a bearish or bullish state, but that doesn't help choosing the correct time to go long or short.
The xBat VWAP Predator uses behavioural analysis with volume, price action with open and close proximities to the Fibonacci bands/zones (Fib Zones). The following describes how the xBrat VWAP Predator is different to any standard use of Volume Weighted Average Price and uses xBrat Proprietary Behavioural logic to determine high probability long and Short signals. All of this heavy lifting and logic is done behind the scenes, keeping traders charts clean.
Long Trading Signals - Candle Coloured in Blue - There are many states with the logic to produce these signals, which are briefly described below:
1. The only standard criteria here - The price action must be above the VWAP Line
2. The Price must open below the boundary of one Fib Zone and close into the next Fib Zone
3. That Same Candle has to be an Accumulation Candle (more volume than the preceding candle and More Buyers) - This is determined with our proprietary logic coding
4. The Same signal candle also has to be higher than average volume. Again, our proprietary xBrat Logic just doesn't look back over a set number of bars, it looks at times of day and day of week, plus more to determine a true valuation of higher, lower or equal to average volume.
5. Only when these states are met, plus two more ema proximity logic, Does the xBrat VWAP predator give a Long Signal.
6. Trade Management is either set targets or indeed a simple ema cross which we provide as a ribbon on the chart to help traders. These ema's are different to entry logic. When the Ribbon turns from green to red, the trader should consider exiting the trade
Short Trading Signals - Candle Coloured in Pink - There are many states with the logic to produce these signals, which are briefly described below:
1. The only standard criteria here - The price action must be below the VWAP Line
2. The Price must open above the boundary of one Fib Zone and close into the next Fib Zone
3. That Same Candle has to be a Distribution Candle (more volume than the preceding candle and More Sellers) - This is determined with our proprietary logic coding
4. The Same signal candle also has to be higher than average volume. Again, our proprietary xBrat Logic just doesn't look back over a set number of bars, it looks at times of day and day of week, plus more to determine a true valuation of higher, lower or equal to average volume.
5. Only when these states are met, plus two more ema proximity logic, Does the xBrat VWAP predator give a Short Signal.
6. Trade Management is either set targets or indeed a simple ema cross which we provide as a ribbon on the chart to help traders. These ema's are different to entry logic. When the Ribbon turns from red to green, the trader should consider exiting the trade.
VWAP Predator is a day trading and scalping signals trading indicator.
ZenBot Signals - Trend StrengthI developed this indicator as a "regime detection" for my algo trading bot. It uses the ADX +/- values with a few twists.
- If ADX DI+ is over 30 and DI- is below 20 and falling (inverse for shorts)
- Price action rising/falling thru various VWAP standard deviations indicates a strong trend break
- Some other custom juju (open source so have fun).
I use this primarily to monitor the SPY index as a backdrop for my long and short trades. If the colored line below price bars is red or green, a strong trend is present and there is a decent trade environment.
Outlier Detecting Cumulative Moving Average (ODCMA)This is a simple moving average with a rolling length that resets whenever there is an outlier in the data. I have also included volume weighting.
The length represents the lookback period for the outlier detection and the "Outlier Detection" is the deviation level to trigger the detection. You can select from: price detection, volume detection, price or volume detection, price and volume detection.
I hope you can find this script useful. Its like a session weighted moving average but instead it retriggers the cumulative sum whenever there is an outlier.
GIRISH indicatorHello traders,
This indicator is the enhancement to my previous indicator (RSI+OBV). There is combined RSI and OBV with DMI. This new indicator is combination of RSI and OBV with VWAP . I have been using this indicator for intraday trades in NIFTY & BANKNIFTY .
The white line indicates the movement of VWAP wrt current price. There default range for this has been defined as -40 to 40 .
Entry for long: When white line goes below -40, we need to wait for green background. Entry has to be taken when green background appears. If price goes below the entry point, averaging can be done once. Price will surely go long and give us good profit.
Entry for short: When white line goes above 40 , we need to wait for red background (if darker red comes, it is better) . Entry has to be taken when red background appears. If price goes above the entry point, averaging can be done once. Price will surely go down and give us good profit on short side.
PS: Please do back testing in chart before taking trades.
VWAP Market Session AnchoredVWAP Market Session Anchored differs from the traditional VWAP or VWAP Auto Anchored indicator in that the Volume Weighted Average Price calculation is automatically anchored to four major market session starts: Sydney, London, Tokyo, New York.
Settings
Source: the source for the VWAP calculation.
Offset: changing this number will move the VWAP either Forwards or Backwards, relative to the current market. Zero is the default.
Band: enabling this will show Standard Deviation bands.
Band Multiplier: the value the Standard Deviation bands will be multiplied by before being plotted on the chart.
Sessions : enabling the sessions will plot the respective anchored VWAP on chart.
Custom: enabling this will show a custom user-defined session.
Custom UTC : the custom session is defined by a starting UTC hour followed by the ending UTC hour.
Usage
Similar to the traditional VWAP, VWAP Market Session Anchored is a technical analysis tool used to measure the average price weighted by volume. VWAP Market Session Anchored can be used to identify the trend during a specific market session.
Limitations
When setting a custom session, be mindful that calculations are based off of the Coordinated Universal Time (UTC) time, you must convert your local time zone to UTC in order to have an accurate representation of your custom session.
It is not recommended to use this indicator on timeframes above 1 hour as market sessions only last a few hours.
VWAP & Previous VWAP - MTF█ Volume Weighted Average Price & Previous Volume Weighted Average Price - Multi Timeframe
This script can display the daily, weekly, monthly, quarterly, yearly and rolling VWAP but also the previous ones.
█ Volume Weighted Average Price (VWAP)
The VWAP is a technical analysis tool used to measure the average price weighted by volume.
VWAP is typically used with intraday charts as a way to determine the general direction of intraday prices.
VWAP is similar to a moving average in that when price is above VWAP, prices are rising and when price is below VWAP, prices are falling.
VWAP is primarily used by technical analysts to identify market trends.
█ Rolling VWAP
The typical VWAP is designed to be used on intraday charts, as it resets at the beginning of the day.
Such VWAPs cannot be used on daily, weekly or monthly charts. Instead, this rolling VWAP uses a time period that automatically adjusts to the chart's timeframe.
You can thus use the rolling VWAP on any chart that includes volume information in its data feed.
Because the rolling VWAP uses a moving window, it does not exhibit the jumpiness of VWAP plots that reset.
For the version with standard deviation bands.
MTF VWAP & StDev Bands
Adaptive VWAP Stdev BandsIntroduction
Heyo, here are some adaptive VWAP Standard Deviation Bands with nice colors.
I used Ehlers dominant cycle theories and ZLSMA smoothing to create this indicator.
You can choose between different algorithms to determine the dominant cycle and this will be used as reset period.
Everytime bar_index can be divided through the dominant cycle length and the result is zero VWAP resets if have chosen an adaptive mode in the settings.
The other reset event you can use is just a simple time-based event, e.g. reset every day.
Usage
I think people buy/sell when it reaches extreme zones.
Enjoy!
---
Credits to:
@SandroTurriate - VWAP Stdev Bands
@blackcat1402 - Dominant Cycle Analysis
@DasanC - Dominant Cycle Analysis
@veryfid - ZLSMA
(Sry, too lazy for linking)
I took parts of their code. Ty guys for your work! Just awesome.
Volume Weighted Average Price STHello everyone.
I am using vwap standard deviation to find trades.
Above standard deviation 1 is buy
Below standard deviation -1 is sell
Price crossunder of vwap after Buy signal is exit for long trade
Price crossover of vwap after Sell signal is exit for short trade
You can set target points(optional)
You can limit number of trades every day.
Background color changes to gray when today range matches to ATR(14) or you can enable label to see the value at last bar
Contact me for more details if you have any queries.
RTH & ETH VWAPs [vnhilton]Plots 2 different VWAPs for regular & extended trading sessions, with option for a plot fill between the 2 (using pinescript's new vertical gradient feature).
VWAP - Volume-Weighted Average PriceVolume-Weighted Average Price (VWAP) is calculating day, week, month or year average price where transaction prices are weighted with the volume value.
This way script is estimating the average price based on both volume and price.
Features:
Drawing VWAP for days, weeks, months or years
Drawing initial periods (% with or without weekends)
Drawing last close value
3 standard deviation slots
Labels with values
Script Settings:
| Volume-Weighted Average Price visualization |
Type - Chart type selection:
D(ay) - Daily Volume Weighted Average Price
W(eek) - Weekly Volume Weighted Average Price
M(onth) - Monthly Volume Weighted Average Price
Y(ear) - Annual Volume Weighted Average Price
Draw VWAP - VWAP visiblity checkbox, color and line width used for VWAP visualization, checkbox for label with value.
Previous close - Drawing last VWAP close value. Color and line width used for drawing. checkbox for label with value.
Establishing period - Drawing initial area (described as % of the chart type period). Color picker for warning box background. VWAP is restarted with each period start. In the initial period VWAP value and it's deviations are not accurate and some traiding technics recommend to skip initial periods.
Include weekends - Checkbox if establishing period calculations should include weekends. Stock exchanges are not working during weekends (should be not checked) and crypto markets are working 7 days a week (should be checked).
| Standard deviation |
Slot1 - Standard deviation multiplier (0 is hiding), color and line width.
Slot2 - Standard deviation multiplier (0 is hiding), color and line width.
Slot3 - Standard deviation multiplier (o is hiding), color and line width.
Troubleshooting:
In case of any problems, please contact the author of the script. To improve speed of solving problem first check if script is drawn, and if there is a "!" character after script params. If you can see "!" character, move cursor over it for detail. Send message with error details, ticker and interval to us. The more precise will be your description the faster we will be able to help you.
ST_EMA+VWAP_V0.0Scalping strategy using relative position of price, intraday VWAP and EMAs
ex of timeframes for scalping 3 and 5 min chart
*** Default settings
- EMA 8 / 20
- Intraday VWAP
*** For bull conditions:
- Price must close twice above all lines above
- EMA 8 must be above EMA20
- should have a recent crossover between EMA8 and EMA20
Volume Weighted Reversal BandsThis is a vwap & vwma hybrid with upper & lower deviation bands that provide excellent price channels and reversal areas. It can be used on lower & higher timeframes, just increase the deviation % for higher timeframes. Try out the 1 minute timeframe with .5% deviation for great scalping levels.
Here is the calculation used for the main line.
(VWMA100 + VWMA500 + VWMA1000 + VWAP) / 4
So it combines 3 VWMAs with the VWAP and divides that number by 4 to give us a moving average. Then we add new levels above and below that moving average to get our channels. The channels are separated by the % deviation you choose in the settings. For tighter bands, lower the percentage deviation and for wider bands, increase the percentage deviation.
The fattest line in the middle is the main moving average and you can expect price to regularly return to this level. The thick lines are the main moving average plus or minus the percentage deviation you have set. There are 10 levels in each direction from the main moving average. The is also a thin short term moving average as well with a custom calculation. It takes 4 different length moving averages that are weighted and 4 more that are volume weighted and divides the total by 8.The lines will be green when price is above the line and red when price is below the line. The thin white line is the VWAP on its own.
These lines will act as dynamic support and resistance so you can scalp them back and forth. These levels work so well because they are volume weighted and the algos hedge their positions back and forth constantly.
For best results, use this indicator on tickers with the highest volume and trading action as the price will stick to these levels better when the big money players are hedging. Some great tickers for this indicator are APPL, SPY, BTC, ETH.
All colors and linewidths can be customized in the settings easily as well as turning off the VWAP or short moving average and adjusting the percentage deviation for the channels.
***MARKETS***
This indicator can be used on all markets, including stocks, crypto, futures and forex.
***TIMEFRAMES***
This indicator can be used on all timeframes.
***TIPS***
Try using numerous indicators of ours on your chart for extra confirmation. Our favorites to pair with these bands are the Scalper Ribbon and Trend Friend Signals. The 3 combined give you a lot of extra confirmation on whether the market is going to reverse at these levels.
VWAP Bollinger BandsWhat makes this different from vwap bands / bollinger bands?
This indicator takes a bit of inspiration from bollinger but instead of utilizing built in pine script std dev that uses simple moving average internally, this version replaces that with vwap.
Also instead of traditional bollinger band basis of 20 period simple moving average, the basis here for the bands is the vwap.
How to use it?
Usage is similar to vwap itself, though the standard deviation bands will expand and contract like normal bollinger bands instead of vwap bands that just widen as the market movement continues. The bands tell a slightly different story from bollinger bands as the underlying data utilized is the vwap itself.
Which markets is this meant for?
Any market.
What conditions?
This aids in finding conditions of entry standard to vwap, but the bands could give key areas of focus for entries and exits better than standard bollinger bands or vwap bands.
VWAP Anchored Date with multiplierA modified version from the default VWAP indicator with 2 major enhancements:
1- Start date: instead of being limited to applying the indicator on the entire chart, this script allows you to select the start time to show the VWAP. You can also use this option to show VWAP on an instrument starting from a specific time, all time high for example.
2- Multiplier: You can choose a period multiplier for VWAP, like 2 days, 4 month, 3 years and so on
Aggregated Rolling VWAP +Edit of TradingView's original Rolling VWAP
Edit log:
Added Volume Aggregation Capabilities to the Script
- Price Action is impacted by volume executed in all exchanges. Even though a single exchange RVWAP can be useful, using aggregated data makes it more accurate and saves time in symbol switching.
- Aggregation is preset to be done for Bitcoin Spot Pairs. However this can be changed to Aggregate Volume from any other symbol at the bottom of the setup menu.
Added Symmetrical Deviations to the Script
- Symmetrical deviations create range of "tolerance" around the RVWAP at a fixed % distance. This helps in situations when price does not respect the exact RVWAP level and goes slightly above/under.
- Adding multiple Symmetrical Deviations at different percentage values can give relevant levels for scalping, entries and range trading.
Switched default option to manual TF instead of automatic TF
Added TF Presets for quick switching between different settings. (Feature intended for mobile charting)
Added ON/OFF Switch to all individual deviations to make it easier, faster and cleaner to display different data. (Feature intended for mobile charting)
Multiple Non-Anchored VWAPA lot of VWAP scripts are anchored and only allow single VWAP additions. This script allows up to 5 simultaneous VWAPs, for example monthly, quarterly, yearly, 3 years, etc. Can also be used on smaller timeframes. The non-anchored part of the script allows it to be constantly rolling, with no resets.
I do not endorse this script, it was created at my request :)
Average Daily Range Lines + VWAP by TenozenOANDA:EURUSD
Hello! I created an indicator called ADRL (Average Daily Range Lines). This is my first original work, and I hope it's helpful to you guys.
1. Let me explain a bit of how it works...
So first of I need the ADR value, as by default length I use 19 for it. I want this indicator to calculate every start of the new day and break if another new day starts, so if the target level isn't reached, then the value would start to go back to 0 and get the new target level of the day. The target level is based on the first ADR multiplied by how much "percent" we want for the target level to hit, based on the first ADR value of the day. When the new day starts, the algo would start to add up the ADR value. If the added ADR hits the target level, it starts to plot a line by the candlestick by its high, low, and mid-level; it would create a new line if there is a new target being hit. So that's it.
About the VWAP, I took Tradingview's VWAP. I added the anchored part so I can plot a line if there is a new target level being hit. I hope that's okay.
2. How to use it...
- Using this indicator is pretty easy. When a new box is being plotted, that means that's the time when you should trade, as the box is still fresh. The VWAP helps if the market is trending or not.
- You can treat this indicator just like an S&R, as the price tends to respect the box. So best to use it as a pullback trade.
- We can assume if the price above the box, is a buy; vice versa.
3. Best Market to use...
- I suggest a trade in a nonvolatile market. The more volatile the market is, the harder the box is to be respected by the price. But if you really want to trade in that market, I suggest adjusting the inputs by how the box is being respected.
4. Suggestions...
- Use this indicator in 5 minutes chart if you day trade.
- Try using 30 minutes and setting the percent input from 100 to 80 and changing the ADR length from 19 to 14, this is much more suitable if you tend to hold trades.
MTFT VWAPs Auto AnchoredMulti Time Frame Tools
Multi Time Frame Tools (MTFT) is a suite of scripts aimed to establish a standard timeframe-based color scheme. This can be utilized to overlay different timeframes calculations/values over a single timeframe. As one example, this would allow to observe the 5-month moving average, 5-week moving average, and 5-day moving average overlaid over each other. This would allow to study a chart, get accustomed to the color scheme and study all these at the same time much easier.
All indicators calculated using the below specific timeframes as input, will always use the color scheme outlined below. This is to get you in habit of recognizing the different timeframes overlaid in top of each other. These can be personalized.
Longer TF analysis.
Yearly - Black
Semi-Annual - Yellow
Quarterly - White
Monthly - Maroon
Weekly - Royal Blue
Daily - Lime
Shorter TF analysis.
4 hour - Fuchsia
1 hour - Orange
30 min - Red
15 min - Brown
10 min - Purple
5 min - Lilac
All color coordination is able to be modified in either the “Inputs” or “Style” section. If you need to make changes, make sure to select “Save as Default” on the bottom right of the settings menu.
Recommended Chart Color Layout
I played around with color coordination a lot. The final product was what worked best for me. I personally use the following chart settings to accent all available TF colors.
-> Click on the settings wheel on your chart. -> Click on “Appearance”.
Background - Solid -> On the top row pick the 6th color from the left.
Vert Grid Lines and Horz Grid Lines -> On the top row pick the 7th color from the left.
You may of course change these and the indicator line colors as you like.
Adding indicator to Chart
-> Open the TradingView “Indicators & Strategies” library, the icon has “ƒx”. -> All premium scripts will be located under “Invite-Only Scripts” -> Click indicator to add to your chart.
MTFT VWAPs Auto Anchored
The Anchored Volume-Weighted Average Price, Anchored VWAP, is a commonly discussed FinTwit tool. I personally found it through Brian Shannon on Twitter. I have seen big FinTwit accounts solely focus on this strategy alone and have seen other big FinTwit accounts mix with their other indicators. I will be providing very basic info to utilize this script; it is up to you to dive deep into learning this strategy. I am not an expert with the tool or a financial advisor. As with all aspects of life, I recommend you research, learn, discern and practice extensively in order to become a master.
The script has the following features.
1. Three user selected time frames auto anchored VWAPS. It will auto anchor to the start of the timeframe. Timeframes(TF) include: Yearly(Y), Semi-annually(S), Quarterly(Q), Monthly(M), Weekly(W), Daily(D), and 4 hour. Image below shows the D candlestick as the active timeframe, the anchored VWAPs for the Year, Quarter, and Month.
2. Auto hide lower timeframe calculations. Auto Hide feature will hide smaller TF calculations when a larger timeframe is selected as the display TF. Example, when the Daily timeframe candlestick selected the Weekly and Daily Anchored VWAPs are hidden because they produce very noisy results. If a lower TF is selected such as the 30 min candlestick, the previously hidden Daily and Weekly Open Anchored VWAPs are now displayed. Notice that this specific indicator calculates different with every different timeframe that is selected. The lower TF calculations are more accurate as they include additional information. Image below shows the 30 min timeframe selected with the Daily, Weekly, and Monthly Open Anchored VWAPs displayed.
3. Auto Anchor using Pivot High/Low locations. Script finds the pivot highs/lows with a user selected look back/forward period. Additionally, as new pivot highs/lows appear you can choose to keep up to 4 each previous pivot high/low anchored VWAPs displayed. Image below has a 40 look back/forward period selected, and 2 past AVWAPs enabled.
You may notice in the above image that there is a gap between the AVWAP plot and the marked pivot point. This is not something that can be avoided as the script has to look forward in order to verify the pivot. The calculation is still correct, this can be verified by manually adding an “Anchored VWAP” drawing and seeing the values align. Image below shows that they match. White lines are the manually added “Anchored VWAP” drawings. If you verify this for yourself, make sure to select the correct input source in the settings of the drawing.
4. Auto Anchored on IPO High/Low. Looks for the first available candlestick in a chart and anchors to the high and low. This is useful with newer companies with recent IPOs.
IMPORTANT NOTE to TradingView admin: One of the lessons I would consider most important in attaining clarity regarding trading, is “TheStrat” by Rob Smith. His lesson on “actionable signals” is something that can be applied to any strategy. For this reason, I am including “MTFT TheStrat Patterns Pro” script in all images that will depict confluence for a better trade selection.
Example using TheStrat Pro MTFT with this indicator.
Look for a “TheStrat actionable signal” or a “TheStrat Reversal signal” on a smaller timeframe that has an instance of this indicator on a larger timeframe calculation that is in range of the candlestick that formed your actionable signal. This means that the indicators plot you are observing must be above the low and below the high of the candlestick that is the actionable signal/reversal signal.
The Image below shows what this would look like with this indicator. The selected candlestick is the 2-day, it shows a 1-3-1 pattern and the Quarter Anchored VWAP in range. This actionable signal could be played in both directions. If the high is breached, you would enter a long position from the high of the inside candlestick. If the low is breached than you would enter a short. For targets you would look at the previous pivots, for this example all targets were hit. Note that the “Entry” and “Targets” line were added manually and are not part of the script. Setups won’t always play out so nice and clean, but given that there is so many stocks and so many signals this is just a thought to improve the quality of the signal as it has extra confluence. If you are interested in learning further, research ‘TheStrat’ by Rob Smith.
Candles - The WhaleThe strategy is based on candle patterns, with confluence indicators. Note some of the candles are rare, they can be found only a specific timeframe, or within specific stocks.
The added patterns are as follows:
- Bullish Engulfing
It is formed by two candles, the second candlestick engulfing the first candlestick. The first candle is a bearish candle that indicates the continuation of the downtrend.
The second candlestick is a long bullish candle that completely engulfs the first candle and shows that the bulls are back in the market.
- Bullish Harami
It consists of two candlestick charts, the first candlestick being a tall bearish candle, and the second, being a small bullish candle which should be in the range of the first candlestick.
The first bearish candle shows the continuation of the bearish trend and the second candle shows that the bulls are back in the market.
- Piercing Line
Two candles from it, the first candle being a bearish candle which indicates the continuation of the downtrend.
The second candle is a bullish candle that opens the gap down but closes more than 50% of the real body of the previous candle, which shows that the bulls are back in the market and a bullish reversal is going to take place.
- Bullish Belt
A Bullish Belt Hold, known as “yorikiri” in Japanese, is a single Japanese candlestick pattern that suggests a possible reversal of the current downtrend.
- Bullish Kicker
A bullish kicker is a two candlestick pattern that’s usually formed after a significant downtrend, but could also appear after an uptrend.
- Abandoned Baby
The abandoned baby candlestick pattern is a three-bar reversal pattern. It is similar to the morning and evening star formations and is a very reliable reversal signal when it occurs after a sharp rise or drop.
- Homing Pigeon
The bullish homing pigeon is a two-candle bullish reversal pattern that occurs at the end of a bearish trend. Both candles are negative, but the second candle is confined within the range of the previous candle.
- Breakaway
Breakaway patterns are multi-candle formations found on Japanese candlestick charts that suggest a market reversal may be in the offing. An actual breakaway is a five candlestick formation that occurs in either an upward or downward trend.
- Concealing Baby Swallow
The Concealing Baby Swallow candlestick pattern is a four-candlestick pattern that can signal a bullish reversal price movement or a bearish continuation move, depending on where it occurs in the overall market structure. However, the pattern is quite rare, and you may not encounter it in your trading.
- Doji Dragonfly
A dragonfly doji can be an indicator of a reversal in price. When the price of a security has shown a downward trend, it might signal an upcoming price increase.
- Doji Gravestone
The Gravestone Doji forms when the price closes at relatively the same level where it opened, providing that the open coincides with the low or at least the two are very close
- Doji Star
Consists of a long bullish candle, followed by a Doji that gaps up, then a third bearish candle that gaps down and closes well within the body of the first candle. An Evening Doji Star is a three-candle bearish reversal pattern similar to the Evening Star.
- Kicker
A kicker pattern is a two-bar candlestick pattern that predicts a change in the direction of an asset's price trend. This pattern is characterized by a sharp reversal in price over the span of two candlesticks. Traders use it to determine which group of market participants is in control of the direction.
- Ladder Bottom
Is a five-candle bullish reversal pattern that occurs at the end of a bullish trend. The four first candles are bearish and followed by a positive candle that starts with a positive gap.
- MatHold
A bullish pattern begins with a large bullish candle followed by a gap higher and three smaller candles which move lower.
- Matching Low
A matching low is a bullish two-candle reversal pattern that forms in an ongoing downtrend. As to its appearance, a matching low consists of two candlesticks that are negative, but the close at or around the same price.
- Meeting Lines
Bullish meeting lines are a two-candle bullish reversal pattern that occurs in a downtrend and signals a reversal of the trend. The first candle of the bullish meeting lines is bearish, and followed by a positive candle that closes very near the close of the previous candle.
- Morning Doji Star
It is made of 3 candlesticks, the first being a bearish candle, the second, a Doji, and the third being a bullish candle.
The first candle shows the continuation of the downtrend. The second candle being a doji indicates indecision in the market. The third bullish candle shows that the bulls are back in the market and a reversal will take place. The second candle should be completely out of the real bodies of the first and third candles.
- Rising Three Method1
Rising three methods is a bullish continuation pattern that appears in an ongoing uptrend. The Rising three methods pattern consists of five candles. where the first and last candles are long and bullish, with three small bearish candles in between.
- Rising Three Method2
It is the same as "Rising Three Method1" but with a different calculation
- Upside Tasuki Gap1
Is a bullish continuation candlestick pattern that forms in an ongoing uptrend. It consists of three candles, where the two first are bullish with a positive gap in-between, and followed by a negative candle that closes in the gap formed between the first two candles.
- Upside Tasuki Gap2
It is the same as "Upside Tasuki Gap1" but with a different calculation
- Three Line Strike1
Is a four-candle bullish continuation candlestick pattern. It forms a bullish trend and is believed to signal the continuation of the bullish trend.
- Three Line Strike2
It is the same as "Three Line Strike2" but with a different calculation
The confluence indicators:
Movement Averages: multi options checks, you can select what to check to open a position, and the description of each open is in the strategy.
Volume Oscillator: positive signal if the volume is above zero.
EMA: positive signal if the candle source is above EMA.
VWAP: positive signal if the candle source is above VWAP.
BTC Trend: it is an equation to track the BTC price movement
The profit is based on TSL, while the stop loss is based on ATR, or lowest candle.
The recommended time frame is 4 hours.
VWAP Push StrategyThis strategy is unfortunately not finished yet.
A pretty simple strategy. If price broke through VWAP and had three consecutive candles following the breakthroughs trend, the high of the third candle will be drawn. If this happened after a crossover of the vwap and price breaks through the high of the third candle, strategy will go long. Short will be the same after crossing under the vwap. A long or short will be closed after crossing the vwap in the opposite direction, so the vwap is kind of a trailing stop.
Unfortunately, I could not manage to stop the script from entering multiple times into one drawn high or low. Of course, if a high was crossed the script should wait for a new formed high before entering a new long. If someone would find a solution to this, it would be great, because I think it is a nice strategy .
Should work great scalping 5min charts (when scripting, I used the SPX for reference).