Correlation Oscillator - Anomaly AlertsThis script plots the correlation for two symbols as an oscillator:
A correlation of 1 means that both values move in the same direction together.
A correlation of -1 means that both values are perfectly negative correlated.
Parameter:
Length of the Correlation
The two symbols you want to calculate the correlation for
Barcolor: Defines whether Bar-coloring is set on.
The Number of bars lookback for anomaly: Say both are normally positively correlated it is an anomaly when the correlation turns negative and vica-versa.
Alerts: You can also set an Alert when an anomaly is detected.(blue dots on oscillator)
This has many use-cases:
For example VVIX and VIX are normally positive correlated.
When this turns negative, this can mean that we are on a turning point:
--> VVIX is rising while VIX is falling, risk of future Volatility is increasing (Top)
--> VIX is rising while VVIX is falling, risk of future Volatility is decreasing (Bottom)
Another use-case is just checking the correlation of stocks in your portfolio to diversify.
Alerts
Open Close Cross Strategy R6.1 revised by yourmattieOriginal version: Open Close Cross Strategy R5 revised by JustUncle.
Change: script changed to a study script with custom alerts.
This revision is an open Public release, with just some minor changes. It is a revision of the Strategy "Open Close Cross Strategy R2" originally published by @JayRogers.
Revised by JustUncleL
Description :
Strategy based around Open-Close Moving Average Crossovers optionally from a higher time frame.
Read more about the indicator original script
Klik here
##USE AT YOUR OWN RISK##
Use this as overlayer on the original strategy to set custom alerts.
Info: with this study script no buy/sell arrows show up op the chart.
Does some know a solution for this issue:
Issue: sometimes it gives a false signal because even when you set "one per bar close" the custom set alert might come halfway the bar....and it might be a false signal when the bar is closed
Does somone know a fix for this? I tried with barstate.iscomfirmed but it didn't work for me.
Ps. I'm not a developer...just changed the scipt by watching a youtube tutorial.
MACD With Trend Filter: Visual Backtest Module TemplateSample Strategy: MACD Crossover with trend filter options
MA Filter : Price Close Above MA, Search for Buy, Price Close Below MA, Search for Sell
ADX Filter : Take trade only when ADX is above certain treshold
MACD Signal : MACD Cross above signal line while under 0 line indicate Buy Signal
MACD Cross below signal line while above 0 line indicate Sell Signal
-----------------------------
Using Alert Module:
Enable Alert --> Enable TV's alert and plot signal to chart
Alert Type --> Set to take Buy only, Sell only or Both alert
----------------------------
Using Backtest Module:
Enable Backtest --> Enable Backtest simulation
Backtest Type --> Set to take Buy only, Sell only or Both
SL Type -->
ATR : Set SL in ATR times Multiplier below/above entry price
Fixed : Set SL in fixed point below entry point (in 'Dollar'). e.g. for Stocks -> 0.5 equals to 50cent while for EURUSD currency -> 0.005 equal to 50 pips
HiLo Bar : Set SL at highest/lowest wick of previous bar plus/minus Fixed point. e.g. EURUSD HiLo=3 and Fixed Point = 0.0005, buy trade will place SL 5 Pips below lowest of previous 3 bar
SL ATR Period --> Set Lookback Period used for SL's ATR calculation
SL ATR Multi --> Set ATR Multiplier for SL
SL Fixed --> Set Fixed Level for SL (Use when SL Type is either Fixed or HiLo Bar)
SL Bar --> Set Number of previous bar to check for SL placement
TP RR Ratio --> Set TP based on RR multiplier. e.g. 2 means TP level will be twice further from entry point compared to Entry-SL distance.
Notes: The point is for preliminary testing, so it only supports 1 trade at a time and no Trailing Stop
----------------------------
Disclaimer:
This script main objective is to create my personal indicator template so that i just have to modify the indicator module for preliminary testing in future.
Testing Alert Module so i can re-use it as template in future study/indicator
Testing Visual Backtest Module so i can re-use it as template in future study/indicator
i believe using Strategy function is a better approach for this but the entry/exit level seems to be hit n miss (at least for me, still trying to figure what i did wrong)
also, i rather code the strategy in other platform where i can use the more accurate tick data if i want to validate backtest statistics.
My study scripts was built only to test/visualize an idea to see its viability and if it can be used to optimize existing strategy.
credit: ADX code are originally from "ADX and DI" by @BeikabuOyaji although i re-wrote so i can have cleaner read and use RMA instead of SMA
Trend Trader Buy/Sell SignalsTrend Trader
The code is open source, what it uses to print signals is MACD cross and ADX. Bar colors change in relation to where price is according to the 50 day MA. The MA ribbon is used for visualizing trend and using it for dynamic support/resistance. The ribbon is comprised of the 50 day and 100 day MAs.
Main reason to publish this script is because some like to jumble up scripts together slap some moving averages on it to "follow trend" and then label it an algorithm, market it and sell it to people online. No single system will work 100% of the time, do you due diligence in anything you are interested in buying. Plenty of free scripts in the TV library that can do you justice when trading.
TFi Pivot Reversal V3The Pivot Reversal Study uses pivot points to create a support and resistance level; based on this levels the script creates virtual stop-market orders to catch the trend if the price is crossing the pivot lines.
A "Pyramiding" input allows to configure up to 3 entries; the script enters an additional position if the price falls by a configurable percentage amount (long), the reverse to short orders.
A configurable profit-target and stop-loss is being used to exit an open position.
An optional Moving Average filter can be used to enable only long or short positions.
The script renders a status box at the last bar, which shows the current position status and result of the built-in trading simulation results.
It shows the following statistic values:
current position PnL - also background turns green if position is in profit and red if in loss
the percentage distance to the profit-target and stop-loss level
the overall number of wins and losses and the win/loss ratio
the overall profit and loss amount (assuming a quantity of 1)
the net-profit and profit-ratio
For the correct simulation of entry/exit prices, the script contains inputs for a percentage entry and exit slippage.
The study also creates configurable alerts, which follow the exact position of the entry/exit markers. The default alert messages contain trading instruction to execute orders via Alertatron; but the message content can be replaced if configuring the alert in the Tradingview environment.
The script was mainly backtested with crypto-coins, e.g. XBTUSD at 15min timeframe. But the script also works with any other type of security and timeframe.
How to access
This strategy is a "Invite Only" script. You can can subscribe or purchase the strategy; please use the link below or send me a message via Tradingview to obtain access to the strategy and study script.
For enabling the script in your Tradingview chart window, click on "Indicators" and select "Invite-Only Scripts".
Full list of alerts
'Alertatron Exit' ... Exit all open positions.
'Alertatron Enter Long' ... Enter long position, w/o stop-loss being used.
'Alertatron Enter Short' ... Enter short position, w/o stop-loss being used.
'Alertatron Enter Long SL' ... Enter long position, w/ stop-loss being used.
'Alertatron Enter Short SL' ... Enter short position, w/ stop-loss being used.
Full list of parameters
"Pivot Left Bars" ... Number of bars on the left of the pivot point - used for pivot /peak detection.
"Pivot Right Bars" ... Number of bars on the right of the pivot point - used for pivot /peak detection.
"MA Filter Fast" ... Moving Average filter fast period.
"MA Filter Slow" ... Moving Average filter slow period.
"Profit Target Option" ... Configure the profit-target either as a fix percentage value or an ATR.
"Profit Target " ... Fix percentage profit-target.
"Profit ATR Period" ... ATR profit-target period.
"Profit ATR Factor" ... ATR profit-target factor/multiplier.
"Stop Loss Option" ... Configure the stop-loss either as a fix percentage value or disable the stop-loss completely.
"Stop Loss " ... Fix percentage stop-loss.
"Rebuy Loss " ... Percentage loss of the initial position before script enter a nw position in the same direction.
"Pyramiding" ... Maximum number of positions.
"Show MA Plots" ... Show/hide Moving average plots.
"Slippage Entry " ... Percentage slippage for entering a position.
"Slippage Exit " ... Percentage slippage for exiting a position.
"Statistic Label" ... Defines the position of the statistic label relatively to the last bar in the chart.
"Backtest Start" ... Backtest start time; area outside this timeframe will be grayed out.
"Backtest Stop" ... Backtest stop time; area outside this timeframe will be grayed out.
"Backtest Mode" ... Closes the currently opened position if chart switches to last bar; please only enable if backtesting, otherwise it leads to unwanted alerts.
EOD re-entriesThis indicator is designed to compliment another of my trading scripts which gives signals for long-term trends on the daily chart. Here, I'm using the same daily 50 and 200MAs, but projecting them on the 4 hour chart to potentially catch faster trade re-entry points.
There are built in alerts for the following:
- Long: The price closed above the daily 50 MA while the 4 hour VWAP is above the MVWAP
- Long: The price closed above the daily 200 MA while the 4 hour VWAP is above the MVWAP
- Short: The price closed below the daily 50 MA while the 4 hour VWAP is below the MVWAP
- Short: The price closed below the daily 200 MA while the 4 hour VWAP is below the MVWAP
- VWAP long re-entry (large green triangle): The price closes above the VWAP and both the 50 & 200 MAs
- VWAP short re-entry (large red triangle): The price closes below the VWAP and both the 50 & 200 MAs
- EMA long re-entry (small green triangle): 4 EMAs of your choosing are fanning out above the 50 & 200 MAs when the price is above VWAP
- EMA short re-entry (small red triangle): 4 EMAs of your choosing are fanning out below the 50 & 200 MAs when the price is below VWAP
All of the above are filtered against stochastic RSI and numerous other oscillators to reinforce the signals.
This is a private script. Please DM me for access.
One Percent Move Study (For your Alerts)This is a simple script that can be used to alerts. The signal1 variable goes to 100 if there is a 1% up move in a tick, and goes to -100 if there is a 1% down move in a tick for an asset. This is best on a 1 minute or 5 minute chart.
This example shows this on the DeFi exchange Uniswap for the UNI/ETH pair
BTC & ETH Alert SystemWith Tradingview's free plan, only one alert is allowed. The purpose of this indicator is to allow for two alerts--one for BTC and one for ETH.
How to use the alert system:
1. Set the desired value for BTC and ETH that you want to be alerted for
2. Set an alert on the indicator by clicking the three ellipses and then "Add Alert"
3. Set the alert to go off if the value of the indicator is greater than 0.
The example is of BTC using an alert of $10,000 and an alert of ETH at $2,000 (untriggered)
The script can be easily modified to be used for different assets
EOD TraderMy EOD (End of Day) system for trading on the daily timeframe with minimum stress. Just pair the built-in alerts with the bot of your choice and then let the indicator do the rest. It'll determine the current trend, filter out as much noise as possible and then take you from long to short.
There are options to toggle the following:
Auto fibonacci levels with alerts for the look-back period of your choosing
Auto support and resistance with alerts
Alerts for the price closing above/below the 50MA
A coloured background to show the trend direction (green = up, red = down)
The fib and support levels can be handy when trying to determine when best to take profit or even exit the trade entirely.
Important: I personally use Heikin Ashi candles with this script to further filter entries. An option is available within the script settings to toggle this on/off should you wish to do the same.
This is a premium script. Please DM me for access.
RSI, STOCHASTIC, KELTNER AND EMA CROSSES COMBINEDI have combined RSI and Stochastic but also added an keltner channel and then also two EMA's.
How the indicator works is the background turns green when the rsi and stochastic are below 20 and the keltner channel is below X and also your fast ema is below your slow ema and then vice versa for sell signals.
Feel free to leave a comment on what you think and what could be improved on it because i know their is some fine tuning to do and some improvement that can be made and I'm sure i'll be updating this myself.
All the variables are interchangable and the indicator has alert functionality.
[NLX-L3] Alerts- Introduction: Alert Module -
This alert module is part of my powerful and flexible modular trading framework.
It can be used with any indicator that has a signal plot output (1 = long / -1 = short)
This trading framework is the result of many years experience building indicators and trading strategies.
I couldn’t find a trading framework in Pine Script that would suit my needs and so I started to design my own from scratch. I’m trading with this framework myself so I’ve made sure that it’s flexible and absolutely reliable in a live-trading environment.
- Architecture -
What makes this framework so flexible is the modular architecture, different layers that all serve a very specific purpose.
You will notice that the module names include either L1 - L2 - L3:
- Layer 1 (L1) is the base layer and the foundation. L1 indicators are used to determine the trend, volume profile and filter noise. You would use L1 to see if it’s a good time to trade, what is the direction - or if it's better to trade at all in unfavourable conditions
- Layer 2 (L2) receives the result of L1 and if the market conditions are good the L2 indicator looks for an optimal entry point to go long or short. It is possible to combine several L2 indicators and trigger a long/short signal only if all L2 indicators agree.
- Layer 3 (L3) receives the final signal from L2 and it’s where we can now backtest the result of our trading strategy and trigger trade alerts with help of the alert module.
- Features -
External Input Source (any indicator with signal plot can be used)
Safe Entries Option: Enter a trade only if the position is profitable ad the momentum allows
Pyramid Entries
Partial Take-Profit: %-Step Interval and Quantity per Step
Stop Methods: Trailing Stop, TP/SL with ATR Option, several type of stop bands...
Profit/Loss Label with Fee, Slippage and Leverage Calculation
- Additional Modules -
L3 - Backtest Module
L2 - Noise Filter
L2 - QQE++
L1 - Trend Index
Trend Matrix (Coming soon)
Dynamic Range Breakout (Coming soon)
Breakouts & Pullbacks
- Request Access -
Contact me - see my signature below
The MATRIX: Ultimate Crypto Position Strategy (Alert Version)Welcome back everyone,
It's been a while since our last post. In recent months we have worked on all kinds of projects, but more on that later. In the meantime, we also received a lot of positive feedback about our original 'The MATRIX: Ultimate Crypto Position Strategy' script.
One of the many requests was whether we could release an alert version.
However, since Pinescript does not provide the alert functionality in a strategy type script, it had to be converted to a study type script. Besides that, we have also added a stop-loss functionality. This release has the same internal algorithm as the original 'The MATRIX: Ultimate Crypto Position Strategy' script. But instead of showing back test results, this script provides the functionality to add alerts that can notify the user via email / pop-up / sms / app once a signal is given! You must manually add these alerts via TradingView. If you need help setting up these alerts, feel free to ask in the comment box or send us a dm.
***The script is invite-only, message us to get script access***
-------------------------------------------------------------------------------------------------
The MATRIX: Ultimate Crypto Position Strategy should be used as follows:
• The trading strategy was designed and optimized for trading cryptocurrencies only ; furthermore it works best on established high market cap cryptocurrencies that have a clear trend such as:
BTCUSD
ETHUSD
LTCUSD
XRMUSD
EOSUSD
ADAUSD
DASHUSD
ETCUSD
• The trading strategy is based on swing/position methodology. The script must therefore be used on daily timeframe candles only (1D).
• Use USD trading pairs only (e.g. use ETHUSD instead of the ETHBTC) since the individual trend is captured more effectively and therefore gives better results.
-------------------------------------------------------------------------------------------------
The MATRIX:Ultimate Crypto Position Strategy is based on the following indicators:
• Ichimoku Cloud ; acts as the leading indicator.
• Volume ; without strong volume , a market move is not valid.
• MACD and Vortex ; both being used as confirmation indicators.
• Choppiness index ; avoids trading in choppy markets.
• Bullish/ Bearish Regular Divergences in combination with RSI to spot tops and bottoms.
• Simple and Exponential Moving Averages ; prêvents trading against the trend.
The trading strategy is easy to use, trend based and without repainting, meaning once a signal has been made it is permanent and that no future data is used in the decision making. It detects the trend and filters out market noise based on more than 10 technical indicators. ONLY when all indicators align with each other the algorithm prints a BUY or SELL signal. The trading strategy provides high probability trading signals and minimizes risk! This script aims to capture the profit from longer term trending moves and by doing so filters out non-substantial trends and avoids the associated risks with these trades.
-------------------------------------------------------------------------------------------------
The MATRIX: Ultimate Crypto Position Strategy has the following features:
• ALERTS can be enabled which can notify the user through email/popup/app once a signal is given.
• Automatically generated Buy / Sell alerts in the form of a label.
• NO Repaint once candle is closed.
• SAFEGUARD ; custom built-in security prevẹnts trading when the price is out of equilibrium.
• Customizable Display for the Ichimoku cloud indicator display.
-------------------------------------------------------------------------------------------------
Reminder: Use this trading strategy at your own risk and trade responsibly. We are not responsible for any financial loss using this strategy.
***The script is invite-only, message us to get script access***
TST Signals & AlertsThis is an unofficial script for strategies tested on Trading Strategy Testing Youtube channel. Over time, most successful strategies will be added with an option to set strategy-specific alerts . TST Signals & Alerts will draw signals on the chart when the entry conditions are met. You can also opt for displaying indicators .
My script is meant for beginners but can be used by veterans too. Just pick one or two strategies, you don't want to flood your chart with conflicting signals. You may want to support your trades with a proper analysis. Is the market trending? Is there a fundament around the corner?
If a new signal occurs when there is still an open position, you are not supposed to take another.
The current version includes MACD and ADX + BB and BB strategies.
MACD strategy:
►Buy, when MACD crosses below the signal line when it is negative. The price must also be above 200 EMA.
►Sell, when MACD crosses above the signal line when it is positive. The price must also be below 200 EMA.
►This strategy was tested on 15-minute charts of EURUSD with reward-to-risk ratio 1,5 and win rate of 61% over 100 trades.
►►►MACD has to be added to your chart separately because it needs a new window. Ticking display indicators will not add MACD to your chart.
►►►MACD was also tested by a different channel I made a script for. You can view the results and the script here:
ADX + BB strategy:
►Buy, when the price is above 200 EMA and ADX becomes higher than 25.
►Sell, when the price is below 200 EMA and ADX becomes higher than 25.
►Stop-loss is either 200 EMA or Bollinger Bands level. Check the channel for more information.
►This strategy was tested on 5-minute charts of EURUSD, USDJPY, AUDUSD with reward-to-risk ratio 1,2 and win rate of 56% over 100 trades in total.
BB strategy:
►Buy, when the price is above 200 EMA and candle's low is below the lower Bollinger Band.
►Sell, when the price is below 200 EMA and candle's high is above the upper Bollinger Band.
►This strategy was tested on 15-minute charts of EURUSD with reward-to-risk ratio 1,5 and win rate of 52% over 100 trades in total.
►►►Due to the relatively low win rate of this strategy, you need to filter out potentially harmful signals with a proper analysis.
Bear in mind that backtesting performance doesn't guarantee future profitability. • Most systematic strategies are not suitable for each timeframe - if you use the different timeframe than the one it was tested on, the result can differ significantly. • You should perform your own backtest to base your trades on more data & to establish confidence in the selected strategy. • This script is not a replacement for proper analysis.
New strategies will be added when I have time. If I see multiple people asking for the same feature, I might agree to release it with a new version. I am not going to add input options in this script, it could come as a separate script though. I am in no way affiliated with the Youtube channel, so if you find the script helpful, shot me a message or send me some TradingView coins >)
If you encounter any bug, you can report it in a message or in comments. Support it with screenshot and relevant information such as a time when it occurred and what options were on etc.
Retrace Extreme AlertThis indicator will alert you after 3 conditions are met. First an EMA cross, second price crosses back into the EMA and third RSI above or below a certain value. Upon these 3 conditions being met you will receive an alert.
PWTPROv5 TrendIndicator with LONG/SHORT BTC ETH alerts
This PWTPRO indicator is based on VWAP , MACD and EMAs
Best fits for BTC /USDT and ETH/USDT trading for 1H timeframe for positional trading (3-5 trades per week)
15min TF is good for intraday scalping. 4H is good for longterm. Fits for any coin, forex, metals, oil and bonds.
There are 4 types of entries, 1,3 and 4 are on by default. It's more accurate. Rest you can test.
Warning. Not yet works with huge trend continuation. Use it manually with you own risk management, don't forget stop-losses.
Show take profits and stop-loss (It's off by defaults)
You can now add 3 take-profit and 1 stop-loss labels on chart in %
Use 0 values to remove any of them from the charts.
New option: Show entering position price as label
Minor visual improvements with price labels (y position is now correctly above/below bars)
+added new option to round prices for integer values (i.e. 9251 for btc instead of 9251.35) off by defaults and now fits for altcoins and any asses that has price below 1 (usd, btc etc)
This is invite only script. PM me if you want to test it.
Trading Rush Signals & AlertsThis is an unofficial script for strategies tested on TRADING RUSH Youtube channel. Over time, most successful strategies will be added with an option to set strategy-specific alerts . Trading Rush Signals & Alerts will draw signals on the chart when the entry conditions are met. You can also opt for displaying indicators .
My script is meant for beginners but can be used by veterans too. Just pick only one or two strategies, you don't want to flood your chart with conflicting signals. You may want to support your trades with a proper analysis. If a new signal occurs when there is still an open position, you are not supposed to take another.
The current version includes MACD and Donchian Channels.
MACD strategy:
►Buy, when MACD crosses below the signal line when it is negative. The price must also be above 200 EMA.
►Sell, when MACD crosses above the signal line when it is positive. The price must also be below 200 EMA.
►This strategy was tested on 30-minute charts of EURUSD and EURJPY with reward-to-risk ratio 1,5 and win rate of 62% over 100 trades .
►►►MACD has to be added to your chart separately because it needs a new window. Indicators displaying will not add this indicator to the chart.
Donchian Channels strategy:
►Buy, when the price breaches Donchian to the upside after making a new low. The price must also be above 200 EMA.
►Sell, when the price breaches Donchian to the downside after making a new high. The price must also be below 200 EMA.
►Stop-loss is Donchian bottom for long and Donchian top for shorts. Check the channel for more information.
►This strategy was tested on 30-minute charts of EURUSD with reward-to-risk ratio 1,5 and win rate of 58% over 100 trades .
►►►I programmed alerts for Donchians to come ahead of an actual breach. If you often leave the screen when trading, this will help you. The necessary downside for that is the alerts might come when the signal doesn't trigger in the end. You will see a mark on the chart if the conditions are truly met.
Bear in mind that backtesting performance doesn't guarantee future profitability. • Most systematic strategies are not suitable for any timeframe. • You should perform your own backtest to base your trades on more data & to establish confidence in the selected strategy.
New strategies will be added when I have time. If I see multiple people asking for the same new feature, I might agree to release it with a new version. I am not going to add input options in this script, it could come as a separate script though. I am in no way affiliated with the Youtubechannel , so if you find the script helpful, shot me a message or send me some TradingView coins >)
If you encounter any bug, you can report it in a message or in comments. Support it with screenshot and relevant information such as a time when it occurred and what options were on etc.
Fractal Trend Trading System [DW]This is an advanced utility that uses fractal dimension and trend information to generate useful insights about price activity and potential trade signals.
In this script, my Advanced FDI algorithm is used to estimate the fractal dimension of the dataset over a user defined period.
Fractal dimension, unlike spatial or topological dimension, measures how complexity or detail in an "object" changes as its unit of measurement changes, rather than the number of axes it occupies.
Many forms of time series data (seismic data, ECG data, financial data, etc.) have been theoretically shown to have limited fractal properties.
Consequently, we can estimate the fractal dimension from this data to get an approximate measure of how rough or convoluted the data stream is.
Financial data's fractal dimension is limited to between 1 and 2, so it can also be used to roughly approximate the Hurst Exponent by the relationship H = 2 - D.
When D=1.5, data statistically behaves like a random walk. D above 1.5 can be considered more rough or "mean reverting" due to the increase in complexity of the series.
D below 1.5 can be considered more prone to trending due to the decrease in complexity of the series.
In this script, you are given the option to apply my Band Shelf EQ algorithm to the dataset before estimating dimension.
This enables you to transform your data and observe how its newly measured complexity changes the outputs.
Whether you want to give emphasis to some frequencies, isolate specific bands, or completely alter the shape of your waveform, EQ filtration makes for an interesting experience.
The default EQ preset in this script removes the low shelf, then attenuates low end and high end oscillations.
The dominant cyclical components (bands 3 - 5 on default settings) are passed at 100%, keeping emphasis on 8 to 64 sample per cycle oscillations.
The estimated dimension is then used to calculate the High Dimension Zone and the Error Bands.
Both of these components are great for analyzing trends and for estimating support and resistance values.
The High Dimension Zone is composed of a high line, low line, and midline that update their values when D is at or above the user defined zone activation threshold.
The zone is then averaged over a user defined amount of updates and zone width is multiplied by a user defined value.
The Error Bands are composed of a high, low, and middle band that are calculated using an error adjusted adaptive filter algorithm that utilizes dimension as the smoothing constant modulator.
The basis filter for the error bands has two calculation types built in:
-> MA - Calculates the filters as adaptive moving averages modulated by D.
-> WAP - Calculates the filters as adaptive weighted average prices modulated by D.
The WAP starting point can be based on the High Dimension Zone being moved or a user defined interval.
You can also define the WAP's minimum and maximum periods for additional control of the initial and decayed sensitivity states.
The alpha (smoothing constant) modulator can be fine tuned using the designated dimension thresholds.
When D is at or below the low dimension threshold, the filter is most responsive, and vice-versa for the high dimension threshold.
Alpha is then multiplied by a user defined amount for additional control of sensitivity.
Band width is then multiplied by a user defined value.
A Hull transformation can be optionally performed on the zone averaging and band filter algorithms as well, which will alter the frequency and phase responses at the cost of some overshoot.
This transformation is the same as a typical Hull equation, but with custom filters being used instead of WMA.
The calculated outputs are then used to gauge the trend for signal and color scheme calculations.
First, a dominant trend indication is selected from its designated dropdown tab.
The available built in indications to choose from are:
-> Band Trend (Outer) - Detects band breakouts and saves their direction to gauge trend.
-> Band Trend (Median) - Uses disparity between source and the band median to gauge trend.
-> Zone Trend (Expansion) - Detects when the high fractal zone expands and saves its direction to gauge trend.
-> Zone Trend (Outer Levels) - Detects zone breakouts and saves their direction to gauge trend.
-> Zone Trend (Median) - Uses disparity between source and the zone median to gauge trend.
Then the trend output is optionally filtered before triggering signals.
There are multiple trend filtration options built into this script that can be used individually or in unison:
-> Filter Trend With High Fractal Zone - Filters the trend using the specified zone level or combination of levels with either disparity or crossover conditions.
There is a set of options for bullish and bearish trends.
-> Filter Trend With Error Bands - Filters the trend using the specified band level or combination of levels with either disparity or crossover conditions.
There is a set of options for bullish and bearish trends.
-> Filter Trend With Band - Zone Disparity Condition - Filters the trend using the specified band level, zone level, and disparity direction.
There is a set of options for bullish and bearish trends.
-> Filter By Zone That Moves With The Trend - Filters the specified trend by detecting when the high fractal zone’s direction correlates.
-> Filter By Bands That Move With The Trend - Filters the specified trend by detecting when the error bands’ direction correlates.
-> Filter Using Wave Confirmation - Filters the specified trend by detecting when source is in a correlating wave with user defined length.
You can also choose separate lengths for bullish and bearish trends.
-> Filter By Bars With Decreasing Dimension - Filters the specified trend by detecting when fractal dimension is decreasing, suggesting source is approaching more linear movement.
The filtered trend output is then used to generate entry and exit signals.
There are multiple options included to fine tune how these signals behave.
For entries, you have the following options built in:
-> Limit Entry Dimension - Limits the range of dimensional values that are acceptable for entry with user defined thresholds.
This can be incredibly useful for filtering out entries taken when price is moving in a more complex pattern,
or when price is approaching a peak and you’re a little late to the party.
-> Enable Position Increase Signals - Enables more entry signals to fire up to a user defined number of times when a position is active.
This is helpful for those who incrementally increase their positions, or for those who want to see additional signals as reference.
-> Limit Number Of Consecutive Trades - Limits the number of consecutive trades that can be opened in a single direction to a user defined maximum.
This is especially useful for markets that only trend for brief durations.
By limiting the amount of trades you take in one direction, you have more control over your market exposure.
There is a set of these options for both bullish and bearish entries.
For exits, you have the following options built in:
-> Include Exit Signals From High Fractal Zone - Enables exit signals generated from either crossover or disparity conditions between price and a specified zone level.
-> Include Exit Signals From Error Bands - Enables exit signals generated from either crossover or disparity conditions between price and a specified zone level.
-> Include Inactive Trend Output For Exits - Triggers exit signals when the filtered trend output is an inactive value.
-> Dimension Target Exit Method - Triggers exit signals based on fractal dimension hitting a user defined threshold.
You can either choose for the exit to trigger instantly, or after dimension reverts from the target by a user specified amount.
-> Exit At Maximum Entry Dimension - Triggers exit signals when dimension exceeds the maximum entry limit.
-> Number Of Signals Required For 100% Exit - Controls the number of exit signals required to close the position.
You can also choose whether or not to include partial exits.
Enabling them will fire a partial signal when an exit occurs, but the position is not 100% closed.
Of course, there is a set of these options for bullish and bearish exits.
In my opinion, no system is complete without some sort of risk management protocol in place.
So in this script, bullish and bearish trades come equipped with optional protective SL and TP levels with signals.
The levels can be fixed or trailing, and are calculated with a user defined scale.
The available scales for SL and TP distances are ticks, pips, points, % of price, ATR, band range, zone range, or absolute numerical value.
Now what if you have some awesome signals of your own that you’d like to use in conjunction with this script?
Well good news. You can!
In addition to all of the customizable features built into the script, you can integrate your own signals into the system using the external data inputs and linking your script.
This adds a whole new layer of customization to the system.
With external signals, you can use your own custom dominant trend indication, filter the dominant trend, and trigger exits and protective stops using custom signals.
The signal input is an integer format. 1=Bull Signal, -1=Bear Signal, 2=Bull Exit, -2=Bear Exit, 3=Bull SL Hit, -3=Bear SL Hit, 4=Bull TP Hit, -4=Bear TP Hit.
You can also use the external input as a custom source value for either dimension or global sources to further tailor the system to your liking.
The color scheme in this script utilizes two custom gradients that can be chosen for bar and background colors:
-> Trend (Dominant or Filtered) - A polarized gradient that shows green scaled values for bullish trend and red scaled values for bearish trend.
The colors are brighter and more vibrant as perceived trend strength increases.
-> Dimension - A thermal gradient that shows cooler colors when dimension is higher, and hotter colors when dimension is lower.
Both color schemes are dependent on the designated dimension thresholds.
The script comes equipped with alerts for entries, additional entries, exits, partial exits, and protective stops so you can automate more and stare at your charts less.
And lastly, the script comes equipped with additional external outputs to further your analysis:
-> Entry And Exit Signals - Outputs in the same format as the external signal input with these additions: 5=Bull Increase, -5=Bear Increase, 6=Bull Reduce, -6=Bear Reduce.
You can use these to send to other scripts, including strategy types so you can backtest your performance on TV’s engine.
-> Dominant Trend - Outputs 1 for bullish and -1 for bearish. Can be used to send trend signals to another script.
I designed this tool with individuality in mind.
Every trader has a different situation. We trade on different schedules, markets, perspectives, etc.
Analytical systems of basically any type are very seldom (if ever) “one size fits all” and usually require a fair amount of modification to achieve desirable results.
That’s why this system is so freely customizable.
Your system should be flexible enough to be tailored to your analytical style, not the other way around.
When a system is limited in what you can control, it limits your experience, analytical potential, and possibly even profitability.
This is not your typical pre-set system. If you're looking for just another "buy, sell" script that requires minimal thought, look elsewhere.
If you’re ready to dive into a powerful technical system that allows you to tailor the experience to your style, welcome!
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a premium script, and access is granted on an invite-only basis.
To gain access, get a copy of the system overview, or for additional inquiries, send me a direct message.
I look forward to hearing from you!
-----------------------------------------------------------------------------------------------------------------------------------------------------------------
General Disclaimer:
Trading stocks, futures, Forex, options, ETFs, cryptocurrencies or any other financial instrument has large potential rewards, but also large potential risk.
You must be aware of the risks and be willing to accept them in order to invest in stocks, futures, Forex, options, ETFs or cryptocurrencies.
Don’t trade with money you can’t afford to lose.
This is neither a solicitation nor an offer to Buy/Sell stocks, futures, Forex, options, ETFs, cryptocurrencies or any other financial instrument.
No representation is being made that any account will or is likely to achieve profits or losses of any kind.
The past performance of any trading system or methodology is not necessarily indicative of future results.
Buy/Sell/TP/SL/TSL Alerts ModuleThis tool is not a self-sufficient indicator, just an attachable module that allows you to enhance a specific indicator with risk management components without having a headache.
What you need to do, and actually this is the most important step, is to rewrite your indicator to a buy-sell signal form which will output only -1, 0, 1 values and then connect it to the module.
After that the module gives you a lot of possibilities to customize Take Profit, Stop Loss and Trailing Stop Loss levels through the settings window and to set all the alerts you need up.
Simple Buy/Sell setup for the RSI:
Now I am adding Stop Loss:
and Take Profit:
and finally Trailing Stop Loss:
Okay, I have shown how it works with RSI signals. Here is example for the MACD:
and example for the WaveTrend Oscillator:
If you have any questions don't hesitate to ask and contact me either via private messages on TradingView or via Telegram
WaveTrend+ Alerts [SystemAlpha]This is the alert companion of the WaveTrend+ Strategy . Instead of using just the normal crossovers, we use trend filters, trailing stop loss and take profit targets. WT+ Strategy was developed for crypto, forex and stocks for 15 minutes to daily timeframe. The main goal was to catch long term trends and ride them.
In this alert you have a choice of:
Trend Filters:
- Average Directional Index (ADX) – buy when price is trend is up and sell when trend is down.
- Moving Average (MA) – buy when price close above the defined moving average and sell when price close below moving average
- Parabolic SAR – buy when SAR is above price is above price and sell when SAR is below price.
- All - Use ADX, MA and SAR as filters
For MA Filter , you can use the “TF MA Type” and "TF MA Period" parameter to select Simple or Exponential Moving Average and length.
Stop Loss:
- Average True Range (ATR) – ATR % stop as trailing stop loss.
- Parabolic SAR (SAR) – Parabolic SAR adapted as trailing stop loss.
For ATR , you can use the “ATR Trailing Stop Multiplier” parameter to set an initial offset for trailing stop loss.
Take Profit Target:
- Average True Range (ATR) – ATR % stop as trailing stop loss.
- Standard % – Percent as target profit
For ATR , you can use the “ATR Take Profit Multiplier” parameter to set an initial offset for trailing stop loss.
Additional feature include:
- Regular and Hidden Divergence display and alerts
- Filter Overbought and Oversold
- Use WT Cross for Exit
TradingView Links:
WT+ Oscillator:
How to use:
1. Apply the script by browsing through Indicators --> Invite-Only scripts and select the indicator
2. Once loaded, click the gear (settings) button to select/adjust the parameters based on your preference.
3. Wait for the next BUY or SELL signal to enter the trade!
Disclaimer:
The indicator and signals generated do not constitute investment advice; are provided solely for informational purposes and therefore is not an offer to buy or sell a security; are not warranted to be correct, complete or accurate; and are subject to change without notice.
[KK]EMA Breakout,1st retest,Peak BreakoutThis script gives Signal based on 3 parameters
(1) Exponential Moving average breakout
(2)Retest after Breakout
(3) Peak Breakout after retest for conformation
Recommended Settings:
(1) EMA Length = 20 period
(2)Left Bars= Right Bars = 4
(3)15min chart resolution
Note: Default setting is what recommended.
Interpretation:
(1)Green Background = Higher Peak Breakout candle after conformed retest
(2)Red Background = Lower Peak Breakout candle after conformed retest
(3) Green circle = 1st Upward Breakout candle after conformed retest ( if previous breakout is Downward)
(4)Red circle = 1st Downward Breakout candle after conformed retest ( if previous breakout is Upward)
Note: you can additionally add backgrounds for EMA breakout and conformed Retest from code.
Signals:
(1)Long = When Green circle
(2)Short = When Red circle
This script works with any ticker id. Best Use for Equity and Forex Markets. Also, added alert condition for green and red circle.
P.S.: Thanks to @RagingRocketBull for source code for breakout candles
Fibs, Pivots & SupportA 3-in-1 indicator for displaying Fibonacci retracement and pivot levels over custom periods along with areas of previous major support. Each of the three tools can be toggled on/off.
Used properly, these should give you a better idea of where to place orders and take profit.
Alerts are built in but had to remain somewhat generic due to data point limitations. There are alerts for crossing and crossing up/down over each category of line.
[astropark] Volatility IndicatorDear Followers,
today another interesting script: Volatility Indicator .
This indicator measures the volatility of the market you see in the timeframe you see, in a scale between 0 and 1.
It works on cryptocurrencies, commodities, stocks, indexes and forex.
You will see 2 volatility waves:
a black one (with green and blue shadow for increasing and decreasing mode), which is the "faster" one
a red one (with orange and purple shadow for increasing and decreasing mode), which is the "slower" one
The indicator highlights high volatility when it's near the top (1), while low volatility when near the bottom (0).
You can combine this indicator with your own strategy and indicators to validate them :
on low volatility it often happens that a signal fails to be profitable, as it lacks fuel
while it's better if volatility is over low level as price has more room to run while volatility increasing to the top
This indicator also lets you set alerts when volatility exceeds high level or low level.
This is a premium indicator , so send me a private message in order to get access to this script.
ATR Auto Oscillator [DepthHouse]The ATR Auto Oscillator uses advanced range calculations to determine a dynamic range that the applied market moves within. Like an RSI , the ATR Auto Oscillator measures the speed and change of price movements through a given range. Unlike an RSI , the ATR Auto Oscillator automatically re-configures range values dependent on the user set lookback.
The oscillator ranges between (0.1) and 1.1. Generally, the market is oversold while the bands are below 0.2 and is overbought while above 0.8.
The two bands displayed are used to determine short term trend directions and the oversold/undersold state of the applied market. Crossovers of these bands could give a hint to the direction the market is moving.
The fast band (green) is the direct value of where the market is within its calculated range; 1.1 representing the top of range, and -0.1 representing the bottom. Even when this value is near the bottom of the top of the range, the auto oscillator will readjust to create a new range that the market travels within.
The slow band (red) is a lagging version of the fast band which is used to determine the oversold/overbought signals. When this band travels within the oversold and overbought regions the background color will change to signal a warning. If the fast band crosses the slow band within these zones, an opaque signal will appear. These signals are used to catch possible trend reversals.
Breakout Signals ( BETA ):
Breakout signals are the up and down arrows displayed on the top and bottom of the oscillator. A refined range is generated by the user set 'High Low Length'; it is then displayed by the light gray horizontal lines. If the user set band (fast or slow) returns into the range within a given period (breakout offset) then a signal will generate.
Built in Alerts (must be set up by user):
Bullish & Bearish Crossovers within the oversold and overbought ranges.
Bullish & Bearish Breakout alerts (beta)
Users can also set custom alerts. Example: Fast Band crossing up Value: 0.7
To gain access to this indicator please follow the link below.
Feel free to message me with any questions directly here on TradingView.