SMA Table with Alerts and Intersections🌟 **Presenting the Dynamic SMA Intersection Alert Indicator!** 🌟
### **Overview:**
The Dynamic SMA Intersection Alert Indicator is a sophisticated tool developed for traders seeking simplicity and effectiveness. It integrates multiple Simple Moving Averages (SMA) to deliver real-time alerts and visual cues, enabling traders to identify potential market entry points with ease.
### **Features:**
1. **Multi-SMA Visualization:**
- Incorporates four SMAs: 8, 20, 50, 200 periods.
- Displays a customizable table showing the current value of each SMA.
2. **Alerts in Real-Time:**
- Provides instant notifications for price crossings over any of the SMAs.
- Offers customizable alert messages.
3. **Visualization of Intersection Points:**
- Displays green triangles for bullish crosses and red for bearish, directly on the chart.
- Allows for the identification of precise intersection points between shorter-term and longer-term SMAs.
### **Benefits:**
- **Informed Decision-Making:** Enables quick discernment of market trends.
- **Efficiency:** Automates the tracking of SMA intersections.
- **User-Friendly:** Applicable for both novice and experienced traders.
### **How It Operates:**
- The indicator computes four different SMAs and presents their current values systematically.
- It triggers a real-time alert when the price crosses any SMA, instantly notifying the trader.
- Visual cues are plotted on the chart when any two SMAs intersect, indicating the type of cross.
### **Enhance Your Trading Experience!**
The Dynamic SMA Intersection Alert Indicator is designed to refine your trading experience and assist in making informed and timely trading decisions. Leverage this tool to stay abreast of market trends and enhance your market understanding!
Cerca negli script per "alert"
TrendLine I3-TLIdea:
Draw a trendline that can set an alert every time the price cross over/under.
Concept:
(Note that we take the close to get the closing price).
-Determine the coordinates of 2 points of the line AB: A(x1;y1); B(x2;y2).
-Apply Oxy geometry to the chart with price as Oy axis, time as Ox axis. Use linear equations to determine:
+If point's x > line's x, the point is to the right of the line.
+If point's x < line's x, the point is to the left of the line.
+If point's x == line's x, the point is on the line.
-Determine when the price is crossOver or crossUnder the trend line, display that time on the chart and send an alert.
How it works:
1. Input value to config the line by manually:
- Y1: Price 1 as point 1.
- X1: Time at point 1.
- Y2: Price 2 as point 2.
- X2: Time at point 2.
X2 (To date) must be after X1 (From date).
Please consider time (hour, minute) if timeframe < 1hour.
Then draw a line on the pouring table with straight line AB as solid line, extended line as broken line. Logic will start from dashed line (To date in input).
If the price changes value from side to side of the line, show the text label, change the background color accordingly (blue top, red bottom),
also sends an alert ("CrossUnder"; "CrossOver").
2. The indicator's operating range is limited to 500 bars from the "From date" bar. When reaching to the outside, it will show a yellow warning with outbound message.
3. Set alert for this indicator, it will send alert follow 1. condition.
Suitable time frames:
5m, 15m, 1h, 4h, 1D
* Please note that this logic does not attempt to predict future prices or 100% accurate signal.
This is FREE indicator.
(Please direct message or visit website if you want to try another invite-only indicators)
Hope you guys enjoy!
Examples:
GOLD 1D
EURUSD 1H
Elliott Wave Theory [Alerts]This indicator may be one of the first to provide signals & alerts for the Elliott Wave Theory Pattern. Unfortunately, there are few, if any, indicators that are public which allow the Elliott Wave Theory to be plotted+with alerts.
Because this is experimental, I'm going to offer access to it free of charge. Send me a direct message requesting access.
Elliott Wave Theory is a complex chart pattern to learn, and even harder to master. It requires being able to identify the wave lengths of price history and using various tools to plot and assess the price structure in order to find the wave counts. Whilst there are many ways to compute the waves apart of the pattern, there is no universal method that everyone would agree upon. For this indicator, I am using the traditional method.
The different colors represent different cycle types. Using it on a higher timeframe is strongly encouraged for best results.
This version currently provides alerts for the final wave, wave 5. I WILL BE ADDING MORE TO THIS INDICATOR SHORTLY, SEE BELOW:
-Will be adding the other counts to display all the waves
-Will be adding 'correction wave' alerts
-Will be adding 'inverse' pattern alerts
-Will be improving the the labels to include their cycle type
This is not a buy & sell indicator.. This is a TOOL to help analyze the market using Elliott Wave Theory.
The indicator should be used for the following:
-Aiding with EWT analysis
-Helping find potential exit points
-Assist with learning EWT by using this as a template
-Timing trades and improving risk management
-Plotting the overall market
Engulfing Candles AlertThis is a Engulfing Candle Indicator with Alerts.
This is not like any other Engulfing candle indicator present on TV. There are some special rules that are being used to identify specific engulfing candles.
Also, the user can choose if they like nice body engulfing or they want to ignore them.
The indicator have the following highlights:
1) Ability to choose the color of the engulfing candle body.
2) Ability to choose a different color for the Liq (liquidity) swap engulfing candle body.
Bullish Engulfing after Liq Swap
Bearish Engulfing after Liq Swap
3) With above 2 options, you can get the desired information without plotting any extra information on the chart.
4) You can put the alerts for getting notified when these patterns forms on the chart.
5) Ability to choose between getting notified or not on the chart if the engulfing candle body is less than 40% of the whole candle size. This is useful in order to identify if the engulfing is really powerful or not.
After selecting the option to ignore such engulfing
6) Ability to choose between getting notified or not on the chart if the engulfed candle body is really small. This is in particular useful for avoiding the engulfing of Doji which in turn might not be that powerful.
After selecting the option to ignore such engulfing
We will keep on making the improvements/Enhancements over the time (Check the changelog for such features)
NOTE: The indicator is of best use if you have a defined & back tested strategy which relies on this type of candlestick pattern.
Bullish Engulfing AlertThis is a Bullish Engulfing Candle Indicator with Alerts.
This is not like any other Bullish Engulfing candle indicator present on TV. There are some special rules that are being used to identify specific engulfing candles.
Also, the user can choose if they like nice body engulfing or they want to ignore them.
The indicator have the following highlights:
1) Ability to choose the color of the engulfing candle body.
2) Ability to choose a different color for the Liq (liquidity) swap engulfing candle body.
3) With above 2 options, you can get the desired information without plotting any extra information on the chart.
4) You can put the alerts for getting notified when these patterns forms on the chart.
5) Ability to choose between getting notified or not on the chart if the engulfing candle body is less than 40% of the whole candle size. This is useful in order to identify if the engulfing is really powerful or not.
6) Ability to choose between getting notified or not on the chart if the engulfed candle body is really small. This is in particular useful for avoiding the engulfing of Doji which in turn might not be that powerful.
We will keep on making the improvements/Enhancements over the time (Check the changelog for such features)
NOTE: The indicator is of best use if you have a defined & back tested strategy which relies on this type of candlestick pattern.
Bearish Engulfing AlertThis is a Bearish Engulfing Candle Indicator with Alerts.
This is not like any other Bearish Engulfing candle indicator present on TV. There are some special rules that are being used to identify specific engulfing candles.
Also, the user can choose if they like nice body engulfing or they want to ignore them.
The indicator have the following highlights:
1) Ability to choose the color of the engulfing candle body.
2) Ability to choose a different color for the Liq (liquidity) swap engulfing candle body.
3) With above 2 options, you can get the desired information without plotting any extra information on the chart.
4) You can put the alerts for getting notified when these patterns forms on the chart.
5) Ability to choose between getting notified or not on the chart if the engulfing candle body is less than 40% of the whole candle size. This is useful in order to identify if the engulfing is really powerful or not.
6) Ability to choose between getting notified or not on the chart if the engulfed candle body is really small. This is in particular useful for avoiding the engulfing of Doji which in turn might not be that powerful.
We will keep on making the improvements/Enhancements over the time (Check the changelog for such features)
NOTE: The indicator is of best use if you have a defined & back tested strategy which relies on this type of candlestick pattern.
TSI + DivergencesTrue Strength Indicator (TSI) + Divergences + Alerts + Lookback periods.
This version of the True Strength Indicator adds the following 3 additional features to the stock TSI by Tradingview:
- Optional divergence lines drawn directly onto the oscillator.
- Configurable alerts to notify you when divergences occur.
- Configurable lookback periods to fine tune the divergences drawn in order to suit different trading styles and timeframes.
This indicator adds additional features onto the stock TSI by Tradingview, whose core calculations remain unchanged. Namely the configurable option to automatically, quickly and clearly draw divergence lines onto the oscillator for you as they occur, with minimal delay. It also has the addition of unique alerts, so you can be notified when divergences occur without spending all day watching the charts. Furthermore, this version of the TSI comes with configurable lookback periods, which can be configured in order to adjust the sensitivity of the divergences, in order to suit shorter or higher timeframe trading approaches.
The True Strength Indicator
Tradingview describes the True Strength Indicator as follows:
“The True Strength Index (TSI) is a momentum oscillator that ranges between limits of -100 and +100 and has a base value of 0. Momentum is positive when the oscillator is positive (pointing to a bullish market bias) and vice versa. It was developed by William Blau and consists of 2 lines: the index line and an exponential moving average of the TSI, called the signal line. Traders may look for any of the following 5 types of conditions: overbought, oversold, centerline crossover, divergence and signal line crossover. The indicator is often used in combination with other signals..”
What are divergences?
Divergence is when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator, or is moving contrary to other data. Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
There are 4 main types of divergence, which are split into 2 categories;
regular divergences and hidden divergences. Regular divergences indicate possible trend reversals, and hidden divergences indicate possible trend continuation.
Regular bullish divergence: An indication of a potential trend reversal, from the current downtrend, to an uptrend.
Regular bearish divergence: An indication of a potential trend reversal, from the current uptrend, to a downtrend.
Hidden bullish divergence: An indication of a potential uptrend continuation.
Hidden bearish divergence: An indication of a potential downtrend continuation.
Setting alerts.
With this indicator you can set alerts to notify you when any/all of the above types of divergences occur, on any chart timeframe you choose.
Configurable lookback values.
You can adjust the default lookback values to suit your prefered trading style and timeframe. If you like to trade a shorter time frame, lowering the default lookback values will make the divergences drawn more sensitive to short term price action.
How do traders use divergences in their trading?
A divergence is considered a leading indicator in technical analysis, meaning it has the ability to indicate a potential price move in the short term future.
Hidden bullish and hidden bearish divergences, which indicate a potential continuation of the current trend are sometimes considered a good place for traders to begin, since trend continuation occurs more frequently than reversals, or trend changes.
When trading regular bullish divergences and regular bearish divergences, which are indications of a trend reversal, the probability of it doing so may increase when these occur at a strong support or resistance level. A common mistake new traders make is to get into a regular divergence trade too early, assuming it will immediately reverse, but these can continue to form for some time before the trend eventually changes, by using forms of support or resistance as an added confluence, such as when price reaches a moving average, the success rate when trading these patterns may increase.
Typically, traders will manually draw lines across the swing highs and swing lows of both the price chart and the oscillator to see whether they appear to present a divergence, this indicator will draw them for you, quickly and clearly, and can notify you when they occur.
Disclaimer : This script includes code from the stock TSI by Tradingview as well as the RSI divergence indicator.
Ultimate Oscillator + DivergencesUltimate Oscillator (UO) + Divergences + Alerts + Lookback periods.
This version of the Ultimate Oscillator adds the following 3 additional features to the stock UO by Tradingview:
- Optional divergence lines drawn directly onto the oscillator.
- Configurable alerts to notify you when divergences occur.
- Configurable lookback periods to fine tune the divergences drawn in order to suit different trading styles and timeframes.
This indicator adds additional features onto the stock Ultimate Oscillator by Tradingview, whose core calculations remain unchanged. Namely the configurable option to automatically, quickly and clearly draw divergence lines onto the oscillator for you as they occur, with minimal delay. It also has the addition of unique alerts, so you can be notified when divergences occur without spending all day watching the charts. Furthermore, this version of the Ultimate Oscillator comes with configurable lookback periods, which can be configured in order to adjust the sensitivity of the divergences, in order to suit shorter or higher timeframe trading approaches.
The Ultimate Oscillator
Tradingview describes the Ultimate Oscillator as follows:
“The Ultimate Oscillator indicator (UO) indicator is a technical analysis tool used to measure momentum across three varying timeframes. The problem with many momentum oscillators is that after a rapid advance or decline in price, they can form false divergence trading signals. For example, after a rapid rise in price, a bearish divergence signal may present itself, however price continues to rise. The ultimate Oscillator attempts to correct this by using multiple timeframes in its calculation as opposed to just one timeframe which is what is used in most other momentum oscillators.”
More information on the history, use cases and calculations of the Ultimate Oscillator can be found here: www.tradingview.com
What are divergences?
Divergence is when the price of an asset is moving in the opposite direction of a technical indicator, such as an oscillator, or is moving contrary to other data. Divergence warns that the current price trend may be weakening, and in some cases may lead to the price changing direction.
There are 4 main types of divergence, which are split into 2 categories;
regular divergences and hidden divergences . Regular divergences indicate possible trend reversals, and hidden divergences indicate possible trend continuation.
Regular bullish divergence: An indication of a potential trend reversal, from the current downtrend, to an uptrend.
Regular bearish divergence: An indication of a potential trend reversal, from the current uptrend, to a downtrend.
Hidden bullish divergence: An indication of a potential uptrend continuation.
Hidden bearish divergence: An indication of a potential downtrend continuation.
Setting alerts.
With this indicator you can set alerts to notify you when any/all of the above types of divergences occur, on any chart timeframe you choose.
Configurable lookback values.
You can adjust the default lookback values to suit your prefered trading style and timeframe. If you like to trade a shorter time frame, lowering the default lookback values will make the divergences drawn more sensitive to short term price action.
How do traders use divergences in their trading?
A divergence is considered a leading indicator in technical analysis, meaning it has the ability to indicate a potential price move in the short term future.
Hidden bullish and hidden bearish divergences, which indicate a potential continuation of the current trend are sometimes considered a good place for traders to begin, since trend continuation occurs more frequently than reversals, or trend changes.
When trading regular bullish divergences and regular bearish divergences, which are indications of a trend reversal, the probability of it doing so may increase when these occur at a strong support or resistance level. A common mistake new traders make is to get into a regular divergence trade too early, assuming it will immediately reverse, but these can continue to form for some time before the trend eventually changes, by using forms of support or resistance as an added confluence, such as when price reaches a moving average, the success rate when trading these patterns may increase.
Typically, traders will manually draw lines across the swing highs and swing lows of both the price chart and the oscillator to see whether they appear to present a divergence, this indicator will draw them for you, quickly and clearly, and can notify you when they occur.
Disclaimer : This script includes code from the stock UO by Tradingview as well as the RSI divergence indicator.
[DA]SAR HILODescription of the indicator:
The SAR indicator will indicate a trend change on the chart:
LONG: Red up arrow + GOLONG alert + red horizontal line
SHORT: Blue down arrow + GOSHORT alert + blue horizontal line
A HILO trend channel is also formed, which is reset when the trend changes.
The HILO channel will help you see the price movement in the channel.
Trend change alerts will only work at the close of the current bar.
For GOLONG/GOSHORT alerts to work, you need to select in the Tradingview menu:
Alerts => Indicator Name => Condition => Any call to the alert() function (Any alert() function call)
Price and trend direction in the table:
LONG + Red: The price is trending LONG
LONG + Yellow: The price is moving against the LONG trend
SHORT + Blue color: The price is moving along the SHORT trend
SHORT + Yellow: The price is moving against the SHORT trend
▲▼ Arrows: Rising/Falling bar
% Percentage taken from blue/red levels
I will be glad to receive your feedback on the indicator operation.
Stochastic and RSI in one indicator with customized alert.Hello Trading Viewers,
I present you Stochastic Oscillator and The Relative Strength Index Indicator inside one indicator, so that it will clear room to view charts.
When Stochastic is over-sold, the fast and slow stochastic underlap along with strong RSI (say above 45) will be a good indicator of buy at low with good risk-to-return of 2x or 3x; therefore I have set a triangle shape indicator within to help you identify or you can simply set an alert as I have coded an customized alert.
Same idea is used when Stochastic is over-bought you will receive an alert when fast & slow stochastic overlaps with RSI falling give a good sell set-up.
There is an option of selecting different timeframes which will further help make the correct decision. Say you are viewing a Daily chart but you want an indicator to present data of 4hrs timeframe, it can be done from the indicator cogwheel option. Default timeframe is "same as charts' ".
Above indicator is universal because settings such as RSI levels and no. of bars to calculate are user defined. You can use it on Crypto, Commodities, Stocks etc.
I suggest you first paper-trade with it and then use it on live account.
Happy trading.
Argo IV - EXPERIMENTAL strategy for 3commas with alertsThis strategy lets users create BUY/SELL alerts for 3commas single bots in a simple way, based on a built in set of indicators that can be tweaked to work together or separately through the study settings. Indicators include Bollinger Bands , Williams %R , RSI , EMA , SMA , Market Cipher, Inverse Fisher Transform, RSI divergence.
It is based on the ARGO I study ( here ), with the following major differences:
- It uses pyramiding (see strategy "properties")
- It includes a lot of new options for deal start/close conditions for maximum control
- It doesn't require any external tool to backtest.
If the user choses to create both BUY and SELL signals from the study settings, the alert created will send both BUY and SELL signals for the selected pair. Note the script will only send alerts for the pair selected in the study settings, not for the current chart (if different).
Important : it is only an early experiment, I will only release the script when satisfied with performance. Until then, I advise not to use this for any real trading.
How to use:
- Add the script to the current chart
- Open the strategy settings , insert bot details. Pairs MUST be in capital letters or 3commas will not recognize them.
- Still in the settings, tweak the deal start/close conditions from various indicators until happy. The strategy will plot the entry / exit points on the chart
- When happy, right click on the "..." next to the study name, then "Add alert'".
- Under "Condition", on the second line, chose "Any alert () function call". Add the webhook from 3commas, give it a name, and "create".
CDC ActionZone Multi-TF,Mult-Ticker with alert() [P-O-Concept]This is proof-of-concept for using single screen displaying triggering signal of multiple stock/crypto
This source code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
1. Original CDC Action Zone v3 2020 by © piriya33
Source of original indicator :
2. Table concept/part of code is pulled from Portfolio Tracker
***************************************************************************
CDC Action Zone is based on a simple EMA crossover between EMA12 and EMA26
The zones are defined by the relative position of price in relation to the two EMA lines
Different zones can be use to activate / deactivate other trading strategies
The strategy can also be used on its own with acceptable result, buy on the first green candle
and sell on the first red candle
***************************************************************************
Hint Color Meaning :
Green = FastMA > SlowMA and Price is above FastMA
Blue = FastMA < SlowMA and Price is above both MA
LightBlue = FastMA < SlowMA and Price is between both MA
Red = FastMA < SlowMA and Price is below FastMA
Orange = FastMA > SlowMA and Price is below both MA
Yellow = FastMA > SlowMA and Price is between both MA
Blue/LightBlue/Orange/Yellow should be used with another indicator (such as divergent or so)
Cautions:
- This indicator is not meant to be used as "Signal" or "Trading System"
- This indicator provide a quick-glimpse to multiple ticker in same screen. You'll still have to see indications using original CDC Action Zone (If you're using with CDC System), or combining with another indicator (For shorter tf or scalping, or short/long cover)
- Up to 10 Tickers / Timeframe + Current ticker
Alert Creation Guideline
If this indicator will be used as alert. The timeframe for ticker should be set to "same as" the chart you're using, ie, to set alert on 4h, it should be created in 4h-timeframe (Alert is fired on bar close, using 1D-TABLE in 4H-CHART may trigger alert up to 6 times. else if using in 4H-TABLE in 1D-CHART the alert may not trigger at all)
Considering using ohlc4, hlc3, hl2 for market with no session
PS. Send me a message if you see any bug. (especially if using JSON, I have no chance to test with multiple alert at same tick.)
ELLIPSE: Bidirectional Swing Trading Strategy (Alert Version)This is the alert version of our original script ELLIPSE: Ultimate Bidirectional Swing Trading Strategy.
This release has the same internal algorithm as the ELLIPSE 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***
-------------------------------------------------------------------------------------------------
User Guidelines:
The trading strategy was designed and optimized for trading cryptocurrencies only ; furthermore it works best on established cryptocurrencies that have a clear historical trend such as:
BTCUSD
ETHUSD
LTCUSD
XRPUSD
ADAUSD
The trading strategy is based on swing trading methodology. The script must therefore be used on 4h candles only .
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 trading strategy is bidirectional , both long and short entries are generated.
-------------------------------------------------------------------------------------------------
Indicators used in this strategy:
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.
Simple and Exponential Moving Averages ; prevents trading against the trend.
The trading strategy is easy to use, bidirectional, 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 LONG or SHORT signal. The trading strategy provides high probability trading signals and minimizes risk! This script aims to capture the profit from short to medium trending moves and by doing so filters out non-substantial trends and avoids the associated risks with these trades.
-------------------------------------------------------------------------------------------------
Features:
NO Repaint once candle is closed.
Stop loss feature ; set your own stop loss to manage your risks.
Customizable Display for the Ichimoku cloud indicator display.
Bidirectional ; both long and short trading positions can be enabled.
Full backtest feature ; Easily generate your own backtest results for each asset (Strategy Version Script).
Alerts ; Get notified via email / pop-up / sms / app once a signal is given! (Alert Version Script).
-------------------------------------------------------------------------------------------------
Backtest results
Below are the back test results. Only well established cryptocurrencies are displayed with a clear historical trend.
Back test results: (long and short trades, signal to signal, order size: 100% of equity, commision fee 0.1%, period: start of chart)
Exchange-----Asset---------Timeframe---Percent Profitable----Profit Factor-----Total Trades----Max Drawdown---Average bars in trade-----Net Profit
Bínance------BTCUSDT---------4H-----------------54.4---------------3.37-------------------57----------------14.9---------------------38------------------1978
Bínance------ETHUSD----------4H-----------------50.9---------------3.48------------------- 57---------------26.8----------------------37------------------3953
Bínance------LTCUSD-----------4H-----------------61.0---------------3.15-------------------59----------------20.9---------------------33------------------3098
Bínance------XRPUSD----------4H-----------------43.1---------------2.44--------------------51---------------22.4----------------------26------------------1226
Bínance------ADAUSD----------4H-----------------57.5---------------3.47--------------------47---------------34.7----------------------35------------------1233
-------------------------------------------------------------------------------------------------
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***
MA-EMA Crossover AlertsThis is a script for getting alerts for the MA-EMA XO Strategy that I published recently.
This is probably the first version that I am putting out for this logic.
Based on feedback (and some coding suggestions and support if anyone is willing), I will try to improve this further.
So, what do we have in this script -
I have created 5 alert conditions. The 4 alerts are straight-forward : Entry / Exit alerts for Long / Short.
The fifth alert is just a single Alert which is triggered if any of the 4 alert conditions are met. Then user can check the chart to see what trade is triggered.
I am not explaining the logic of the indicator here since it is kind-of covered in the strategy.
[SignalFI] Simple MA X [3 Stage]Welcome!
This strategy recently came up as a way to stage entries when using simple moving averages for trading on high time-frames.
The goal of this script is to provide early warning for Simple Moving Average (SMA) crosses.
Three events are taken in account:
1) Close crossing above or below the "Fast" SMA
2) Close crossing above or below the "Slow" SMA
3) "Fast" SMA crossing above or below the "Slow" SMA
In this way, you will receive early warning of the main SMA crosses as price rises above or falls below each of the SMAs defined.
The script is fully alertable on each of the defined crosses:
1) Early Bull/Bear = Close crossing above or below the "Fast" SMA
2) Mild Bull/Bear = Close crossing above or below the "Slow" SMA
3) Bull/Bear MA = "Fast" SMA crossing above or below the "Slow" SMA
The idea is that you can split your order entry/exit conditions into stages, during bull markets taking a (example) 33% position when the Early Bull alert fires, 33% at Mild Bull, and the last 33% at Bull MA alerts. Reversing the process when exiting in order to reduce the lagging nature of the standard SMA cross strategy.
Rhaps SMAEMA Combo v1.1There's many versions of this sort of thing around the Tradingview library, but i guess we all like things to our own specifications.
So this is my take on the SMA and EMA version combined.
Bunch of SMA's & EMA's, with labels, and G&D Cross Labels and Alerts.
These values can of course be changed to any you may prefer.
Rhapsodyy's Combo SMAEMA's v1.1
SMA's with Painted Labels : 10/30/50/80/200
EMA's with Painted Labels : 21/50/89/200/377
50SMA / 200SMA Golden & Death Crosses on Current Timeframe & Alerts
Daily 50SMA / 200SMA Golden & Death Crosses overlayed onto Current Timeframe & Alerts
50EMA / 200EMA Golden & Death Crosses on Current Timeframe & Alerts
Daily 50EMA / 200EMA Golden & Death Crosses overlayed onto Current Timeframe & Alerts
T-Step LSMAIntroduction
The trend step indicator family has produced much interest in the community, those indicators showed in certain cases robustness and reactivity. Their ease of use/interpretation is also a major advantage. Although those indicators have a relatively good fit with the input price, they can still be improved by introducing least-squares fitting on their calculations. This is why i propose a new indicator (T-Step LSMA) which aim to gather all the components of the trend-step indicator family (including the auto-line family).
The indicator will use as a threshold the mean absolute error between the input and the output (T-Channel) scaled with the efficiency ratio (Efficient Trend Step) while using least squares in order to provide a better fit with the price (Auto-Filter).
The Indicator
The interpretation of the indicator is easy, the indicator estimate an up-trending market when in blue, down-trending when in orange, the signal only depend on the trend-step part ( b in the code).
length control the period of the efficiency ratio as well as any components in the lsma calculation. The efficiency ratio allow to provide adaptivity, therefore the threshold will be lower when market is trending and higher when market is ranging.
Sc control the amount of feedback of the indicator, a value of 1 will use only the closing price as input, a value of 0.5 will use 50% of the closing price/indicator output as input, this allow to get smoother results.
It is possible to get the non-smooth version of the indicator by checking "No Smoothing".
This allow the indicator to filter more information.
Least Squares Smoothing - Benefits
One could ask why introducing least squares smoothing, there are several reasons to this choice, we have seen that trend-step indicators are boxy, they filter most of the variational information in the price, introducing least squares smoothing allow to gain back some of this variational information while providing a better fit with the price, the indicator is more noisy but also more practical in certain situations.
For example the indicator in its boxy form can't really be useful as input for other indicators, which is not the case with this version.
Relative strength index of period 14 using the proposed indicator as input.
Down-Sides
The indicator is dependent on the time frame used, larger time frames resulting in an indicator overfitting, sticking with lower time frames might be ideal. The indicator behavior might also change depending on the market in which it is applied.
Setting Up Alerts For The Indicator
Alerts conditions are already set, in order to create an alert based on the indicator follow these steps :
Go to the alert section (the alarm clock) -> create new alert -> select T-Step LSMA in condition -> Below select Up or Dn (Up for a up-trending alert and Dn for a down-trending alert)
In option select "once per bar close", change the message if you want a personalized message.
Conclusion
I don't think i'll post other indicators related to the trend-step framework for the time to comes, nonetheless the ones posted proven to have interesting results as well as many upsides. Although i don't think they would generate positive long-terms returns they could still be of use when using smarter volatility metrics as threshold. The proposed indicator conserve more information than its relatives and might find some use as input for other indicators.
Recommended Use Of The Code
Although i don't put restrictions on the code usage, i still recommend creative and pertinent changes to be made, graphical changes or any minor changes are not necessary, remember that such practice is disrespectful toward the author, you don't want to load up the tradingview servers for nothing right ?
Support Me
Making indicators sure is hard, it takes time and it can be quite lonely to, so i would love talking with you guys while making them :) There isn't better support than the one provided by your friends so drop me a message.
RePaNoCHa [Alerts]Script for automatic trading with Alerts (Use Backtest to customize your own settings)
All timeframes but good results on 2H.
LG --> Long
ST --> Short
TS --> Trailing Stop
xL --> Close Long Position
xS --> Close Short Position
SL --> Stop Loss
The trailing stop closes the trade if the price changes direction by a specified percentage or offset. There is no ideal distance because markets and price are always changing and we know that is impossible to exit on the top or bottom. This script interpolate the trailing Stop Offset with profit, higher profit -- > higher Trailing Stop Offset. Despite this, it's difficult to catch the price. If someone comes up with a good idea, comment, I'm happy to learn.
No security() function so no repaint but has time() and can appear a warning for it.
Alerts:
'Once per bar' More profit but not confirmed alerts (10-20% fake alerts)... I like risk
'Once per bar close' Confirmed alerts (0% fake alerts)... You will sleep better
Some settings:
XBTUSD (BITMEX)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 Length = 5
T3 Volume Factor = 0.9
Sampling Period = 16
Range Multiplier = 1.3
ADX lenght = 10
ADX Threshold = 20
SAR start = 0.07
SAR inc = 0.02
SAR max = 0.15
Pyramiding = 10
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.35
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss = 3.5
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
ETHUSD (BITMEX)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 Length = 5
T3 Volume Factor = 0.7
Sampling Period = 13
Range Multiplier = 0.9
ADX lenght = 11
ADX Threshold = 19
SAR start = 0.06
SAR inc = 0.03
SAR max = 0.15
Pyramiding = 10
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.35
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss = 4
Tics/Pips Correction = 100
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
BNBUSDT (BINANCE)
Timeframe = 2H
Position Side = LONG
Source = hlc3
T3 Length = 3
T3 Volume Factor = 1.6
Sampling Period = 17
Range Multiplier = 1.3
ADX lenght = 5
ADX Threshold = 18
SAR start = 0.04
SAR inc = 0.03
SAR max = 0.25
Pyramiding = 10
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.4
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss == false
Tics/Pips Correction = 10000
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
LTCUSDT (BINANCE)
Timeframe = 2H
Position Side = LONG
Source = hlc3
T3 Length = 3
T3 Volume Factor = 1.6
Sampling Period = 11
Range Multiplier = 1.1
ADX lenght = 6
ADX Threshold = 22
SAR start = 0.07
SAR inc = 0.04
SAR max = 0.15
Pyramiding = 10
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.4
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss == false
Tics/Pips Correction = 100
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
TRXUSDT (BINANCE)
Timeframe = 2H
Position Side = LONG
Source = hlc3
T3 Length = 3
T3 Volume Factor = 0.9
Sampling Period = 8
Range Multiplier = 1.2
ADX lenght = 4
ADX Threshold = 22
SAR start = 0.07
SAR inc = 0.04
SAR max = 0.15
Pyramiding = 10
Trailing Stop Activation % = 0.5
Trailing Stop Offset % (when profit=0.5 %) = 0.4
Trailing Stop Offset % (when profit=10 %) = 1.5
Stop Loss == false
Tics/Pips Correction = 100000
Initial Capital = 1000
Quantity = 100 %
Commission value = 0.075 %
NAS100 (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 Length = 3
T3 Volume Factor = 1
Sampling Period = 12
Range Multiplier = 1.3
ADX lenght = 18
ADX Threshold = 21
SAR start = 0.08
SAR inc = 0.06
SAR max = 0.25
Pyramiding = 10
Trailing Stop Activation % = 0.2
Trailing Stop Offset % (when profit=0.5 %) = 0.15
Trailing Stop Offset % (when profit=10 %) = 1
Stop Loss = 1.8
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 3 contracts
Commission value = 0.2 USD per contract
NATGAS(OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 Length = 3
T3 Volume Factor = 1
Sampling Period = 18
Range Multiplier = 1.1
ADX lenght = 10
ADX Threshold = 17
SAR start = 0.1
SAR inc = 0.04
SAR max = 0.35
Pyramiding = 10
Trailing Stop Activation % = 0.2
Trailing Stop Offset % (when profit=0.5 %) = 0.15
Trailing Stop Offset % (when profit=10 %) = 1
Stop Loss = 1.6
Tics/Pips Correction = 1000
Initial Capital = 1000
Quantity = 4500 contracts
Commission value = 0.002 USD per contract
SPX500 (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 Length = 3
T3 Volume Factor = 0.6
Sampling Period = 14
Range Multiplier = 1.3
ADX lenght = 12
ADX Threshold = 17
SAR start = 0.23
SAR inc = 0.05
SAR max = 0.2
Pyramiding = 10
Trailing Stop Activation % = 0.15
Trailing Stop Offset % (when profit=0.5 %) = 0.1
Trailing Stop Offset % (when profit=10 %) = 0.75
Stop Loss = 1.5
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 8 contracts
Commission value = 0.2 USD per contract
US30 (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 Length = 4
T3 Volume Factor = 0.9
Sampling Period = 11
Range Multiplier = 1.1
ADX lenght = 16
ADX Threshold = 24
SAR start = 0.08
SAR inc = 0.03
SAR max = 0.05
Pyramiding = 10
Trailing Stop Activation % = 0.15
Trailing Stop Offset % (when profit=0.5 %) = 0.1
Trailing Stop Offset % (when profit=10 %) = 0.75
Stop Loss = 1.5
Tics/Pips Correction = 10
Initial Capital = 1000
Quantity = 1 contracts
Commission value = 1.5 USD per contract
WHEAT (OANDA)
Timeframe = 2H
Position Side = BOTH
Source = hlc3
T3 Length = 3
T3 Volume Factor = 1.1
Sampling Period = 12
Range Multiplier = 1
ADX lenght = 13
ADX Threshold = 21
SAR start = 0.07
SAR inc = 0.05
SAR max = 0.15
Pyramiding = 10
Trailing Stop Activation % = 0.2
Trailing Stop Offset % (when profit=0.5 %) = 0.15
Trailing Stop Offset % (when profit=10 %) = 1
Stop Loss = 2.5
Tics/Pips Correction = 1000
Initial Capital = 1000
Quantity = 2500 contracts
Commission value = 0.003 USD per contract
Dragon-Bot - Default ScriptDragon-Script is a framework to make it as easy as possible to test your own strategies and set alerts for external execution bots. This is the alerts version of the script.
The script has many features build in, like:
1) A ping/pong mechanism between longs and shorts
2) A stop-loss
3) Trailing Stops with several ways to calculate them.
4) 2 different ways to flip from long to short.
The script is divided into several parts.
The first part of the script is used to set all the variables. You should normally never change the first part except for the comments at the top.
The second part of the script is the part where you initialise all your indicators. Several indicators can be found on Tradingview and on other sites. Please keep in mind that all the variable names used in the indicator should be unique. (all the … = … parts)
The third part of the script, is the most important part of the script. Here you can create the entry and exit points.
Let’s look at the OPENLONG function to explain this part: The first variables are all the possible entries; These are longentry1 till longentry5. You can add many more if you like.
The variables are all initialised as being false. This way the script can set a value to true if an entry happens.
The if function is the actual logic: You could say “if this is true” then (the line below the if function) longentry1 := (becomes) true.
In this case we have said: “if this is true” then (the line below the if function) longentry1 := (becomes) true when the current close is larger than the close that is 1 back.
The last part is the makelong_funct. This part says that if any of the entries are true, the whole function is true.
The last part of the script is the actual execution. Here the alerts are plotted and the back test strategies are opened and closed.
We hope you guys like it and all feedback is welcome!
ANB AI Alert (my ANN)Hi guy
This is a high level trend predicting study. It is modified from the strategy by sirlof.
Feel free to use it as you like.
::USAGE only on 15 minutes
1. add the study in your chart
2. create an alert on the right
3. select ANB AI Alert (my ANN)(0,1D)
4. select the option you wish
5. select once per bar close alert
6. you can select email alert which i usually like
7. once the trade is alerted, execute your trade
TP: DYNAMIC (read more)
SL: null
Setting TP and SL: this is in consideration with the daily volatility and sessions
USDCAD TP 400 points, no stop loss.
To maximize profit, use trailing stops. most trades are 500 to 1800 points
NGRN MACD-X & RSI v4 STRATEGYMACD-X, RSI & Volume Indicator Strategy - Version 4
Overview
This strategy and it's associated study were modeled after the famous Philakone described algorithms on his now defunct instructional video series.
This indicator allows for full customisation of parameters and interaction between three indicators that allow users to shape their trading methods to their desired goals. This associated strategy also allows users to backtest the study alerts script and find the best settings towards that end.
MACD + RSI + VOLUME - are of the most powerful and widely usded indicators, MACD/Histogram crosses, coupled with RSI & Volume increases/decreases will detects areas of deeply oversold / overbought and buys/sells on the reversal
Features
Full customisation - All parameters are open for customising to allow the trader to build their own strategy and adapt from market to market.
Clean/Simple UI - Facilitating ease of use.
Enable Buying OR Selling, - or have them both active at the same time.
Toggle off and on ALTERNATING Buy and Sell feature (pyramiding) - to allow for consecutive DCA style buys or SCALING out of an entry (partial sell).
Customizable Stop-Loss plot - to enable users to create a STOP-LOSS alert option or other alert(s) based on the plot location.
Toggle Auto Stop-Loss sell option - to enable users choose whether or not to automatically issue a sell signal when close crosses stop loss plot, or choose to toggle off if not profitable.
Customizable Take-Profit plot - to enable users to create a TAKE-PROFIT alert option or other alert(s) based on the plot location.
Study and associated Strategy - to use the TradingView ‘Strategy Tester’ back-testing features to find the best alert settings for specific coins in bear, bull and sideways markets.
Changes Version 4
Improved STOP-LOSS plot draw.
Added the option to automatically sell when stop-loss cross triggered or have the option disabled, in the event a better profit can be achieved.
Added new TAKE-PROFIT plot (aqua line) to visually guide users where to place the TAKE-PROFIT parameter as well as give users options to create alerts based on the TAKE-PROFIT plot.
Access
Full Access is 0.1 ETH , one time fee for LIFETIME access to the STUDY indicator, STRATEGY and future updates as well as support and SETTINGS for various markets on the Binance Exchange.
Settings
SCREENSHOT LINKS:
BUY SETTINGS: prntscr.com
SELL SETTINGS: prntscr.com
Commodity Channel Index Plus (CCI+)Same CCI you love, but with a candle highlighter, control over Overbought & Oversold Line placement, and Alert Conditions for Overbought & Oversold and Recoveries, built right in.
Set the Overbought/Oversold Lines anywhere you want... use them to create CCI+ Alerts.