RSI & Stoch MultiTimeThis indicator renders a table with 2 rows and 7 columns displaying the values of RSI and Stoch over different time periods. This works best on 1m charts due to a bug with the time periods I haven't yet solved.
Oscilador Estocástico
Stochastic Colored Zones - [hessen.trading]NASDAQ:TSLA
Dieses Script zeigt den Stochastic-Oszillator an.
Der Unterschied zum Standard Indikator ist, die farbliche Kennzeichnung der Bereiche über und unter 50
Data Trader Stoch | RSI | MACD Strategy IndicatorImplementation of Data Trader's strategy, described in the youtube video, "Highly Profitable Stochastic + RSI + MACD Trading Strategy (Proven 100x)"
Also see Algovibes' video, "Highly Profitable Stochastic + RSI + MACD Trading Strategy? Testing Data Traders strategy in Python"
Note: Despite the claims, it generates barely, if any, signals, certainly in the crypto markets
If there are any mistakes, give feedback in the comments, and I'll fix
### Strategy Summary ###
# Long Signals #
Stoch K and D are oversold
RSI above midline
MACD above signal line
# Short Signals #
Stoch K and D are overbought
RSI below midline
MACD below signal line
# Stop loss and Take Profit #
Stop loss
Longs: below last swing low
Shorts: above last swing high
Take profit at 1.5x stop loss
NEXT Stochastic 3xVW (Triple Volume Weighted)Overview:
This responsive version of the Stochastic oscillator modifies and extends the original to incorporate volume. It does so on 2 levels: by using Volume-Weighted Moving Average (VWMA) as input and applying a triple volume weighting filter within the internal algorithm, intelligently blending volume with what is otherwise pure momentum/distribution analysis. The result is more binary-like curve behavior (%K and %D oscillator lines), whose polarizing movement acts as both a signal and filter.
Below is a screenshot comparing NEXT Stochastic 3xVW with default settings to the original Stochastic oscillator on NQ M1 chart.
Application and Strategy Ideas:
NEXT Stochastic 3xVW is intended to be used like the original Stochastic oscillator within the context of technical analysis: identifying overvalued (above upper limit) and undervalued (below lower limit) price action, as well as establishing a bias baseline (bullish if over 50; bearish if under 50). Higher NEXT Stochastic 3xVW bottoms compared to lower price bottoms signify bullish divergence; lower NEXT Stochastic 3xVW tops compared to higher price tops signify bearish divergence. Trading %K/%D line crossing is also a popular strategy, with %K crossing over %D indicating bullish sentiment and %K crossing under %D indicating bearish sentiment.
Below is a screenshot showing NEXT Stochastic 3xVW overbought/oversold intraday strategy on SPY M1 chart. NEXT Stochastic 3xVW is set to 5,10,1,3 with long signal issued at lower limit of 30 and short at upper limit of 70.
Input Parameters:
VWMA Length - controls the averaging length of the volume-weighted moving average (based on close price and volume); used as Stochastic input
%K Length - volume-driven averaging length of the %K oscillator line - this is the faster of the two Stochastic lines
%K Smoothing - volume-driven smoothing factor of the %K line
%D Smoothing - volume-driven averaging length of the %D oscillator line (a %K derivative, post smoothing) - this is the slower of the two Stochastic lines
Upper Limit - the NEXT Stochastic 3xVW level above which market is considered overbought, default is 80
Base Bias - the NEXT Stochastic 3xVW level above which market bias is considered bullish, and below bearish
Lower Limit - the NEXT Stochastic 3xVW level below which market is considered oversold, default is 20
Signals and Alerts:
Discover and visualize NEXT Stochastic 3xVW strategies using the companion NEXT Strategy Visualizer indicator. While the %K/%D cross alerts can be set via NEXT Stochastic 3xVW indicator, the Strategy Visualizer will only plot long/short signals when %K or %D cross over or under overbought/oversold levels (as hown in the above SPY M1 screenshot). That being said, the next version of the Strategy Visualizer will also support %K/%D crosses.
Here is how to set NEXT Stochastic 3xVW %K/%D crossing alerts: open a chart, attach NEXT Stochastic 3xVW, and right-click on chart -> Add Alert. Condition: Next Stochastic >> %K >> Crossing >> Next Stochastic >> %D
Combo 4+ KDJ STO RSI EMA3 Visual Trend Pine V5@RL! English !
Combo 4+ KDJ STO RSI EMA3 Visual Trend Pine V5 @ RL
Combo 4+ KDJ STO RSI EMA3 Visual Trend Pine V5 @ RL is a visual trend following indicator that groups and combines four trend following indicators. It is compiled in PINE Script Version V5 language.
• STOCH: Stochastic oscillator.
• RSI Divergence: Relative Strength Index Divergence. RSI Divergence is a difference between a fast and a slow RSI.
• KDJ: KDJ Indicator. (trend following indicator).
• EMA Triple: 3 exponential moving averages (Default display).
This indicator is intended to help beginners (and also the more experienced ones) to trade in the right direction of the market trend. It allows you to avoid the mistakes of always trading against the trend.
The calculation codes of the different indicators used are standard public codes used in the usual TradingView coding for these indicators.
The STO indicator calculation script is taken from TradingView's standard STOCH calculation.
The RSI indicator calculation script is a replica of the one created by @Shizaru.
The KDJ indicator calculation script is a replica of the one created by @iamaltcoin.
The Triple EMA indicator calculation script is a replica of the one created by @jwilcharts.
This indicator can be configured to your liking. It can even be used several times on the same graph (multi-instance), with different configurations or display of another indicator among the four that compose it, according to your needs or your tastes.
A single plot, among the 4 indicators that make it up, can be displayed at a time, but either with its own trend or with the trend of the 4 (3 by default) combined indicators (sell=green or buy=red, background color).
Trend indications (potential sell or buy areas) are displayed as a background color (bullish: green or bearish: red) when at least three of the four indicators (3 by default and configurable from 1 to 4) assume that the market is moving in the same direction. These trend indications can be configured and displayed, either only for the signal of the selected indicator and displayed, or for the signals of the four indicators together and combined (logical AND).
You can tune the input, style and visibility settings of each indicator to match your own preferences or habits.
A 'buy stop' or 'sell stop' signal is displayed (layouts) in the form of a colored square (green for 'stop buy' and red for 'stop sell'. These 'stop' signals can be configured and displayed, either only for the indicator chosen, or for the four indicators together and combined (logical OR).
Note that the presence of a Stop Long signal cancels the background color of the Long trend (green).
Likewise, the presence of a Stop Short signal cancels out the background color of the Short trend (red).
It is also made up of 3 labels:
• Trend Label
• signal Stop Label (signals Stop buy or sell )
• Info Label (Names of Long / Short / Stop Long / Stop Short indicators, and / Open / Close / High / Low ).
Each label is configurable (visibility and position on the graph).
• Trend label: indicates the number of indicators suggesting the same trend (Long or Short) as well as a strength index (PWR) of this trend: For example: 3 indicators in Short trend, 1 indicator in Long trend and 1 indicator in neutral trend will give: PWR SHORT = 2/4. (3 Short indicators - 1 Long indicator = 2 Pwr Short). And if PWR = 0 then the display is "Wait and See". It also indicates which current indicator is displayed and the display mode used (combined 1 to 4 indicators or not combined ).
• Signal Stop Label: Indicates a possible stop of the current trend.
• Label Info (Simple or Full) gives trend info for each of the 4 indicators and OHLC info for the chart (in “Full” mode).
It is possible to display this indicator several times on a chart (up to 3 indicators max with the Basic TradingView Plan and more with the paid plans), with different configurations: For example:
• 1-Stochastic - 2/4 Combined Signals - no Label displayed
• 1-RSI - Combined Signals 3/4 - Stop Label only displayed
• 1-KDJ - Combined Signals 4/4 - the 3 Labels displayed
• 1-EMA'3 - Non-combined signals (EMA only) - Trend Label displayed
Some indicators have filters / thresholds that can be configured according to your convenience and experience!
The choice of indicator colors is suitable for a graph with a "dark" theme, which you will probably need to modify for visual comfort, if you are using a "Light" mode or a custom mode.
This script is an indicator that you can run on standard chart types. It also works on non-standard chart types but the results will be skewed and different.
Non-standard charts are:
• Heikin Ashi (HA)
• Renko
• Kagi
• Point & Figure
• Range
As a reminder: No indicator is capable of providing accurate signals 100% of the time. Every now and then, even the best will fail, leaving you with a losing deal. Whichever indicator you base yourself on, remember to follow the basic rules of risk management and capital allocation.
BINANCE:BTCUSDT
**********************************************************************************************************************************************************************************************************************************************************************************
! Français !
Combo 4+ KDJ STO RSI EMA3 Visual Trend Pine V5@RL
Combo 4+ KDJ STO RSI EMA3 Visual Trend Pine V5@RL est un indicateur visuel de suivi de tendance qui regroupe et combine quatre indicateurs de suivi de tendance. Il est compilé en langage PINE Script Version V5.
• STOCH : Stochastique.
• RSI Divergence : Relative Strength Index Divergence. La Divergence RSI est une différence entre un RSI rapide et un RSI lent.
• KDJ : KDJ Indicateur. (indicateur de suivi de tendance).
• EMA Triple : 3 moyennes mobiles exponentielles (Affichage par défaut).
Cet indicateur est destiné à aider les débutants (et aussi les plus confirmé) à trader à dans le bon sens de la tendance du marché. Il permet d'éviter les erreurs qui consistent à toujours trader à contre tendance.
Les codes de calcul des différents indicateurs utilisés sont des codes publics standards utilisés dans le codage habituel de TradingView pour ces indicateurs !
Le script de calcul de l’indicateur STO est issu du calcul standard du STOCH de TradingView.
Le script de calcul de l’indicateur RSI Div est une réplique de celui créé par @Shizaru.
Le script de calcul de l’indicateur KDJ est une réplique de celui créé par @iamaltcoin.
Le script de calcul de l’indicateur Triple EMA est une réplique de celui créé par @jwilcharts
Cet indicateur peut être configuré à votre convenance. Il peut même être utilisé plusieurs fois sur le même graphique (multi-instance), avec des configurations différentes ou affichage d’un autre indicateur parmi les quatre qui le composent, selon vos besoins ou vos goûts.
Un seul tracé, parmi les 4 indicateurs qui le composent, peut être affiché à la fois mais, soit avec sa propre tendance soit avec la tendance des 4 (3 par défaut) indicateurs combinés (couleur de fond vente=vert ou achat=rouge).
Les indications de tendance (zones de vente ou d’achat potentielles) sont affichés sous la forme de couleur de fond (Haussier : vert ou baissier : rouge) lorsque au moins trois des quatre indicateurs (3 par défaut et configurable de 1 à 4) supposent que le marché évolue dans la même direction. Ces indications de tendance peuvent être configuré et affichés, soit uniquement pour le signal de l’indicateur choisi et affiché, soit pour les signaux des quatre indicateurs ensemble et combinés (ET logique).
Vous pouvez accorder les paramètres d’entrée, de style et de visibilité de chacun des indicateurs pour correspondre à vos propres préférences ou habitudes.
Un signal ‘stop achat’ ou ‘stop vente’ est affiché (layouts) sous la forme d’un carré de couleur (vert pour ‘stop achat’ et rouge pour ‘stop vente’. Ces signaux ‘stop’ peuvent être configuré et affichés, soit uniquement pour l’indicateur choisi, soit pour les quatre indicateurs ensemble et combinés (OU logique).
A noter que la présence d’un signal Stop Long annule la couleur de fond de la tendance Long (vert).
De même, la présence d’un signal Stop Short annule la couleur de fond de la tendance Short (rouge).
Il est aussi composé de 3 étiquettes (Labels) :
• Trend Label (infos de tendance)
• Signal Stop Label (signaux « Stop » achat ou vente)
• Infos Label (Noms des indicateurs Long/Short/Stop Long/Stop Short,
et /Open/Close/High/Low )
Chaque label est configurable (visibilité et position sur le graphique).
• Label Trend : indique le nombre d’indicateurs suggérant une même tendance (Long ou Short) ainsi qu’un indice de force (PWR) de cette tendance :
Par exemple : 3 indicateurs en tendance Short, 1 indicateur en tendance Long et 1 indicateur en tendance neutre donnera :
PWR SHORT = 2/4. (3 indicateurs Short – 1 indicateur Long=2 Pwr Short).
Et si PWR=0 alors l’affichage est « Wait and See » (Attendre et Observer).
Il indique aussi quel indicateur actuel est affiché et le mode d’affichage utilisé (combiné 1 à 4 indicateurs ou non combiné ).
• Signal Stop Label : Indique un possible arrêt de la tendance en cours.
• Infos Label (Simple ou complet) donne les infos de tendance de chacun des 4 indicateurs et les infos OHLC du graphique (en mode « Complet »).
Il est possible d’afficher ce même indicateur plusieurs fois sur un graphique (jusqu’à 3 indicateurs max avec le Plan Basic TradingView et plus avec les plans payants), avec des configurations différentes :
Par exemple :
• 1-Stochastique – Signaux Combinés 2/4 – aucun Label affiché
• 1-RSI – Signaux Combinés 3/4 – Label Stop uniquement affiché
• 1-KDJ – Signaux Combinés 4/4 – les 3 Labels affichés
• 1-EMA’3 - Signaux Non combinés (EMA seuls) – Trend Label affiché
Certains indicateurs ont des filtres/seuils (Thresholds) configurables selon votre convenance et votre expérience !
Le choix des couleurs de l’indicateur est adapté pour un graphique avec thème « sombre », qu’il vous faudra probablement modifier pour le confort visuel, si vous utilisez un mode « Clair » ou un mode personnalisé.
Ce script est un indicateur que vous pouvez exécuter sur des types de graphiques standard. Il fonctionne aussi sur des types de graphiques non-standard mais les résultats seront faussés et différents.
Les graphiques Non-standard sont :
• Heikin Ashi (HA)
• Renko
• Kagi
• Point & Figure
• Range
Pour rappel : Aucun indicateur n’est capable de fournir des signaux précis 100% du temps. De temps en temps, même les meilleurs échoueront, vous laissant avec une affaire perdante. Quel que soit l’indicateur sur lequel vous vous basez, n’oubliez pas de suivre les règles de base de gestion des risques et de répartition du capital.
BINANCE:BTCUSDT
Vision Essentials - STOCHVision Essentials - STOCH is the third indicator in our Essentials Pack. It's a fully customizable STOCHASTIC based indicator with various tweaks & perks the Vision team feels provides helpful visual feedback to the trader.
What makes this indicator different?
The most obvious is the visual lack of a %K and %D line. We provide a single line that is the average of those 2 calculations at the given time. We feel this helps traders from hyper focusing on crossovers, and gives attention to the historical metrics of highs/lows, and the key levels of the stochastic.
We provide a histogram style output at the stoch base of 40 for capturing the various swings occurring while above or below the base line.
We output the key levels via the user defined values to draw horizontal boxes automatically for users. This prevents you from having to steadily update your manual chart drawing if you're tracking key levels.
We output recent highs & lows of the averaged stochastic values. These values are length controlled via the indicator settings.
How do I use this indicator?
To best use this indicator it's highly recommended that you have an understanding of the stochastic oscillator. There are lots of great educational ideas here on TradingView which we recommend absorbing. We highly recommend you start with this article directly from the TradingView Help Center
Settings
Stoch Source - The source series the stoch is based on
Stoch Peak - Define the upper key level of the stoch
Stoch Bottom - Define the lower key level of the stoch
Stoch Line Width - Control the thickness of the Stoch Avg Line
High/Low Distance - Define the distance for the indicator to identify recent highs and lows
Stoch K Length - The length used for %K
Stoch K Smoothing - The length used for %K smoothing
Stoch D Smoothing - The length of %D which is an average of %K
Stoch Avg Color - The color & opacity of the Stoch Avg Line
Recent Low Color & Recent High Color - The colors of the recent highs and lows
Stoch Bottom & Stock Peak Colors - The colors of the horizontal boxes drawn at key levels
Visual Settings+ - The histogram colors of above 40.0 bullish/bearish movement
Visual Settings- - The histogram colors of below 4.0. bullish/bearish movement
GEMA-Indicador por Neil-------------------
DESCRIPTION
GEMA-INDICATOR is a indicator based on SMA, EMA, WMA, RMA that considers elements such as ADX, DMI, RSI, stochastic, Stoploss, Takeprofit, angles and values at present point.
HOW DOES IT WORK
The component works as an assistant to which you configure the previous elements and you see the performance that it offers you, in such a way that you pass that configuration to GEMA-INDICATOR so that you can receive alerts and do visual trading with notifications or automated trading by sending messages to platforms like 3Commas.
WHY USE IT
The resource operates with one of the most important strategies in the market, which is the price tracking line, which means that if prices go up, we follow it, if prices go down, we follow it; in this way you do not need to make large investments as is often the case with pure BOTs, which require large reserves for security orders.
HOW TO USE IT
Press the "Indicators" option, go to the "Public Library" segment, write the name "GEMA-Indicador por Neil", double click on the record in question and you will have it added in your work panel, now, it only remains to use it and configure its parameters.
-------------------
DESCRIPCIÓN
GEMA-INDICADOR en un indicador basado en SMA, EMA, WMA, RMA que considera elementos como ADX, DMI, RSI, Estocastico, Stoploss, Takeprofit, ángulos y valores a punto presente.
COMO FUNCIONA
El componente funciona como un asistente al que vas configurando lo elementos anteriores y vas viendo el rendimiento que te ofrece, de manera tal, que pases esa configuración a GEMA-INDICADOR para que puedas recibir alertas y hagas trading visual con notificaciones o trading automatizado enviando mensajes a plataformas como 3Commas.
POR QUÉ USARLO
El recurso opera con una de las estrategias mas importantes del mercado, que es la linea de seguimiento de precio, lo que significa que si los precios suben, lo seguimos, si los precios bajan, lo seguimos; de esta manera no necesita realizar grandes inversiones como suele ocurrir con los BOT puros, que exigen grandes reservas para las ordenes de seguridad.
COMO USARLO
Presione la opción "Indicadores", ubíquese en el segmento "Libreria Publica", escriba el nombre "GEMA-Indicador por Neil", haga doble clic sobre el registro en cuestión y lo tendrá agregado en su panel de trabajo, ahora, solo resta usarlo y configurar sus paramertos.
Dagger V1 indicator & alerterThe "Dagger V1 strategy" strategy is used for the backtest of the "Dagger V1 indicator & alerter" indicator. Their algorithm is identical. Further, all descriptions of the settings are the same for the strategy and the indicator.
Dagger is used for trading on the cryptocurrency spot market, but it can also be used for any other fairly volatile pairs.
Dagger shows the best results on the H1 timeframe, but you can experiment with other timeframes.
The logic of Dagger's work is based on the search for the optimal entry point into the market and the best moment to close a deal. Stochastic oscillator and exponential moving EMA are used for this. Also, the exit from the transaction can be optimized using several parameters.
The strategy can use trailing up to one or more red bars in order not to miss the sharp growth of the currency.
Multi-Length Stochastic Average [LuxAlgo]This indicator returns the average of stochastic oscillators with periods ranging from 4 to length . This allows for a slightly more reactive oscillator as well as having information regarding the position of the price relative to rolling maximums/minimums of different periods.
We introduce settings that allow for pre and post-smoothing, with selectable smoothing methods and periods for both steps.
Settings
Length: Period of the indicator, determine the maximum period of the stochastic oscillator used in the average
Source: Source input of the indicator
Pre-Smoothing (1st Input): Degree of smoothing applied to the source input
Pre-Smoothing (2nd Input): Pre-Smoothing Method
Post-Smoothing (1st Input): Degree of smoothing applied to the final oscillator output
Post-Smoothing (2nd Input): Post-Smoothing Method
Smoothing methods include a simple moving average, a triangular moving average, and a least-squares moving average (this method can induce overshoots during the post-smoothing step). The user can also select "None".
Usages
The "multi-length" aspect of technical indicators is something that hasn't been deeply explored yet such indicators can give us information regarding both short-term and long-term information which was the motivation for the creation of the indicator.
The Multi-length Stochastic Average allows us to quantify the price position relative to a multitude of highest/lowest levels.
In the example above the oscillator returns the average of stochastic oscillators with periods ranging from 4 to 20, as well as multiple rolling minimums with periods ranging from 4 to 20. We can see that when the price is equal to all rolling minimums the oscillator is equal to 0, the oscillator would return 100 if the price were equal to all rolling maximums with periods in that same range.
The oscillator can be interpreted like any scaled oscillator and can be used to estimate trend direction as well as trend strength.
Here we only make of use pre-smoothing by using a period 20 simple moving average. The indicator graphical elements such as colors/circles can help us determine potential directions trends might take.
Circles are displayed when the oscillator crosses over/under the 20/80 level. Such conditions offer better timing than waiting for the oscillator to be greater/lower than 50 and are less subjective to noise than simply looking at the direction taken by the oscillator. However, it can suffer from potential retracements in a trend more easily, this is illustrated in the chart above.
CashTrap Oscilator |HFX|CashTrap oscillator, this oscillator occupies the RSI oscillator and the Stochastic.
When the oscillator turns green, look for purchases.
When the oscillator turns red, look for sales.
For best results, use in conjunction with the CashTrap indicator.
Ultimate Triple Supertrend Strategy [PrismBot] [Lite]Initial Release on Prism Core 1.7.r493
Included in this Ultimate Supertrend Lite Strategy:
✔️ Tweak a multitude of specific settings (MA lengths, R:R, SL distance etc)
✔️ Enable advanced setup filters
✔️ Use money management and risk calculations
✔️ Draw trade info directly to chart (eg. SL size in percent, win rate etc)
✔️ Use various filters (eg. time filter, date filter, MA slope angle etc)
✔️ Manage risk per position when auto-trading forex through AutoView
✔️ Choose from various alert conditions!
✔️ Sync to any bot or algorithmic trading system
Some details about this strategy:
This strategy is a triple Supertrend strategy that includes multi-timeframe analysis built-in to the supertrend function. You also have a multitude of strategies to choose from, such as the newest addition to Prism Core - Stochastic. Our stochastic strategies includes Standard / Strict Standard which buys when overbought and sells when oversold, and a couple of %K cross strategies as well.
There are also many other filters such as RSI, ADX, and more, as well as built-in DCA (dollar cost averaging), position sizing, take profit and stoplosses, and so much more.
MACD-Extendido-Indicador por NeilMACD-Extendida-Estrategia
--------------------------------
DESCRIPTION
Resource that identifies entry and exit operations using the indicator
Average Convergence and Divergence Movements (MACD) and 5 strategies
INTERESTING
Novel strategies are implemented such as:
1. Overbought and oversold band to avoid horizontal movements
2. Control inputs and outputs at positions opposite the histogram line
3. Make a profit (take profit) without prior purchase orders
HOW DOES IT WORK (STRATEGIES)
1) Overbought and oversold:
Allows you to define an overbought upper band
Allows you to define an oversold ower band
Operations that occur within the band are ignored
2) Place of next operation (either side):
Indicates that the next operation can occur on either side of the histogram
3) Place of next operation (opposite side):
Indicates that the next operation must occur on the opposite side of the histogram
4) Take profit:
It allows defining the deviation in favor to execute a take profit.
It does not place a buy order at a distant point, instead it looks back and if the shift meets the expected deviation, take profit is executed
5) Loss control (stop loss):
It allows to define the deviation against to execute a stop loss.
It does not place a stop order at a distant point, instead it looks back and if the displacement meets the expected deviation the stop loss is executed
How to use it:
Press the "Indicators" option, go to the "Public Librarian" segment, write the name "MACD-Extendido-Indicador Neil", double-click on the record in question and you will have it added in your work panel, now, just It remains to be used to identify the inputs and outputs and you can do it visually or by defining the automatic notification alerts.
DESCRIPCION
Recurso que identifica operaciones de entradas y salida haciendo uso del indicador
Media Móvil de Convergencia/Divergencia (MACD) y 5 estrategias
NOVEDADES
Se implementan estrategias novedosas como:
1. Banda de sobrecompra y sobreventa para esquivar movimientos horizontales
2. Control de entradas y salidas en posiciones contrarias a la línea del histograma
3. Toma de ganancias (take profit) sin ordenes de compra previa
COMO FUNCIONA (ESTRATEGIAS)
1) Sobrecompra y Sobreventa:
Permite definir una banda superior de sobrecompra
Permite definir una banda inferior de sobreventa
Operaciones que ocurren dentro de la banda son ignoradas
2) Lugar de próxima operación (cualquier lado):
Indica que la próxima operación puede ocurrir en cualquier lado del histograma
3) Lugar de próxima operación (lado opuesto):
Indica que la próxima operación debe ocurrir en el lado opuesto del histograma
4) Toma de ganancias (take profit):
Permite definir la desviación a favor para ejecutar una toma de ganancia.
No coloca una orden de compra en un punto distante, en su lugar mira hacia atrás y si el desplazamiento cumple con la desviación esperada se ejecuta la toma de ganancia
5) Control de pérdida (stop loss):
Permite definir la desviación en contra para ejecutar una parada de pérdida.
No coloca una orden de parada en un punto distante, en su lugar mira hacia atrás y si el desplazamiento cumple con la desviación esperada se ejecuta la parada de la pérdida
Como usarlo:
Presione la opción "Indicadores", ubíquese en el segmento "Libreria Publica", escriba el nombre "MACD-Extendido-Indicador por Neil", haga doble clic sobre el registro en cuestión y lo tendrá agregado en su panel de trabajo, ahora, solo resta usarlo para identificar las entradas y salidas y puede hacerlo de forma visual o definiendo las alertas de notificación automática.
MACD-Extendido-Estrategia por Neil--------------------------------
MACD-Extendida-Estrategia
--------------------------------
DESCRIPTION
Resource that identifies entry and exit operations using the indicator
Average Convergence and Divergence Movements ( MACD ) and 5 strategies
INTERESTING
Novel strategies are implemented such as:
1. Overbought and oversold band to avoid horizontal movements
2. Control inputs and outputs at positions opposite the histogram line
3. Make a profit (take profit) without prior purchase orders
HOW DOES IT WORK (STRATEGIES)
1) Overbought and oversold:
Allows you to define an overbought upper band
Allows you to define an oversold ower band
Operations that occur within the band are ignored
2) Place of next operation (either side):
Indicates that the next operation can occur on either side of the histogram
3) Place of next operation (opposite side):
Indicates that the next operation must occur on the opposite side of the histogram
4) Take profit:
It allows defining the deviation in favor to execute a take profit.
It does not place a buy order at a distant point, instead it looks back and if the shift meets the expected deviation, take profit is executed
5) Loss control (stop loss):
It allows to define the deviation against to execute a stop loss.
It does not place a stop order at a distant point, instead it looks back and if the displacement meets the expected deviation the stop loss is executed
How to use it:
Press the "Indicators" option, go to the "Public Librarian" segment, write the name "MACD-Extended-Strategy by Neil", double-click on the record in question and you will have it added in your work panel, now, just It remains to be used to identify the inputs and outputs and you can do it visually or by defining the automatic notification alerts.
--------------------------------
MACD-Extendida-Estrategia
--------------------------------
DESCRIPCION
Recurso que identifica operaciones de entradas y salida haciendo uso del indicador
Media móvil de Convergencia/Divergencia ( MACD ) y 5 estrategias
NOVEDADES
Se implementan estrategias novedosas como:
1. Banda de sobrecompra y sobreventa para esquivar movimientos horizontales
2. Control de entradas y salidas en posiciones contrarias a la línea del histograma
3. Toma de ganancias (take profit) sin ordenes de compra previa
COMO FUNCIONA (ESTRATEGIAS)
1) Sobrecompra y Sobreventa:
Permite definir una banda superior de sobrecompra
Permite definir una banda inferior de sobreventa
Operaciones que ocurren dentro de la banda son ignoradas
2) Lugar de próxima operación (cualquier lado):
Indica que la próxima operación puede ocurrir en cualquier lado del histograma
3) Lugar de próxima operación (lado opuesto):
Indica que la próxima operación debe ocurrir en el lado opuesto del histograma
4) Toma de ganancias (take profit):
Permite definir la desviación a favor para ejecutar una toma de ganancia.
No coloca una orden de compra en un punto distante, en su lugar mira hacia atrás y si el desplazamiento cumple con la desviación esperada se ejecuta la toma de ganancia
5) Control de pérdida (stop loss):
Permite definir la desviación en contra para ejecutar una parada de pérdida.
No coloca una orden de parada en un punto distante, en su lugar mira hacia atrás y si el desplazamiento cumple con la desviación esperada se ejecuta la parada de la pérdida
Como usarlo:
Presione la opción "Indicadores", ubíquese en el segmento "Libreria Publica", escriba el nombre "MACD-Extendido-Estrategia por Neil", haga doble clic sobre el registro en cuestión y lo tendrá agregado en su panel de trabajo, ahora, solo resta usarlo para identificar las entradas y salidas y puede hacerlo de forma visual o definiendo las alertas de notificación automática.
Ehlers Adaptive Stochastic Indicator V1 [CC]The Adaptive Stochastic Indicator V1 was created by John Ehlers (Rocket Science For Traders pgs 233-234) and this indicator uses the same calculations to find a cycle period that is then used for both the creation of the stochastic indicator but also for the smoothing to create a double smoothed stochastic indicator. Because it is calculated this way, this indicator is more reactive than almost any other stochastic indicator and provides clear buy and sell signals especially when the underlying stock is trending. It is interpreted in the same way as a normal stochastic indicator so great buy signals are when the indicator is below the oversold line and starts to move up and vice versa. Buy when the line turns green and sell when it turns red.
Let me know if there are any other indicators you would like to see me publish!
MESA Stochastic Multi LengthJohn Ehler's MESA Stochastic uses super smoothing to give solid signals. This indicator uses the same rules as every other Stochastic indicator so it would be worth looking into if you are not already familiar with reading a Stochastic. There are 4 different lengths displayed to give traders an edge on reading the market. This is a great tool to analyze waves and find tops and bottoms. It gives great pump and dump signals and even helps filter out bad trades when used with other indicators such as Boom Hunter.
Below are some examples of signals to look out for:
oo
Natural Stochastic Indicator [CC]The Natural Stochastic Indicator was created by Jim Sloman and this is another indicator from his Ocean series which I will eventually publish all of them. Big thanks to @altcoinz and @tmac87 for giving me all of the source code in order to publish Jim's life work. This is another momentum indicator but unlike a traditional stochastic indicator, this one doesn't use overbought and oversold levels. Instead it becomes a sell signal when the indicator starts getting lower and vice versa. This takes the classic approach to a stochastic and combines it with the time factor from Jim's Ocean Theory to create this new indicator. I have included strong buy and sell signals as darker colors and normal buy and sell signals as lighter colors. Buy when the line turns green and sell when it turns red.
Let me know if there are any other indicators you would like to see me publish!
Multi-TimeFrame SignalsI trade binary options on reversals. I use this as a confluence to prove that my analysis is correct. I use this on smaller time frames given the type of trading I do.
I do not use this as an entry trigger, so you should not blindly enter trades based on this solely . You were warned
This indicator (on default settings) will let you know when the 1 minute, 3 minute, and 5 minute timeframes RSI & Stochastics are all in an overbought or oversold state. It shows this by changing the background color on your chart to red (overbought) or green (oversold).
All of these settings are changeable. #winning
I left this as open-source as I figured out how to code this by using other open-source scripts as reference. I am a programmer that uses other languages.
I only published this script as a request from a close friend.
Stochastic w/ Crossover Alerts (by WJ)NOTE:
// STOCHASTIC CODE TAKEN FROM DEFAULT INDICATOR
// I HAVE ONLY MADE SOME ADJUSTMENTS FOR VISUAL AID
// I MADE THIS FOR MY OWN USE BUT HAVE DECIDED TO PUBLISH AND SHARE IN CASE ANYBODY WANTS TO USE IT
This is the normal default built-in Stochastic indicator which I have added some stuff for visual aid:
Stochastic background turns green when K line crosses D line UPWARDS, D line is below the oversold level, and price is above selected MA
Stochastic background turns red when K line crosses D line DOWNWARDS, D line is above the overbought level, and price is below selected MA
Alert notification on the crossover candle with background colour change when conditions are met (MA filter)
Kifier's MFI/STOCH Hidden Divergence/Trend BeaterMFI/STOCH Hidden Divergence/Trend Beater
General Idea:
My premise around this strategy was to make a general strategy for crypto that would help out with finding entry positions for when you’re bullish on a crypto and want to hold on for a while, and at the same time avoiding massive drops. Essentially a way to mix long term/ swing trading; I somewhat achieved my goal however it still requires a lot of logic tuning of the trend averages.
I’m a huge proponent of volume indicators and coupled with average closing price, I think this gives a really good idea of what is happening with the market. It gives an idea on the market and retail investor sentiment. This generally gives you logical entry positions (Although I don’t know how amazing that will work with all cryptos, there’s a fine line between a good strategy and one that just rides bubble market conditions, some would argue that’s still a success and others not)
How it works:
There are many components to the strategy that try to do different things:
First of all there are two types of entries, a MFI hidden divergence with a STOCH check, essentially it will only fire when a divergence is detected while STOCH is above 50%, however this might be changed in the future as due to the volatile nature of cryptos, the STOCH is not too effective. The second entry is a simple MFI/STOCH trend, if STOCH is above 50% and the trend is detected to be in a trending long, once a MFI crossover over the 50% line is detected an entry is placed, this is designed to get out profit where the divergence would otherwise be less accurate during strongly trending conditions.
-MFI is a great indicator, as a volume weighted momentum indicator I find it the most accurate of all, the STOCH however is a great indicator to get a general picture of simple market conditions and can filter out the emotional noise of retail investors.
-VWMA and an SMA (The bottom oscillator) gives an idea of the trend tacking into account of the volume, this serves as a more short term filter of the trend for filters.
-OBV checks are done between the OBV and an EMA of the OBV, to get the idea of a volume weighted long trend, which is important for crypto as there are massive rallies to go up due to retail greed, it’s great to jump onto it at the beginning, and get off before the stack of cards fall apart.
-ATR is used to detect when the market is relatively just ranging or moving sideways, which is where the hidden divergence entries are done, during predictable and profitable market conditions.
- Stop loss is based on the closest support of the entry, this is a nice medium of room to breath but also an actual stop loss.
Future plans and improvements:
Currently there’s a lot I want to improve, mostly the divergence detection and the overall sharpe ratio could be much better, but the current value of 0.5 gives me hope that the strategy is onto something. I also want to change TP from a percentage stop to something more dynamic but that might be too optimistic. The current plan is to paper trade test this either by manual or by a python bot, to see how it performs with some user input as well.
Alert(), alertcondition() or strategy alerts?Variety of possibilities offered by PineScript, especially thanks to recent additions, created some confusion. Especially one question repeats quite often - which method to use to trigger alerts?
I'm posting this to clarify and give some syntax examples. I'll discuss these 3 methods in chronological order, meaning - in the order they were introduced to PineScript.
ALERTCONDITION() - it is a function call, which can be used only in study-type script. Since years ago, you could create 2 types of a script: strategy and study. First one enables creating a backtest of a strategy. Second was to develop scripts which didn't require backtesting and could trigger alerts. alertcondition() calls in strategy-type scripts were rejected by Pine compiler. On the other hand compiling study-type scripts rejected all strategy...() calls. That created difficulties, because once you had a nice and backtested strategy, you had to rip it off from all strategy...() function calls to convert your script to study-type so you could produce alerts. Maintenance of two versions of each script was necessary and it was painful.
"STRATEGY ALERTS" were introduced because of alertcondition() pains. To create strategy alert, you need to click "Add alert" button inside Strategy Tester (backtester) and only there. Alerts set-up this way are bound with the backtester - whenever backtester triggers an order, which is visible on the chart, alert is also fired. And you can customize alert message using some placeholders like {{strategy.order.contracts}} or {{ticker}}.
ALERT() was added last. This is an alerts-triggering function call, which can be run from strategy-type script. Finally it is doable! You can connect it to any event coded in PineScript and generate any alert message you want, thanks to concatenation of strings and wrapping variables into tostring() function.
Out of these three alertcondition() is obviously archaic and probably will be discontinued. There is a chance this makes strategy/study distinction not making sense anymore, so I wouldn't be surprised if "studies" are deprecated at some point.
But what are the differences between "Strategy alerts" and alert()? "Strategy alerts" seem easier to set-up with just a few clicks and probably easier to understand and verify, because they go in sync with the backtester and on-chart trade markers. It is especially important to understand how they work if you're building strategy based on pending orders (stop and limit) - events in your code might trigger placing pending order, but alert will be triggered only (and when) such order is executed.
But "Strategy Alerts" have some limitations - not every variable you'd like to include in alert message is available from PineScript. And maybe you don't need the alert fired when the trade hit a stop-loss or take-profit, because you have already forwarded info about closing conditions in entry alert to your broker/exchange.
Alert() was added to PineScript to fill all these gaps. Is allows concatenating any alert message you want, with any variable you want inside it and you can attach alert() function at any event in your PineScript code. For example - when placing orders, crossing variables, exiting trades, but not explicitly at pending orders execution.
The Verdict
"Strategy Alerts" might seem a better fit - easier to set-up and verify, flexible and they fire only when a trade really happens, not producing unnecessary mess when each pending order is placed. But these advantages are illusionary, because they don't give you the full-control which is needed when trading with real money. Especially when using pending orders. If an alert is fired when price actually hit a stop-order or limit-order level, and even if you are executing such alert within 1 second thanks to a tool like TradingConnector, you might already be late and you are making entry at a market price. Slippage will play a great role here. You need to send ordering alert when logical conditions are met - then it will be executed at the price you want. Even if you need to cancel all the pending orders which were not executed. Because of that I strongly recommend sticking to ALERT() when building your alerts system.
Below is an example strategy, showing syntax to manage placing the orders and cancelling them. Yes, this is another spin-off from my TradingView Alerts to MT4 MT5 . As usual, please don't pay attention to backtest results, as this is educational script only.
P.S. For the last time - farewell alertcondition(). You served us well.
2nd Grade StrategyThis is a strategy to complement the 2GT indicator. It utilises the same rules as 2GT.
This is comprises of multiple popularly used indicators to help decide on whether to go long or short. This indicator will overlay the MA lines and background colours on your chart.
The heikin-ashi colour will be shown as the background colour. This will help you identify a trend more easily while using bars, candles, hollow candles, etc. When the background is green, it means that it is a green HA and vice versa.
The blue MA line is for showing the short-term trend. The red MA line is for showing the medium-term trend. You can select the moving average flavour of your choice in the settings.
The yellow MA line is the long-term trend that is mainly used as a filter to indicate bullish/bearish trend. The MA type for this filter can be different from the short/mid term MA.
This indicator will also show Stochastic crossovers (GC, DC, BC) on the chart. This will help to always keep your eye on the chart candles.
In the settings, you can also turn on/off bullish/bearish signals.
Rules for bullish signals on this indicator:-
1. MA: Blue > Red > Yellow (FastMA > SlowMA > FilterMA)
2. Stochastic: K > D and both are heading upwards
3. 2nd Green HA
When 2 out of the 3 rules are met, the candle background will be Aqua in colour. When all 3 rules are met, the candle background will be Green .
Rules for bearish signals on this indicator:-
1. MA: Yellow > Red > Blue (FilterMA > SlowMA > FastMA)
2. Stochastic: D > K and both are heading downwards
3. 2nd Red HA
When 2 out of the 3 rules are met, the candle background will be Orange in colour. When all 3 rules are met, the candle background will be Red .
Do note that you can hide any of these elements in via the settings.
If you find this useful, do smash the LIKE and FOLLOW button.
WSLM
2nd Grade TechniqueThis is comprises of multiple popularly used indicators to help decide on whether to go long or short. This indicator will overlay the MA lines and background colours on your chart.
The heikin-ashi colour will be shown as the background colour. This will help you identify a trend more easily while using bars, candles, hollow candles, etc. When the background is green, it means that it is a green HA and vice versa.
The blue MA line is for showing the short-term trend. The red MA line is for showing the medium-term trend. You can select the moving average flavour of your choice in the settings.
The yellow MA line is the long-term trend that is mainly used as a filter to indicate bullish/bearish trend. The MA type for this filter can be different from the short/mid term MA.
This indicator will also show Stochastic crossovers (GC, DC, BC) on the chart. This will help to always keep your eye on the chart candles.
In the settings, you can also turn on/off bullish/bearish signals.
Rules for bullish signals on this indicator:-
1. MA: Blue > Red > Yellow (FastMA > SlowMA > FilterMA)
2. Stochastic: K > D and both are heading upwards
3. 2nd Green HA
When 2 out of the 3 rules are met, the candle background will be Aqua in colour. When all 3 rules are met, the candle background will be Green .
Rules for bearish signals on this indicator:-
1. MA: Yellow > Red > Blue (FilterMA > SlowMA > FastMA)
2. Stochastic: D > K and both are heading downwards
3. 2nd Red HA
When 2 out of the 3 rules are met, the candle background will be Orange in colour. When all 3 rules are met, the candle background will be Red .
Do note that you can show/hide any of these elements via the settings.
If you find this useful, do smash the LIKE and FOLLOW button.
WSLM
Moving Stop-Loss mechanism + alerts to MT4/MT5"How to code moving stop-loss mechanism", is one of the most often repeating questions in private messages I receive, so just to focus on this mechanism, I made a spin-off from my previous script: TradingView-Alerts-to-MT4-MT5-dynamic-variables-NON-REPAINTING .
The logic here moves the stop-loss each time a trade is running and a new pivot high/low is detected. When such event occurs (UpdateLongStopLoss or UpdateShortStopLoss), stoploss_long or stoploss_short mutable variable is modified. And it needs to be coded inside strategy.exit() line as "stop=stoploss_long" or "stop=stoploss_short". Entries are pretty straightforward - on Stoch crosses.
Last lines of the script show how to wrap information about such updates and send send alerts to MetaTrader via TradingConnector for execution in Forex/indices/commodities/crypto markets via MetaTrader. Please note that "tradeid=" variable must be passed with each alert, to let MetaTrader know which trade to modify. SLMOD, TPMOD are recently added commands, along with BE (as in "move stop-loss to breakeven" - but that's another topic).
Please disregard strategy backtest results, as this script is for coding education purposes only. However, it seems with the stop-loss mechanism enabled, the results are even better, than in original version of the script :)