Dynamic Buy/Sell VisualizationDynamic Trend Visualization Indicator
Description:
This simple and easy to use indicator has helped me stay in trades longer.
This indicator is designed to visually represent potential buy and sell signals based on the crossover of two Simple Moving Averages (SMA). It's crafted to assist traders in identifying trend directions in a straightforward manner, making it an excellent tool for both beginners and experienced traders.
Features:
Customizable Moving Averages: Users can adjust the period length for both short-term (default: 10) and long-term (default: 50) SMAs to suit their trading strategy.
Visual Signals: Dynamic lines appear at the points of SMA crossover, with labels to indicate 'BUY' or 'SELL' opportunities.
Color and Style Customization: Customize the appearance of the buy and sell lines for better chart readability.
Alert Functionality: Alerts are set up to notify users when a crossover indicating a buy or sell condition occurs.
How It Works:
A 'BUY' signal is generated when the short-term SMA crosses above the long-term SMA, suggesting an upward trend.
A 'SELL' signal is indicated when the short-term SMA crosses below the long-term SMA, pointing to a potential downward trend.
Use Cases:
Trend Following: Ideal for markets with clear trends. For example, if trading EUR/USD on a daily chart, setting the short SMA to 10 days and the long SMA to 50 days might help in capturing longer-term trends.
Scalping: In a volatile market, setting shorter periods (e.g., 5 for short SMA and 20 for long SMA) might catch quicker trend changes, suitable for scalping.
Examples of how to use
* Short-term for Quick Trades:
SMA 5 and SMA 21:
Purpose: This combination is tailored for day traders or those looking to engage in scalping. The 5 SMA will react rapidly to price changes, providing early signals for buy or sell opportunities. The 21 SMA, being a Fibonacci number, offers a slightly longer-term view to confirm the short-term trend, helping to filter out minor fluctuations that might lead to false signals.
* Middle-term for Swing Trading:
SMA 10 and SMA 50:
Purpose: Suited for swing traders who aim to capitalize on medium-term trends. The 10 SMA picks up on immediate market movements, while the 50 SMA gives insight into the medium-term direction. This setup helps in identifying when a short-term trend aligns with a longer-term trend, providing a good balance for trades that might last several days to a couple of weeks.
* Long-term Trading:
SMA 50 and SMA 200:
Purpose: Investors focusing on long-term trends would benefit from this pair. The crossover of the 50 SMA over the 200 SMA can indicate the beginning or end of major market trends, ideal for making decisions about long-term holdings that might span months or years.
Example Strategy if not using the Buy / Sell Label Alerts:
Entry Signal: Enter a long position when the shorter SMA crosses above the longer SMA. For example:
SMA 10 crosses above SMA 50 for a medium-term bullish signal.
Exit Signal: Consider exiting or initiating a short position when:
SMA 10 crosses below SMA 50, suggesting a bearish turn in the medium-term trend.
Confirmation: Use these crossovers in conjunction with other indicators like volume or momentum indicators for better confirmation. For instance, if you're using the 5/21 combination, look for volume spikes on crossovers to confirm the move's strength.
When Not to Use:
Sideways or Range-Bound Markets: The indicator might generate many false signals in a non-trending market, leading to potential losses.
High Volatility Without Clear Trends: Rapid price movements without a consistent direction can result in misleading crossovers.
As a Standalone Tool: It should not be used in isolation. Combining with other indicators like RSI or MACD for confirmation can enhance trading decisions.
Practical Example:
Buy Signal: If you're watching Apple Inc. (AAPL) on a weekly chart, a crossover where the 10-week SMA moves above the 50-week SMA could suggest a buying opportunity, especially if confirmed by volume increase or other technical indicators.
Sell Signal: Conversely, if the 10-week SMA dips below the 50-week SMA, it might be time to consider selling, particularly if other bearish signals are present.
Conclusion:
The "Dynamic Trend Visualization" indicator provides a visual aid for trend-following strategies, offering customization and alert features to streamline the trading process. However, it's crucial to use this in conjunction with other analysis methods to mitigate the risks of false signals or market anomalies.
Legal Disclaimer:
This indicator is for educational purposes only. It does not guarantee profits or provide investment advice. Trading involves risk; please conduct thorough or consult with a financial advisor. The creator is not responsible for any losses incurred. By using this indicator, you agree to these terms.
Alertsignals
Outlier changes alertAn indicator that calculates click (price change), percentage change, and Z-score changes while displaying outliers based on defined ranges.
Outlier Detection:
Mark outliers (for price, percentage, Z-score) based on user-defined thresholds. For example, any price movement exceeding a certain Z-score or percentage change could be marked as an outlier and displayed on chart.
Indicator Overview:
1. Click (Price Change):
Calculate the absolute price change from one period to another (e.g., from the current closing price to the previous closing price).
2. Percentage Change:
Calculate the percentage price change over a specific period, showing how much the price has changed in relative terms compared to the previous price.
3. Z-Score:
Compute the Z-score to standardize the price change relative to its historical average and standard deviation. The Z-score helps in detecting whether a price movement is an outlier or falls within a normal range of volatility.
STIC bullish and bearish hunter with FVGSmart Trading and Investment Companion (STIC) is a sophisticated tool designed to identify and visualize inducement, market structure, market trends, track liquidity, and project and forecast price action for all applicable assets. it has been tested to work on all timeframes and has been traded on stock, forex, and crypto assets.
This script is an upgraded version of previous STIC indicator, which you can use in addition to it or separately as you deem fit
Traders/ investor that are familiar with market structure, inducement, candlestick psychology, trend-following indicatorsand Fair Value Gap FVG will find it easy to adopt this trading and investment companion. As stated below, this is how it works.
Features and how to use
1st of all, after adding the indicator to yoursuperchart, you want to endusre to set your to so as to enable you see the text labeling clearly. to do that, after adding the indicator to your chart, right click it on the list, you will se the Visual order option.
Special Extreme Alert!
By analyzing the trends and dimensions, we are able to predict market extremes conditions, especially in pump and dump scenarios. (the bullish or bearish P/D extreme alerts).
Market flip arrow
The arrows trigger to indicate when the market flips to bullish (green) or bearish (red) conditions. note that this arrow is just a market flip confirmation and it it triggered by market trends, it does not come one time and sometimes later after market trigger conditions had been met.
circled in white.
Buy or sell potential {The tiny yelow(sell) and blue(buy) triangle}
By analyzing market extreme conditions, market sentiment, and liquidity, the buy/sell potential alert trigger is able to determine the state of the market, This can and should be used in combination with the market flip line (MFL) [the yellow line from , market flip trigger (MFT) (purple line), and market support/resistance line (MSR)(blue line) .
Market flip Line (Blue line) (MFL): the MFL is useful to also understand the market phase; a candle close above the MFL is bullish, while a candle close Below, the MFL is bearish. You are, however, expected to experience market retests and rejections coupled with support and resistance to follow through with the predicted direction. Patience is a valuable virtue in trading.
Extended sell or buy hunt (Red and Green Triangle)
this is real-time triangles indicator just like every other indicator on theis chart that indicates the market direction labeled with buy and sell. Note that the market-extended extreme can occur multiple times in the same direction. Hence, we'll advise having multiple trade entries.
The flip support line
Market Flip Trigger Line (MFTL) (Magenta): When the market crosses and closes below or above the Market Flip Trigger Line, you should wait for a confirmation. a confirmation is usually a retest or rejection of the line. A candle close and reject indicates the market as flip direction and it is going for a correction or major reversal. it is applicable on all timeframe.
As mentioned earlier, if you understand market structure and sentiment, using the uFVG, iFVG, upLQTY, downLQTY and BOS will be easy. however, this is how it works, you may need tohave and expanded readbout market structure for additional knowledge.
upLQTY (Bullish liquidity inducement)
The indicator appear at the close and confirmation on the 3rd candle and it is extended to only appear on 200 bars applicable on all timeframes.
This is a bullish sentiment and liquidty inducement order block that occurs, leading to the break of trend structure and change of character. Meaning the market sentiment as change which is backed up by liquidity in that region, which mostly gets filled, especially on lower timeframes before the price action continues. If price revese breaks and hold above this region, it invalidates the order block. This will always appear when there is a confirmed change of character CHoCH to the bullish side.
downLQTY (Bearish liquidity inducement) The indicator appear at the close and confirmation on the 3rd candle and it is extended to only appear on 200 bars applicable on all timeframes. It is and inverse of the upLQTY.
like order block, these are supply and demand zones that has the potential to change the direction of a trade. This is a bearish order block that occurs, leading to the break of structure and change of character. Meaning there is bearish liquidity yet to be accounted for in the region, which mostly gets filled, especially on lower timeframes before the price action continues. If broken, it invalidates the order block. This will always appear when there is a confirmed change of character from CHoCH to the bearish side.
Fair Value Gap
From general knowledge, FVG also know as Fair value gaps are inbalnace created by a 3 candlestick pattern where the top of the bottom candles doesn't cross the bottom of the top candle. like order block, these are supply and demand zones that has the potential to change the direction of a trade. This mostly indicate the presense of big plays in the market. for STIC indicator, FVG are labeled as listed below;
UFVG, also FVGup, {Colour green box} = bullish imbalance fair value gap
IFVG, aka FVGdown, {Red box} = bearish imbalance fair value gap
OIFVG, {Yellow box, no label} = other imbalances fair value gab
You should not that FG has upper, lower and middle band, any of the this area can be induced and filled by price.
Alert Conditions!
Buy alert conditions
- Any bullish buy alert
- Bullish hunt
- Re-entry Buy
- Sharp Market Sell rejection
- Buy potential
- upLQTY
Long position Exit conditions
- ExtremeB
- Profit
- Sell hunt
The Entry, exit and trail profit alert trigger should be used as position exit conditions either for a Long (Buy) or Short (Sell) situation and should be set as OPB (Once Per Bar). Using it as entry for exit or vice versa as shown not to be very profitable. hence the need to combine with other order entry alerts like the Any bullish or Bearish alerts
Sell alert conditions ( NOTE: All Sell alert are not yet included in this current version as this is targeted towards bullrun.)
- Sell potential
- Sell triangle (Sell hunt)
- downLQTY
and any trail profit alert, this alert put into consideration all the conditions required to trail profit.
Risk management advice
Patience and a good risk management strategy are required to be profitable trader using this tool. You need to ensure not to overleverage, and you should have multiple entries in case the buy coditions/alert shows again below the previous buy alert before a sell condition/alert occurs.
Alligator + Fractals + Divergent & Squat Bars + Signal AlertsThe indicator includes Williams Alligator, Williams Fractals, Divergent Bars, Market Facilitation Index, Highest and Lowest Bars, maximum and minimum peak of Awesome Oscillator, and signal alerts based on Bill Williams' Profitunity strategy.
MFI and Awesome Oscillator
According to the Market Facilitation Index Oscillator, the Squat bar is colored blue, all other bars are colored according to the Awesome Oscillator color, except for the Fake bars, colored with a lighter AO color. In the indicator settings, you can enable the display of "Green" bars (in the "Green Bars > Show" field). In the indicator style settings, you can disable changing the color of bars in accordance with the AO color (in the "AO bars" field), including changing the color for Fake bars (in the "Fake AO bars" field).
MFI is calculated using the formula: (high - low) / volume.
A Squat bar means that, compared to the previous bar, its MFI has decreased and at the same time its volume has increased, i.e. MFI < previous bar and volume > previous bar. A sign of a possible price reversal, so this is a particularly important signal.
A Fake bar is the opposite of a Squat bar and means that, compared to the previous bar, its MFI has increased and at the same time its volume has decreased, i.e. MFI > previous bar and volume < previous bar.
A "Green" bar means that, compared to the previous bar, its MFI has increased and at the same time its volume has increased, i.e. MFI > previous bar and volume > previous bar. A sign of trend continuation. But a more significant trend confirmation or warning of a possible reversal is the Awesome Oscillator, which measures market momentum by calculating the difference between the 5 Period and 34 Period Simple Moving Averages (SMA 5 - SMA 34) based on the midpoints of the bars (hl2). Therefore, by default, the "Green" bars and their opposite "Fade" bars are colored according to the color of the Awesome Oscillator.
According to Bill Williams' Profitunity strategy, using the Awesome Oscillator, the third Elliott wave is determined by the maximum peak of AO in the range from 100 to 140 bars. The presence of divergence between the maximum AO peak and the subsequent lower AO peak in this interval also warns of a possible correction, especially if the AO crosses the zero line between these AO peaks. Therefore, the chart additionally displays the prices of the highest and lowest bars, as well as the maximum or minimum peak of AO in the interval of 140 bars from the last bar. In the indicator settings, you can hide labels, lines, change the number of bars and any parameters for the AO indicator - method (SMA, Smoothed SMA, EMA and others), length, source (open, high, low, close, hl2 and others).
Bullish Divergent bar
🟢 A buy signal (Long) is a Bullish Divergent bar with a green circle displayed above it if such a bar simultaneously meets all of the following conditions:
The high of the bar is below all lines of the Alligator indicator.
The closing price of the bar is above its middle, i.e. close > (high + low) / 2.
The low of the bar is below the low of 2 previous bars or below the low of one previous bar, and the low of the second previous bar is a lower fractal (▼). By default, Divergent bars are not displayed, the low of which is lower than the low of only one previous bar and the low of the 2nd previous bar is not a lower fractal (▼), but you can enable the display of any Divergent bars in the indicator settings (by setting the value "no" in the " field Divergent Bars > Filtration").
The following conditions strengthen the Bullish Divergent bar signal:
The opening price of the bar, as well as the closing price, is higher than its middle, i.e. Open > (high + low) / 2.
The high of the bar is below all lines of the open Alligator indicator, i.e. the green line (Lips) is below the red line (Teeth) and the red line is below the blue line (Jaw). In this case, the color of the circle above the Bullish Divergent bar is dark green.
Squat Divergent bar.
The bar following the Bullish Divergent bar corresponds to the green color of the Awesome Oscillator.
Divergence on Awesome Oscillator.
Formation of the lower fractal (▼), in which the low of the Divergent bar is the peak of the fractal.
Bearish Divergent bar
🔴 A signal to sell (Short) is a Bearish Divergent bar under which a red circle is displayed if such a bar simultaneously meets all the following conditions:
The low of the bar is above all lines of the Alligator indicator.
The closing price of the bar is below its middle, i.e. close < (high + low) / 2.
The high of the bar is higher than the high of 2 previous bars or higher than the high of one previous bar, and the high of the second previous bar is an upper fractal (▲). By default, Divergent bars are not displayed, the high of which is higher than the high of only one previous bar and the high of the 2nd previous bar is not an upper fractal (▲), but you can enable the display of any Divergent bars in the indicator settings (by setting the value "no" in the " field Divergent Bars > Filtration").
The following conditions strengthen the Bearish Divergent bar signal:
The opening price of the bar, as well as the closing price, is below its middle, i.e. open < (high + low) / 2.
The low of the bar is above all lines of the open Alligator indicator, i.e. the green line (Lips) is above the red line (Teeth) and the red line is above the blue line (Jaw). In this case, the color of the circle under the Bearish Divergent bar is dark red.
Squat Divergent bar.
The bar following the Bearish Divergent bar corresponds to the red color of the Awesome Oscillator.
Divergence on Awesome Oscillator.
Formation of the upper fractal (▲), in which the high of the Divergent bar is the peak of the fractal.
Alligator lines crossing
Bars crossing the green line (Lips) of the open Alligator indicator is the first warning of a possible correction (price rollback) if one of the following conditions is met:
If the bar closed below the Lips line, which is above the Teeth line, and the Teeth line is above the Jaw line, while the closing price of the previous bar is above the Lips line.
If the bar closed above the Lips line, which is below the Teeth line, and the Teeth line is below the Jaw line, while the closing price of the previous bar is below the Lips line.
The intersection of all open Alligator lines by bars is a sign of a deep correction and a warning of a possible trend change.
Frequent intersection of Alligator lines with each other is a sign of a sideways trend (flat).
Signal Alerts
To receive notifications about signals when creating an alert, you must select the condition "Any alert() function is call", in which case notifications will arrive in the following format:
D — timeframe, for example: D, 4H, 15m.
🟢 BDB⎾ - a signal for a Bullish Divergent bar to buy (Long), triggers once after the bar closes and includes additional signals:
/// — if Alligator is open.
⏉ — if the opening price of the bar, as well as the closing price, is above its middle.
+ Squat 🔷 - Squat bar or + Green ↑ - "Green" bar or + Fake ↓ - Fake bar.
+ AO 🟩 - if after the Divergent bar closes, the oscillator color change for the next bar corresponds the green color of the Awesome Oscillator. ┴/┬ — AO above/below the zero line. ∇ — if there is divergence on AO in the interval of 140 bars from the last bar.
🔴 BDB⎿ - a signal for a Bearish Divergent bar to sell (Short), triggers once after the bar closes and includes additional signals:
/// — if Alligator is open.
⏊ — if the opening price of the bar, as well as the closing price, is below its middle.
+ Squat 🔷 - Squat bar or + Green ↑ - "Green" bar or + Fake ↓ - Fake bar.
+ AO 🟥 - if after the Divergent bar closes, the oscillator color change for the next bar corresponds to the red color of the Awesome Oscillator. ┴/┬ — AO above/below the zero line. ∇ — if there is divergence on AO in the interval of 140 bars from the last bar.
Alert for bars crossing the green line (Lips) of the open Alligator indicator (can be disabled in the indicator settings in the "Alligator > Enable crossing lips alerts" field):
🔴 Crossing Lips ↓ - if the bar closed below the Lips line, which is above than the other lines, while the closing price of the previous bar is above the Lips line.
🟢 Crossing Lips ↑ - if the bar closed above the Lips line, which is below the other lines, while the closing price of the previous bar is below the Lips line.
The fractal signal is triggered after the second bar closes, completing the formation of the fractal, if alerts about fractals are enabled in the indicator settings (the "Fractals > Enable alerts" field):
🟢 Fractal ▲ - upper (Bearish) fractal.
🔴 Fractal ▼ — lower (Bullish) fractal.
⚪️ Fractal ▲/▼ - both upper and lower fractal.
↳ (H=high - L=low) = difference.
If you redirect notifications to a webhook URL, for example, to a Telegram bot, then you need to set the notification template for the webhook in the indicator settings in the "Webhook > Message" field (contains a tooltip with an example), in which you just need to specify the text {{message}}, which will be automatically replaced with the alert text with a ticker and a link to TradingView.
‼️ A signal is not a call to action, but only a reason to analyze the chart to make a decision based on the rules of your strategy.
***
Индикатор включает в себя Williams Alligator, Williams Fractals, Дивергентные бары, Market Facilitation Index, самый высокий и самый низкий бары, максимальный и минимальный пик Awesome Oscillator, а также оповещения о сигналах на основе стратегии Profitunity Билла Вильямса.
MFI и Awesome Oscillator
В соответствии с осциллятором Market Facilitation Index Приседающий бар окрашен в синий цвет, все остальные бары окрашены в соответствии с цветом Awesome Oscillator, кроме Фальшивых баров, которые окрашены более светлым цветом AO. В настройках индикатора вы можете включить отображение "Зеленых" баров (в поле "Green Bars > Show"). В настройках стиля индикатора вы можете выключить изменение цвета баров в соответствии с цветом AO (в поле "AO bars"), в том числе изменить цвет для Фальшивых баров (в поле "Fake AO bars").
MFI рассчитывается по формуле: (high - low) / volume.
Приседающий бар означает, что по сравнению с предыдущим баром его MFI снизился и в тоже время вырос его объем, т.е. MFI < предыдущего бара и объем > предыдущего бара. Признак возможного разворота цены, поэтому это особенно важный сигнал.
Фальшивый бар является противоположностью Приседающему бару и означает, что по сравнению с предыдущим баром его MFI увеличился и в тоже время снизился его объем, т.е. MFI > предыдущего бара и объем < предыдущего бара.
"Зеленый" бар означает, что по сравнению с предыдущим баром его MFI увеличился и в тоже время вырос его объем, т.е. MFI > предыдущего бара и объем > предыдущего бара. Признак продолжения тренда. Но более значимым подтверждением тренда или предупреждением о возможном развороте является Awesome Oscillator, который измеряет движущую силу рынка путем вычисления разницы между 5 Периодной и 34 Периодной Простыми Скользящими Средними (SMA 5 - SMA 34) по средним точкам баров (hl2). Поэтому по умолчанию "Зеленые" бары и противоположные им "Увядающие" бары окрашены в соответствии с цветом Awesome Oscillator.
По стратегии Profitunity Билла Вильямса с помощью осциллятора Awesome Oscillator определяется третья волна Эллиота по максимальному пику AO в интервале от 100 до 140 баров. Наличие дивергенции между максимальным пиком AO и следующим за ним более низким пиком AO в этом интервале также предупреждает о возможной коррекции, особенно если AO переходит через нулевую линию между этими пиками AO. Поэтому на графике дополнительно отображаются цены самого высокого и самого низкого баров, а также максимальный или минимальный пик АО в интервале 140 баров от последнего бара. В настройках индикатора вы можете скрыть метки, линии, изменить количество баров и любые параметры для индикатора AO – метод (SMA, Smoothed SMA, EMA и другие), длину, источник (open, high, low, close, hl2 и другие).
Бычий Дивергентный бар
🟢 Сигналом на покупку (Long) является Бычий Дивергентный бар над которым отображается зеленый круг, если такой бар соответствует одновременно всем следующим условиям:
Максимум бара ниже всех линий индикатора Alligator.
Цена закрытия бара выше его середины, т.е. close > (high + low) / 2.
Минимум бара ниже минимума 2-х предыдущих баров или ниже минимума одного предыдущего бара, а минимум второго предыдущего бара является нижним фракталом (▼). По умолчанию не отображаются Дивергентные бары, минимум которых ниже минимума только одного предыдущего бара и минимум 2-го предыдущего бара не является нижним фракталом (▼), но вы можете включить отображение любых Дивергентных баров в настройках индикатора (установив значение "no" в поле "Divergent Bars > Filtration").
Усилением сигнала Бычьего Дивергентного бара являются следующие условия:
Цена открытия бара, как и цена закрытия, выше его середины, т.е. Open > (high + low) / 2.
Максимум бара ниже всех линий открытого индикатора Alligator, т.е. зеленая линия (Lips) ниже красной линии (Teeth) и красная линия ниже синей линии (Jaw). В этом случае цвет круга над Бычьим Дивергентным баром окрашен в темно-зеленый цвет.
Приседающий Дивергентный бар.
Бар, следующий за Бычьим Дивергентным баром, соответствует зеленому цвету Awesome Oscillator.
Дивергенция на Awesome Oscillator.
Образование нижнего фрактала (▼), у которого минимум Дивергентного бара является пиком фрактала.
Медвежий Дивергентный бар
🔴 Сигналом на продажу (Short) является Медвежий Дивергентный бар под которым отображается красный круг, если такой бар соответствует одновременно всем следующим условиям:
Минимум бара выше всех линий индикатора Alligator.
Цена закрытия бара ниже его середины, т.е. close < (high + low) / 2.
Максимум бара выше маскимума 2-х предыдущих баров или выше максимума одного предыдущего бара, а максимум второго предыдущего бара является верхним фракталом (▲). По умолчанию не отображаются Дивергентные бары, максимум которых выше максимума только одного предыдущего бара и максимум 2-го предыдущего бара не является верхним фракталом (▲), но вы можете включить отображение любых Дивергентных баров в настройках индикатора (установив значение "no" в поле "Divergent Bars > Filtration").
Усилением сигнала Медвежьего Дивергентного бара являются следующие условия:
Цена открытия бара, как и цена закрытия, ниже его середины, т.е. open < (high + low) / 2.
Минимум бара выше всех линий открытого индикатора Alligator, т.е. зеленая линия (Lips) выше красной линии (Teeth) и красная линия выше синей линии (Jaw). В этом случае цвет круга под Медвежьим Дивергентным Баром окрашен в темно-красный цвет.
Приседающий Дивергентный бар.
Бар, следующий за Медвежьим Дивергентным баром, соответствует красному цвету Awesome Oscillator.
Дивергенция на Awesome Oscillator.
Образование верхнего фрактала (▲), у которого максимум Дивергентного бара является пиком фрактала.
Пересечение линий Alligator
Пересечение барами зеленой линии (Lips) открытого индикатора Alligator является первым предупреждением о возможной коррекции (откате цены) при выполнении одного из следующих условий:
Если бар закрылся ниже линии Lips, которая выше линии Teeth, а линия Teeth выше линии Jaw, при этом цена закрытия предыдущего бара находится выше линии Lips.
Если бар закрылся выше линии Lips, которая ниже линии Teeth, а линия Teeth ниже линии Jaw, при этом цена закрытия предыдущего бара находится ниже линии Lips.
Пересечение барами всех линий открытого Alligator является признаком глубокой коррекции и предупреждением о возможной смене тренда.
Частое пересечение линий Alligator между собой является признаком бокового тренда (флэт).
Оповещения о сигналах
Для получения уведомлений о сигналах при создании оповещения необходимо выбрать условие "При любом вызове функции alert()", в таком случае уведомления будут приходить в следующем формате:
D — таймфрейм, например: D, 4H, 15m.
🟢 BDB⎾ — сигнал Бычьего Дивергентного бара на покупку (Long), срабатывает один раз после закрытия бара и включает дополнительные сигналы:
/// — если Alligator открыт.
⏉ — если цена открытия бара, как и цена закрытия, выше его середины.
+ Squat 🔷 — Приседающий бар или + Green ↑ — "Зеленый" бар или + Fake ↓ — Фальшивый бар.
+ AO 🟩 — если после закрытия Дивергентного бара, изменение цвета осциллятора для следующего бара соответствует зеленому цвету Awesome Oscillator. ┴/┬ — AO выше/ниже нулевой линии. ∇ — если есть дивергенция на AO в интервале 140 баров от последнего бара.
🔴 BDB⎿ — сигнал Медвежьего Дивергентного бара на продажу (Short), срабатывает один раз после закрытия бара и включает дополнительные сигналы:
/// — если Alligator открыт.
⏊ — если цена открытия бара, как и цена закрытия, ниже его середины.
+ Squat 🔷 — Приседающий бар или + Green ↑ — "Зеленый" бар или + Fake ↓ — Фальшивый бар.
+ AO 🟥 — если после закрытия Дивергентного бара, изменение цвета осциллятора для следующего бара соответствует красному цвету Awesome Oscillator. ┴/┬ — AO выше/ниже нулевой линии. ∇ — если есть дивергенция на AO в интервале 140 баров от последнего бара.
Сигнал пересечения барами зеленой линии (Lips) открытого индикатора Alligator (можно отключить в настройках индикатора в поле "Alligator > Enable crossing lips alerts"):
🔴 Crossing Lips ↓ — если бар закрылся ниже линии Lips, которая выше остальных линий, при этом цена закрытия предыдущего бара находится выше линии Lips.
🟢 Crossing Lips ↑ — если бар закрылся выше линии Lips, которая ниже остальных линий, при этом цена закрытия предыдущего бара находится ниже линии Lips.
Сигнал фрактала срабатывает после закрытия второго бара, завершающего формирование фрактала, если оповещения о фракталах включены в настройках индикатора (поле "Fractals > Enable alerts"):
🟢 Fractal ▲ — верхний (Медвежий) фрактал.
🔴 Fractal ▼ — нижний (Бычий) фрактал.
⚪️ Fractal ▲/▼ — одновременно верхний и нижний фрактал.
↳ (H=high - L=low) = разница.
Если вы перенаправляете оповещения на URL вебхука, например, в бота Telegram, то вам необходимо установить шаблон оповещения для вебхука в настройках индикатора в поле "Webhook > Message" (содержит подсказку с примером), в котором в качестве текста сообщения достаточно указать текст {{message}}, который будет автоматически заменен на текст оповещения с тикером и ссылкой на TradingView.
‼️ Сигнал — это не призыв к действию, а лишь повод проанализировать график для принятия решения на основе правил вашей стратегии.
Smart DCA StrategyINSPIRATION
While Dollar Cost Averaging (DCA) is a popular and stress-free investment approach, I noticed an opportunity for enhancement. Standard DCA involves buying consistently, regardless of market conditions, which can sometimes mean missing out on optimal investment opportunities. This led me to develop the Smart DCA Strategy – a 'set and forget' method like traditional DCA, but with an intelligent twist to boost its effectiveness.
The goal was to build something more profitable than a standard DCA strategy so it was equally important that this indicator could backtest its own results in an A/B test manner against the regular DCA strategy.
WHY IS IT SMART?
The key to this strategy is its dynamic approach: buying aggressively when the market shows signs of being oversold, and sitting on the sidelines when it's not. This approach aims to optimize entry points, enhancing the potential for better returns while maintaining the simplicity and low stress of DCA.
WHAT THIS STRATEGY IS, AND IS NOT
This is an investment style strategy. It is designed to improve upon the common standard DCA investment strategy. It is therefore NOT a day trading strategy. Feel free to experiment with various timeframes, but it was designed to be used on a daily timeframe and that's how I recommend it to be used.
You may also go months without any buy signals during bull markets, but remember that is exactly the point of the strategy - to keep your buying power on the sidelines until the markets have significantly pulled back. You need to be patient and trust in the historical backtesting you have performed.
HOW IT WORKS
The Smart DCA Strategy leverages a creative approach to using Moving Averages to identify the most opportune moments to buy. A trigger occurs when a daily candle, in its entirety including the high wick, closes below the threshold line or box plotted on the chart. The indicator is designed to facilitate both backtesting and live trading.
HOW TO USE
Settings:
The input parameters for tuning have been intentionally simplified in an effort to prevent users falling into the overfitting trap.
The main control is the Buying strictness scale setting. Setting this to a lower value will provide more buying days (less strict) while higher values mean less buying days (more strict). In my testing I've found level 9 to provide good all round results.
Validation days is a setting to prevent triggering entries until the asset has spent a given number of days (candles) in the overbought state. Increasing this makes entries stricter. I've found 0 to give the best results across most assets.
In the backtest settings you can also configure how much to buy for each day an entry triggers. Blind buy size is the amount you would buy every day in a standard DCA strategy. Smart buy size is the amount you would buy each day a Smart DCA entry is triggered.
You can also experiment with backtesting your strategy over different historical datasets by using the Start date and End date settings. The results table will not calculate for any trades outside what you've set in the date range settings.
Backtesting:
When backtesting you should use the results table on the top right to tune and optimise the results of your strategy. As with all backtests, be careful to avoid overfitting the parameters. It's better to have a setup which works well across many currencies and historical periods than a setup which is excellent on one dataset but bad on most others. This gives a much higher probability that it will be effective when you move to live trading.
The results table provides a clear visual representation as to which strategy, standard or smart, is more profitable for the given dataset. You will notice the columns are dynamically coloured red and green. Their colour changes based on which strategy is more profitable in the A/B style backtest - green wins, red loses. The key metrics to focus on are GOA (Gain on Account) and Avg Cost .
Live Trading:
After you've finished backtesting you can proceed with configuring your alerts for live trading.
But first, you need to estimate the amount you should buy on each Smart DCA entry. We can use the Total invested row in the results table to calculate this. Assuming we're looking to trade on BITSTAMP:BTCUSD
Decide how much USD you would spend each day to buy BTC if you were using a standard DCA strategy. Lets say that is $5 per day
Enter that USD amount in the Blind buy size settings box
Check the Blind Buy column in the results table. If we set the backtest date range to the last 10 years, we would expect the amount spent on blind buys over 10 years to be $18,250 given $5 each day
Next we need to tweak the value of the Smart buy size parameter in setting to get it as close as we can to the Total Invested amount for Blind Buy
By following this approach it means we will invest roughly the same amount into our Smart DCA strategy as we would have into a standard DCA strategy over any given time period.
After you have calculated the Smart buy size , you can go ahead and set up alerts on Smart DCA buy triggers.
BOT AUTOMATION
In an effort to maintain the 'set and forget' stress-free benefits of a standard DCA strategy, I have set my personal Smart DCA Strategy up to be automated. The bot runs on AWS and I have a fully functional project for the bot on my GitHub account. Just reach out if you would like me to point you towards it. You can also hook this into any other 3rd party trade automation system of your choice using the pre-configured alerts within the indicator.
PLANNED FUTURE DEVELOPMENTS
Currently this is purely an accumulation strategy. It does not have any sell signals right now but I have ideas on how I will build upon it to incorporate an algorithm for selling. The strategy should gradually offload profits in bull markets which generates more USD which gives more buying power to rinse and repeat the same process in the next cycle only with a bigger starting capital. Watch this space!
MARKETS
Crypto:
This strategy has been specifically built to work on the crypto markets. It has been developed, backtested and tuned against crypto markets and I personally only run it on crypto markets to accumulate more of the coins I believe in for the long term. In the section below I will provide some backtest results from some of the top crypto assets.
Stocks:
I've found it is generally more profitable than a standard DCA strategy on the majority of stocks, however the results proved to be a lot more impressive on crypto. This is mainly due to the volatility and cycles found in crypto markets. The strategy makes its profits from capitalising on pullbacks in price. Good stocks on the other hand tend to move up and to the right with less significant pullbacks, therefore giving this strategy less opportunity to flourish.
Forex:
As this is an accumulation style investment strategy, I do not recommend that you use it to trade Forex.
STRATEGY IN ACTION
Here you see the indicator running on the BITSTAMP:BTCUSD pair. You can read the indicator as follows:
Vertical green bands on historical candles represents where buy signals triggered in the past
Table on the top right represents the results of the A/B backtest against a standard DCA strategy
Green Smart Buy column shows that Smart DCA was more profitable than standard DCA on this backtest. That is shown by the percentage GOA (Gain on Account) and the Avg Cost
Smart Buy Zone label marks the threshold which the entire candle must be below to trigger a buy signal (line can be changed to a box under plotting settings)
Green color of Smart Buy Zone label represents that the open candle is still valid for a buy signal. A signal will only be generated if the candle closes while this label is still green
Below is the same BITSTAMP:BTCUSD chart a couple of days later. Notice how the threshold has been broken and the Smart Buy Zone label has turned from green to red. No buy signal can be triggered for this day - even if the candle retraced and closed below the threshold before daily candle close.
Notice how the green vertical bands tend to be present after significant pullbacks in price. This is the reason the strategy works! Below is the same BITSTAMP:BTCUSD chart, but this time zoomed out to present a clearer picture of the times it would invest vs times it would sit out of the market. You will notice it invests heavily in bear markets and significant pullbacks, and does not buy anything during bull markets.
Finally, to visually demonstrate the indicator on an asset other than BTC, here is an example on CRYPTO:ETHUSD . In this case the current daily high has not touched the threshold so it is still possible for this to be a valid buy trigger on daily candle close. The vertical green band will not print until the buy trigger is confirmed.
BACKTEST RESULTS
Now for some backtest results to demonstrate the improved performance over a standard DCA strategy using all non-stablecoin assets in the top 30 cryptos by marketcap.
I've used the TradingView ticker (exchange name denoted as CRYPTO in the symbol search) for every symbol tested with the exception of BTCUSD because there was some dodgy data at the beginning of the TradingView BTCUSD chart which overinflated the effectiveness of the Smart DCA strategy on that ticker. For BTCUSD I've used the BITSTAMP exchange data. The symbol links below will take you to the correct chart and exchange used for the test.
I'm using the GOA (Gain on Account) values to present how each strategy performed.
The value on the left side is the standard DCA result and the right is the Smart DCA result.
✅ means Smart DCA strategy outperformed the standard DCA strategy
❌ means standard DCA strategy outperformed the Smart DCA strategy
To avoid overfitting, and to prove that this strategy does not suffer from overfitting, I've used the exact same input parameters for every symbol tested below. The settings used in these backtests are:
Buying strictness scale: 9
Validation days: 0
You can absolutely tweak the values per symbol to further improve the results of each, however I think using identical settings on every pair tested demonstrates a higher likelihood that the results will be similar in the live markets.
I'm presenting results for two time periods:
First price data available for trading pair -> closing candle on Friday 26th Jan 2024 (ALL TIME)
Opening candle on Sunday 1st Jan 2023 -> closing candle on Friday 26th Jan 2024 (JAN 2023 -> JAN 2024)
ALL TIME:
BITSTAMP:BTCUSD 80,884% / 133,582% ✅
CRYPTO:ETHUSD 17,231% / 36,146% ✅
CRYPTO:BNBUSD 5,314% / 2,702% ❌
CRYPTO:SOLUSD 1,745% / 1,171% ❌
CRYPTO:XRPUSD 2,585% / 4,544% ✅
CRYPTO:ADAUSD 338% / 353% ✅
CRYPTO:AVAXUSD 130% / 160% ✅
CRYPTO:DOGEUSD 13,690% / 16,432% ✅
CRYPTO:TRXUSD 414% / 466% ✅
CRYPTO:DOTUSD -16% / -7% ✅
CRYPTO:LINKUSD 1,161% / 2,164% ✅
CRYPTO:TONUSD 25% / 47% ✅
CRYPTO:MATICUSD 1,769% / 1,587% ❌
CRYPTO:ICPUSD 70% / 50% ❌
CRYPTO:SHIBUSD -20% / -19% ✅
CRYPTO:LTCUSD 486% / 718% ✅
CRYPTO:BCHUSD -4% / 3% ✅
CRYPTO:LEOUSD 102% / 151% ✅
CRYPTO:ATOMUSD 46% / 91% ✅
CRYPTO:UNIUSD -16% / 1% ✅
CRYPTO:ETCUSD 283% / 414% ✅
CRYPTO:OKBUSD 1,286% / 1,935% ✅
CRYPTO:XLMUSD 1,471% / 1,592% ✅
CRYPTO:INJUSD 830% / 1,035% ✅
CRYPTO:OPUSD 138% / 195% ✅
CRYPTO:NEARUSD 23% / 44% ✅
Backtest result analysis:
Assuming we have an initial investment amount of $10,000 spread evenly across each asset since the creation of each asset, it would have provided the following results.
Standard DCA Strategy results:
Average percent return: 4,998.65%
Profit: $499,865
Closing balance: $509,865
Smart DCA Strategy results:
Average percent return: 7,906.03%
Profit: $790,603
Closing balance: $800,603
JAN 2023 -> JAN 2024:
BITSTAMP:BTCUSD 47% / 66% ✅
CRYPTO:ETHUSD 26% / 33% ✅
CRYPTO:BNBUSD 15% / 17% ✅
CRYPTO:SOLUSD 272% / 394% ✅
CRYPTO:XRPUSD 7% / 12% ✅
CRYPTO:ADAUSD 43% / 59% ✅
CRYPTO:AVAXUSD 116% / 151% ✅
CRYPTO:DOGEUSD 8% / 14% ✅
CRYPTO:TRXUSD 48% / 65% ✅
CRYPTO:DOTUSD 24% / 35% ✅
CRYPTO:LINKUSD 83% / 124% ✅
CRYPTO:TONUSD 7% / 21% ✅
CRYPTO:MATICUSD -3% / 7% ✅
CRYPTO:ICPUSD 161% / 196% ✅
CRYPTO:SHIBUSD 1% / 8% ✅
CRYPTO:LTCUSD -15% / -7% ✅
CRYPTO:BCHUSD 47% / 68% ✅
CRYPTO:LEOUSD 9% / 11% ✅
CRYPTO:ATOMUSD 1% / 15% ✅
CRYPTO:UNIUSD 9% / 23% ✅
CRYPTO:ETCUSD 27% / 40% ✅
CRYPTO:OKBUSD 21% / 30% ✅
CRYPTO:XLMUSD 11% / 19% ✅
CRYPTO:INJUSD 477% / 446% ❌
CRYPTO:OPUSD 77% / 91% ✅
CRYPTO:NEARUSD 78% / 95% ✅
Backtest result analysis:
Assuming we have an initial investment amount of $10,000 spread evenly across each asset for the duration of 2023, it would have provided the following results.
Standard DCA Strategy results:
Average percent return: 61.42%
Profit: $6,142
Closing balance: $16,142
Smart DCA Strategy results:
Average percent return: 78.19%
Profit: $7,819
Closing balance: $17,819
QQE MOD + SSL Hybrid + Waddah Attar Explosion IndicatorINDICATOR PURPOSE
This indicator is designed to complement my original QQE MOD + SSL Hybrid + Waddah Attar Explosion strategy.
Multiple users have requested that I convert the strategy to an indicator because alertconditions do not work on strategies and people want to specific set alerts for BUY, SELL, CLOSE BUY and CLOSE SELL. This can only be achieved using alertcondition().
This indicator functions in the exact same way as the strategy, but it doesn't have any backtesting functionality. I recomment that you use the original QQE MOD + SSL Hybrid + Waddah Attar Explosion strategy for parameter tuning and backtesting, then if you need more control on alerts you can use this indicator for that purpose.
Only other difference is that I have added grey exit labels on the chart since it's not obvious where the exits would happen like it was in the strategy version.
CREDITS
QQE MOD byMihkel00
SSL Hybrid by Mihkel00
Waddah Attar Explosion by shayankm
Overbought / Oversold Screener## Introduction
**The Versatile RSI and Stochastic Multi-Symbol Screener**
**Unlock a wealth of trading opportunities with this customizable screener, designed to pinpoint potential overbought and oversold conditions across 17 symbols, with alert support!**
## Description
This screener is suitable for tracking multiple instruments continuously.
With the screener, you can see the instant RSI or Stochastic values of the instruments you are tracking, and easily catch the moments when they are overbought / oversold according to your settings.
The purpose of the screener is to facilitate the continuous tracking of multiple instruments. The user can track up to 17 different instruments in different time intervals. If they wish, they can set an alarm and learn overbought oversold according to the values they set for the time interval of the instruments they are tracking.**
Key Features:
Comprehensive Analysis:
Monitors RSI and Stochastic values for 17 symbols simultaneously.
Automatically includes the current chart's symbol for seamless integration.
Supports multiple timeframes to uncover trends across different time horizons.
Personalized Insights:
Adjust overbought and oversold thresholds to align with your trading strategy.
Sort results by symbol, RSI, or Stochastic values to prioritize your analysis.
Choose between Automatic, Dark, or Light mode for optimal viewing comfort.
Dynamic Visual Cues:
Instantly highlights oversold and overbought symbols based on threshold levels.
Timely Alerts:
Stay informed of potential trading opportunities with alerts for multiple oversold or overbought symbols.
## Settings
### Display
**Timeframe**
The screener displays the values according to the selected timeframe. The default timeframe is "Chart". For example, if the timeframe is set to "15m" here, the screener will show the RSI and stochastic values for the 15-minute chart.
** Theme **
This setting is for changing the theme of the screener. You can set the theme to "Automatic", "Dark", or "Light", with "Automatic" being the default value. When the "Automatic" theme is selected, the screener appearance will also be automatically updated when you enable or disable dark mode from the TradingView settings.
** Position **
This option is for setting the position of the table on the chart. The default setting is "middle right". The available options are (top, middle, bottom)-(left, center, right).
** Sort By **
This option is for changing the sorting order of the table. The default setting is "RSI Descending". The available options are (Symbol, RSI, Stoch)-(Ascending, Descending).
It is important to note that the overbought and oversold coloring of the symbols may also change when the sorting order is changed. If RSI is selected as the sorting order, the symbols will be colored according to the overbought and oversold threshold values specified for RSI. Similarly, if Stoch is selected as the sorting order, the symbols will be colored according to the overbought and oversold threshold values specified for Stoch.
From this perspective, you can also think of the sorting order as a change in the main indicator.
### RSI / Stochastic
This area is for selecting the parameters of the RSI and stochastic indicators. You can adjust the values for "length", "overbought", and "oversold" for both indicators according to your needs. The screener will perform all RSI and stochastic calculations according to these settings. All coloring in the table will also be according to the overbought and oversold values in these settings.
### Symbols
The symbols to be tracked in the table are selected from here. Up to 16 symbols can be selected from here. Since the symbol in the chart is automatically added to the table, there will always be at least 1 symbol in the table. Note that the symbol in the chart is shown in the table with "(C)". For example, if SPX is open in the chart, it is shown as SPX(C) in the table.
## Alerts
The screener is capable of notifying you with an alarm if multiple symbols are overbought or oversold according to the values you specify along with the desired timeframe. This way, you can instantly learn if multiple symbols are overbought or oversold with one alarm, saving you time.
REMA CROSSOVER BY JUGNUThis indicator triggers alerts for long and short positions on DAILY TIME FRAME for SWING trades based on the conditions which described below. This script will generate alerts when the following conditions are met:
LONG POSITION:
RSI(14) above 50.
EMA(5) crosses above EMA(10).
Indicator Triangle Green below price bars
SHORT POSITION:
RSI(14) below 50.
EMA(5) crosses down EMA(10).
Indicator Triangle RED above price bars
This script plots green and red triangles below and above the price bars to indicate long and short alert conditions, respectively. It also triggers alerts when these conditions are met.
Crypto Spot/Futures Dominance Indicator with AlertsFutures/Spot Dominance Indicator:
Overview:
The futures/spot dominance indicator is a versatile tool used by traders and analysts to assess the relative strength or dominance of the futures market in relation to the spot (or cash) market for a specific asset. It offers insights into market sentiment, potential arbitrage opportunities, and risk management while incorporating the VWAP indicator for added context.
How It Works:
This indicator automatically detects and adapts to the futures symbol applied to the chart, simplifying the setup for traders. However, it still necessitates manual input of the corresponding spot pair to ensure accuracy.
Automatic Futures Symbol Detection: The indicator starts by automatically detecting the futures symbol on the trading chart, eliminating the need for manual configuration. This ensures that the indicator is applied to the correct futures contract.
Manual Spot Pair Entry: To provide a reliable reference point for the comparison, traders must manually input the corresponding spot symbol via the indicator's inputs. For instance, if the indicator detects the BTCUSDT.P futures symbol, traders would manually enter the BTCUSDT spot symbol.
Gathering Data: The indicator collects historical price data for both the detected futures contract and the manually specified spot symbol. This data includes open, high, low, and close prices, as well as trading volume.
VWAP Calculation: To gain a deeper understanding of price trends and market dynamics, the indicator calculates the VWAP (Volume Weighted Average Price) for both the futures and spot markets. The VWAP places more weight on prices with higher trading volume, offering a weighted average that reflects market consensus.
Premium/Discount Calculation: By subtracting the VWAP of the spot market from the VWAP of the futures market, the indicator quantifies the premium or discount of the futures price concerning the spot price. A positive value indicates a premium, while a negative value suggests a discount.
Plotting: The premium/discount value is displayed as a line on the chart, often alongside moving averages or other smoothing techniques for improved trend analysis.
Alerts: In addition to its analysis capabilities, this indicator now includes alerts to enhance your trading experience. It alerts you in the following scenarios:
Premium Above Average: Notifies you when the premium crosses above the average line.
Premium Below Average: Alerts you when the premium crosses below the average line.
Premium Above Zero: Provides an alert when the premium crosses above the zero line.
Premium Below Zero: Generates an alert when the premium crosses below the zero line.
Benefits of the Futures/Spot Dominance Indicator:
Sentiment Analysis: Traders use the indicator to assess market sentiment. A futures premium might signify bullish sentiment, while a discount could indicate bearish sentiment.
Arbitrage Opportunities: Identifying price discrepancies between futures and spot markets can help traders spot arbitrage opportunities, where they can profit from price differentials.
Risk Management: The indicator assists in evaluating risks associated with futures positions, helping traders manage their exposure effectively.
Trend Confirmation: When used in conjunction with other technical indicators, futures/spot dominance, along with VWAP, can provide additional confirmation of price trends.
Hedging: Investors and corporations use this tool to gauge the effectiveness of hedging strategies based on futures contracts.
Speculative Trading: Traders and investors use the indicator to inform speculative positions, aligning their trades with perceived market strength or weakness.
Insightful Analysis: Futures/spot dominance analysis, enriched by VWAP data, offers insights into market behavior during specific events or changes in economic conditions.
In summary, the futures/spot dominance indicator, with its integration of VWAP and automatic futures symbol detection, provides traders and investors with a comprehensive tool to assess market dynamics. It aids in sentiment analysis, risk management, and trend confirmation while offering potential arbitrage opportunities. The newly added alerts enhance the indicator's functionality, providing timely notifications of key market events. However, it relies on manual input of the corresponding spot pair to ensure precise comparisons between futures and spot markets. It should be used alongside other analysis techniques for a well-rounded view of the market.
[Pivots Consolidation Breakout Screener] with Alerts (TSO) This is a pivots consolidation screener indicator, with ability to choose up to 12 different symbols/instruments with alert to be notified when consolidation happens on either one with the new pivots formation (new R3(inner resistance) pivot formed below previous one and new S3(inner support) pivot formed above previous one). Once the alert on a certain symbol/instrument is received - there is an ability to set a Breakout alert for the consolidated symbol/instrument.
This is a very powerful strategy, which doesn't happen often, but when happens - it often causes big moves after a breakout!
NOTE: Every calculation is done on a confirmed closed candle bar state, so the indicator will never repaint!
===========================================================================
Explanation of all the Features/Inputs/Settings
---------------------------------------------------------------------------
>>> On the very top, please read the important NOTES/TIPs.
>>> Next section is where the desired symbols can be turned on/checked to be screened for consolidation - the selected/checked symbols at creation of a 'Any alert() function call' alert will alert on any of the selected/checked symbols. Also, once consolidation forms, until next pivots formation - it will show it on the "Consolidation Stats" table. Once alerted on a specific symbol for consolidation - manual alert - 'Consolidation BREAKOUT' - can be created (MUST be done on the actual symbol chart, Right-Click > Add Alert) to be notified when actual breakout takes place.
>>> Pivots Settings section is where a manual timeframe/length can be set for the pivots as by Default it uses "Daily" timeframe. So, if want to experiment with more signals, but less accurate - a smaller timeframe can be set for Pivots Timeframe with smaller chart timeframe.
>>> Final section is simply the "Consolidation Stats" table location.
===========================================================================
Adding Alerts in TradngView
---------------------------------------------------------------------------
1) Consolidation alert(s) for the selected/checked symbols
- Select/check/find the desired symbols/instruments (when selecting symbols, make sure - they are from correct BROKER/SOURCE as pricing may differ between different brokers, causing confusion (under 1 broker/source, the symbol will be consolidated, under another it will not...))
-Right-click anywhere on any TradingView chart
-Click on Add alert
-Condition: Select this indicator by it’s name
-Immediately below, change it to "alert() function calls only"
-Expiration: Open-ended (that may require higher tier TradingView account, otherwise the alert will need to be occasionally re-triggered)
-Alert name: Whatever you desire
-Hit “Create”
-Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
* Once alert triggers, don't get confused, as it will show "Alert on SYMBOL", the SYMBOL will be where you created the major alert for all the symbols within the screener list! Within the alert, on the bottom, it will say: "EURUSD: Camarilla Pivots R3S3 Consolidation ALERT!" - this is where the correct symbol is for which the alert for consolidation was triggered!
---------------------------------------------------------------------------
2) Consolidation BREAKOUT alert(s)
-Right-click anywhere on any TradingView chart
-For the actual symbol (which got consolidated), open the chart (make sure timeframe is the same as with which "Consolidation alert(s)" were created prior), then Right-Click on the chart > Add Alert
-Click on Add alert
-Condition: Select this indicator by it’s name
-Immediately below, change it to "Consolidation BREAKOUT1"
-Expiration: Open-ended (that may require higher tier TradingView account, otherwise the alert will need to be occasionally re-triggered)
-Alert name: Whatever you desire
-Hit “Create”
* It will alert when a breakout occurs in any direction - once you open the chart for the symbol/instrument for which alert has occurred - you can immediately see into which direction the breakout occured, it will be marked on the chart with green/red triangle.
===========================================================================
If you have any questions or issues with the indicator, please message me directly via TradingView.
---------------------------------------------------------------------------
Good Luck! (NOTE: Trading is very risky, past performance is not necessarily indicative of future results, so please trade responsibly!)
BDL Range AlertAs soon as you call this indicator, it asks you to define the range. Select the bottom and the top of the range. Next, set your alarm. There are 3 alarm options:
1: Bottom of the range breakout
2: Top of the range breakout
3: Bottom or top of the range breakout
As soon as you close a candle outside the selected range, only then will the alarm be triggered.
AWD TRADE MANAGER (ATM) by ManhDNAWD TRADE MANAGER (ATM) is a position management tool including with some advanced features and entry suggestions. It helps you to do most of position calculations and position management, reduce time spent for charting by alerts.
There are 3 main things to describe about the manager:
(1) The original function of the manager is to help traders to manage their trades with automatic calculations of all factors of their trades with some of input values. For example, it will calculate the trade volume when you enter the bet size, entry and stop loss price. It calculates take profit price when you enter entry, stop loss prices and the risk/reward ratio, …
(2) Another function is the system of alerts. After set up a trade, create an alert and the manager will do the rest. It will send you an alert when the limit order got filled, got stopped out, take profit level hit, or even it reached a key level or an opposite/spike move just occurred…
(3) Entry suggestions: Suggest entries with price action strategies. Details bellow.
Features in details:
(1) Automatic calculations:
- Auto calculate trade volume based on entry, stop loss prices and the money users willing to lose when the trade is failed. Auto detect some type of assets and volume will be calculated in USD (for cryptocurrencies) or in lot (for forex).
- Auto calculate take profit price based on entry, stop loss prices and expected rr ratio.
-Auto suggest take profit price based on pivot points.
- Auto suggest stop loss price based on pivot points.
- You can enter several exit points with percentages and the manager will calculate the averaged risk reward ratio you earned after the last exit price reached.
- Quick entry price pick to reduce typing requirement.
- Quick trade set up: 2 checkboxes and 1 number entering to set up a trade.
(2) Alert system
After setting up a trade and creating an alert of the manager, it will follow the market and your order. It will send you alerts for all the events that you should follow up your position. These alerts can be sent to your pc, your phone and your smart watch, so even you are a full-time day trader, you will save your time for charting or managing your positions. Here’s the list of alerts:
- Sending alert when suggesting an entry with details calculated from preset inputs so you can just pick that info to enter the position including trading volume, entry, stop loss, take profit prices, timeframe, estimated risk-reward ratio …
- Sending alert when a limit order got filled and auto switch to position-managing-mode.
- Sending alert when a limit order in still staying unfilled but should be canceled (because of price reaching a key level or is running too far, …)
- Sending alert when the position got stopped out or TP hit.
- Sending alert when the running position reached a key level and need to be watched out.
- Sending alert when a spike move or opposite move just occurred.
- Sending alert when a position is taking too long to run.
- You can also set 3 levels of price with messages then ATM will send you alerts when price reaches those levels.
- When price runs, ATM might suggest you to move stop loss to levels based on pivot points by sending you alerts.
- Alert when a BOS occurred.
- Options to turn on/off each kind of alert.
(3) Entry suggestions.
The script included price action entry suggestions.
The 1st strategy is getting in a position when a candle pattern occurred and confirmed by MA20.
The 2nd strategy is detecting double top/bottom and a candle pattern confirm break out after that.
The 3rd strategy is a pullback strategy, in a trending market, a candle pattern occurs and confirms the pullback ends, it will suggest an entry.
All those strategies I am using by myself for a long period of time but to make sure they are good for your trading style, do your own research and backtest before use. Keep in mind to manage risk and be responsible to your capital.
User side modifications:
- Those price action strategies have some major arguments that users can tune themselves to make it meet their style or their needs like choosing method to suggest entries, refine entry quality by changing the confirmation methods,…
- Most of appearance factors can be changed by users.
- one-click to toggle between full features and simple mode.
TradingView Chart demo pictures:
Author's bio:
I have been a full-time day trader for 7 years. I like coding with Pinescript and I also developed some helpful indicators that provide unique aspects to approach markets and the most favorite one from that is Relative Volume Index (RVI) that will be introduced in near future.
Disclaimer:
This tool has been tested and been using for my own trading career for a long period of time but practicing to use it yourself to understand it and use it correctly is needed. All of the features have been carefully tested before publishing but make sure to double-check all the info you get from it before getting into a trade to avoid losing money by a sudden mistake or even a bug. Keep in mind you will need to take all the responsibility with your capital or any potential loss while using this tool.
If you get anything wrong while using it, please leave some comments bellow, all of your ideas or suggestions will be taken seriously.
Thank you in advance!
(It is not possible to explain all the settings or features within the description, If you have questions, please leave comment, I will answer to help you to get familiar with the tool.)
Divergence Indicator Screener [Trading Solutions]It's been a while since the last publication on the platform. We've been studying the charts and developing some interesting strategies and indicators, so we'll be posting some ideas in the near future.
Overview
This indicator allows you to find divergences between the price action and the classic RSI. It has the ability to anticipate trend changes.
Highs and Lows are determined using Pivot Points, wich can be adjusted in settings.
You can use this indicator to find two kind of divergences, Regular and Hidden:
Regular is when price makes a higher high, but the RSI makes a lower high
Hidden is when price makes a lower high, but the RSI makes a higher high
The opposite case for Bearish Divergence
The most important functionality of this indicator is that we can be alerted when a divergence occurs in different trading pairs, without the necessity of checking different charts at the same time, and seize opportunities offered by the market. You only have to go to Alerts Tab , click on Create Alert , select Divergence Indicator Screener and wait for the Notification in your favorite device.
You can choose any ticker to be plotted on chart and even add a new one.
Settings
To get everything started with this indicator, here are the different inputs:
RSI Settings: Period y Source
Pivot Point: Left and Right lookback bars
Filter Divergences: Regular and Hidden and max and min distance from the pivot points to consider a valid divergence
Draw table and Filter how much bars to look for a divergence in the past and plot it in the table: The fewer bars, less divergences shown
We hope you can take the most of this tool, and helps improve your day to day trading. Feel free to comment and make suggestions. We will be updating soon
Auto Trend Lines Breakouts and Bounces Signals and AlertsAuto Trend Lines Breakout with Confirmation Bounce Signals and Alerts
This indicator draws trend lines automatically based on the 2 pivot points, which are calculated based on the specified number of bars (length), which is of course customizable. The indicator then shows you when these trend lines get touched (potential bounce) or “almost touched” (Yes! The script can do that as well!) by the current price of the instrument or broken and then confirmed by the “after break come back touch” – classic! Everything is shown on the chart, and for everything - alarms can be set up with just a few clicks!
Now there are 2 modes here (you can hide all signals as well and just use the trend lines):
1) Current/recent trend lines only: will only show 2 current upper/lower trend lines as well as previous 2 for reference.
2) All time (historical) trend lines: will show 2 current upper/lower trend lines as well as the historical lines from the past and these lines are often very respected by the price!
Besides that, you can set the indicator to show you exactly what you want: Just the trend lines touches/bounces, breaks with confirmation touches/bounces or BOTH.
In addition to that, you can set the indicator to only show you these touches/bounces and breaks with additional confirmations, only if confirmed by :
- Moving Average (customizable length): LONG signals based off the trend lines will only be shown if above EMA, SHORT if below.
- Signals where the candle color confirms the direction of the trade, but the candle type is opposite (like a green colored bearish hammer for example) will be avoided (such candles can be very uncertain/deceptive)
- Signals where the signal candle is doji will be avoided (uncertain)
- Signals will only be shown if supported by the trend line slope (for example, with this feature turned on, if there is an upper line trend line, but the line is actually above, touching the top of the candles and the price touches/crosses it or it gets broken – there will be no signal as even though the trend line is an upper line above candles, it’s slope is positive (going up), if the slope would be down, like a classical down/bearish trend line and the price touches/bounces off it or the line gets broken, only then the indicator will show the signal/alert.
- OFFSET: this one is really cool! With this feature you can hunt these conditions when the price comes very near the trend line, but never touches it. With this setting turned on, with a correct offset amount – you will be able to catch these! You will need to play around with the offset amount, depending on the timeframe/instrument, be quick-n-easy!
The indicator also includes Round Number lines on the chart, which are customizable for any instrument. As you know round numbers are appreciated by the price and can be very nicely used with this indicator looking for combos or using trend lines for signals, while round numbers as partial profit price targets or stop-loss areas.
Important economic events are also shown on the chart as red vertical lines (during these events, volatility can suddenly spike, so it’s best to stay away from trading!)
This is a very powerful indicator with plenty of customizations to find the best approaches, can be used for any instrument and on any timeframe! Awesome for scalping and could be used with swing trading as well! Enjoy!
To add the alerts
-Right-click anywhere on the TradingView chart
-Click on Add alert
-Condition: Auto Trend Lines Breakout with Confirmation Bounce Signals and Alerts
-Alert name: DO NOT TOUCH THIS
-Hit “Create”
-Note: If you change ANY Settings within the indicator – you must DELETE the current alert and create a new one per steps above, otherwise it will continue triggering alerts per old Settings!
A few strategies how this indicator can be used (these were actually tested and showed awesome results!):
1) Bounce Scalping: Simply hunting bounces off the trend lines. Often the price will slightly cross the trend line and then immediately bounces from it for nice little price move, which is great for scalping or if you for example take 2/3s off the position and leave the remaining, often with such bounces – the price may reverse from the trend line and go in the opposite direction considerably.
2) Break-Bounce-Confirm: this is the “Breaks with Confirmation Bounce” option of the script which fully automates the classical trend lines break confirmation, where the trend line is broken (which could be a fake out), so you wait for a touch/bounce of that trend line back from the initial break and open the position right there or wait and see if after the touch/bounce back, the price once again goes into the direction of the break.
For stop-loss and take-profit areas, you can use:
1) Pivots (these are marked with red and green crosses on the chart), which are used to draw the actual trend lines.
2) The actual trend lines themselves (if one gets broken + confirmation, you can set your stop-loss if that same line gets broken again in the opposite direction | similar for take-profit, you can take profit or partial profit at next trend line on the chart if the price reaches it.
3) Use the Round Numbers included, for example: use the closest round number as a visual soft stop-loss and the furthest one away as a visual soft take-profit.
You can try combining this indicator with divergence, stochastic, Bollinger bands, pretty much anything!
If you wish to try this out for a week or so – please reach out and I will give you access.
(2) Two AlertsCurrent Trading View free plan allows only ONE active alert.
This simple indicator Allows to trigger this ONE and ONLY alert when price reaches Higher, or Lower price level.
You can set levels and turn alerts for them on/off in settings, or by just drag-n-dropping Horizontal lines on the chart.
To set the only alert you need to create new alert, and change it's following parameters :
condition : 2alerts
Any alert function() call
Feel free to modify it on your needs.
Crossover Alerts for Yesterday O/H/L/C , Today Vwap [Zero54]This is a very simple script/indicator that trigger alerts every time the script triggers the following conditions.
1) Script crosses yesterday's (previous day's) high
2) Script crosses yesterday's (previous day's) low
3) Script crosses yesterday's (previous day's) open
4) Script crosses yesterday's (previous day's) close
5) Script crosses today's vwap.
I developed this to keep track of the scripts I follow and I find it useful. Hope you will find it useful too.
Steps to use:
1) Open the ticker for which you want to set the alerts.
2) Add this indicator to the chart.
3) Right Click on the text and set choose "Add Alert"
4) After you have done with setting up the alert, feel free to remove the indicator from the chart. It is not necessary for the indicator to be added in the chart in order for it to work.
5) Repeat 1-4 for all the scripts for which you want to set the alerts.
Be advised: During market open, if you have set alerts for multiple scripts, a tsunami of alerts may be triggered.
If you like this alert indicator, please like/boost it. Feel free to re-use this code however you may wish to. Cheers!
Bot Controller V1.1This script allows you to define various trading sessions with alerts for when the session starts and ends. This allows you to do things like switch your trading bots off while you are sleeping.
It starts with default settings for weekday daytime, evening, nighttime, and weekends
Setup recommendations:
Use the Timezone setting in the indicator to match your trading view timezone setting to have alerts triggered when you expect
Add alerts from a lower TF e.g 1min chart
Use once per bar for the alerts
Notes on alerts:
If you have a session stop then immediately have another starting with no time break in between the start/stop alerts may overlap/trigger at the same time so it's probably best just to use the stop or start alerts for each session.
Crodl Auto TraderI've added Buy & Sell Flags - They will be used to add Longs and Shorts Flags as well as the ability to add alerts on them.
What triggers the Buy signal?
Buy signal = This indicator make use of the rsi (Relative Strength Index) to look at specific overbought and oversold levels as confirmation if it is an uptrend and not overbought yet. This will indicate that a long opportunity will be possible.
The SMA (slow moving average) is being used to calculate where to entry as it uses Crossed SMA's for entries.
SMA and EMA Crosses with the RSI (not overbought) will give as a buy signal if the SMA cross the EMA.
Sell signal = When the Rsi is not oversold this will give a good confirmation that the market still has downwards potential and it will wait for a cross on the SMA and EMA when crossed over for a sell signal. If we get a cross but the RSI is oversold that will be seen as a bad signal and it will be avoided.
Take Profit - Currently there are 4 Hardcoded Targets and on the backtester you will see the results for all 4 separately on the Info Panel.
The 4 green lines (TP)
1st line is at 0.5% market move, 2nd line is at 1% market move ,3rd one is at 1.5% market move and the last and 4th line is at 2%.
This will be where it will take profit unless you set the Exit Strategy to Opposite then it will use the opposite flags to exit.
So when it is set to Opposite and the previous flag was a long then it will exit on the next short flag and when the previous flag was a short flag then it will exit on the next long flag.
if the exit strategy is set to CrodlExit it will use an ATR based exit. so if the previous flag was a short it will wait for price to cross an ATR level then it will close the short and the same if the last flag was a long it will only be closed if a TP (green line) level has been reached or the ATR level for an exit.
if the Exit Strategy has been set to Fixed SL then you can set the sl at a specific %. if you set the Fixed SL at 2% that means if the last flag was a buy signal then if the TP targets was not reached first and the market moves downwards by 2% it will exit and wait for the next flag, if you are in a short and the TP level was not reached if the market moves 2% upwards it will close your short.
Backtest Data has 3 options. You can choose for it to show both Long(Buy) and short(sell) or just Buy or just Sell data.
Statistics Type will show you the info panel on the right. if you set it on Simple you will see the following data
Asset that you are currently on as well as the timeframe.
and the date it starts reading data to plot entries from. this will change depending on the timeframe that you are on. since higher timeframes will show you candles from longer time back as lower time frames.
Total = The amount of buy and sell flags since the first trade data and buy will give you the buy amount flags shown since that date and sell will show you the amount of sell flags since the start date.
Total win = this will tell you how many trades reached the TP (green lines) before a exit condition was met.
Total loss = this will show you how many of the flags exited based on the exit type selected before a TP target was reached.
TP1= how many time we reached the first target level at 0.5%
TP2= how many time we reached the second target level at 1.0%
TP3= how many time we reached the third target level at 1.5%
TP4= how many time we reached the fourth target level at 2.0%
the % are calculated from the total wins and total losses and it will give you the % difference.
If the % is bigger than 80 it will have a green background and if its less than 80% but more than 50% then it will be orange, if it is less than 50% it will be red.
win streak is the average of how many times we reached the profit target in a row before we reached an exit target based on the exit strategy
Loss streak is the average of how Many losses we had in a row before we reached the TP1 level
Longest Winning streak is how many times after one win we had another wining trade meaning TP reached before a stop level based on the exit strategy
Longest losing streak is the amount of times we reached the SL level based on the exit strategy before reaching a TP level or the opposite flag depending on the setting based on exit strategy.
to hide the info panel you can set the statistics to Coming soon.
Alerts can be set on all the TP targets and Entries(Buy and Sell flag) as well as all the exit strategies.
Signal generatorThis simple script generates signals for testing the connection from TradingView to a REST API client via the webhook and demonstrates very basic concepts of gerenating alerts within the script.
This script also demonstrates how to visualize when a buy or a sell should take place and how to use diagnostics text for bug fixes/informational purposes.
This is for testing and learning only. Do not use with real money as losses WILL occur. This script is for educational purposes only and should only be used with demo accounts, never with real money .
Buy signals are generated when closing price is less then opening price.
Sell Signals are generated when closing price is greater then opening price.
Can also be used to test signal counting and very rudimentary dollar cost averaging.
MTF Kagi Indicator v1.0Introduction
The indicator attempts to implement a time-based, multi-timeframe, non-repainting Kagi lines as an overlay to your chart using traditional candlesticks.
How is it original and useful?
This indicator is unique in that it allows you to choose from among three different methods to define the reversal amount. They are:
ATR (Average True Range): After each Kagi line is drawn, the latest ATR value from the selected timeframe will be used until a new vertical Kagi line is drawn. At this point, the latest ATR value will be used for the reversal amount until it changes again. This means that the reversal amount will adjust as price action volatility changes.
Fixed Amount: This method will be useful if you desire to fix the reversal amount, like the normal Kagi Chart. Thus, use this option if you desire to mimic the same Kagi Chart on TradingView.
Percent of Price: This method, like the ATR, will produce the reversal amount using the latest close price against the given percentage value.
In addition, the indicator will allow you to define the Up and Down line colors and width. You can even elect to have a Kagi line drawn on the real-time bar or not.
How does it compare to other scripts in the Public Library?
This indicator makes use of the security() function and applies the best-practices as provided by the PineCoders' script called " `security()` revisited " so that the indicator will not repaint when you refresh the chart or re-open it at a later date. In addition, the indicator provides three possible alerts for Alert Conditions or Any Alert() Function Call. They are:
"Break Shoulder" - this alert will trigger (Once Per Bar) when the close price crosses above the shoulder (higher) of the previous Kagi line.
"Break Waist" - this alert will trigger (Once Per Bar) when the close price crosses below the waist (lower) of the previous Kagi line.
"New Kagi Line" - this alert will trigger (Once Per Bar) when the indicator draws a new vertical Kagi line and continues to monitor the next trend change.
When using the "Any alert() function call" option in creating alerts, the following placeholders are supported in the alert message: {{shoulder_price}}, {{waist_price}}, and {{kagi_close_price}}
What does it do and how does it do it?
When applied to the chart for the first time, the default settings will work to produce Kagi lines from the beginning of the chart history up to the real-time bar. The Kagi line width will have a width of 1 pixel and the colors will match the normal color schemes that TradingView charts have for rising and falling colors. The reversal method will default to ATR with a period length of 14 so that it can provide a visually appealing Kagi lines where the reversal amount will be adaptive for all price charts. The default timeframe will be the chart's timeframe, but it can be changed to any higher timeframe. Using a timeframe that is lower than the current chart will not disable the indicator, but the lines will not be accurate since lower timeframe prices are being grouped to fit the current timeframe.
Enjoy! 😊👍
Fishing The Trend - Setup Classic v7.5.5FTT Classic v7.5.5
HOW Does it work ?
It is the classic version of Fishing The Trend-Setup for ease of trading & for getting the most from the market.
i.e. Combining the most useful indicators and making a whole setup under one roof...
FTT Classic comprises of following --
* IntraDay Range.
* Fishing The Trend.
* Custom VWAP.
* Baseband for Trend.
* Trendlines.
* Support & Resistance Lines.
* BreakOut Area.
* Technical Analysis table.
* Custom alerts.
1) HOW Does Intraday Range work ?
# For calculating the average most probable range for any symbol, it plots two areas - higher range and a lower range.
# This indicator is on - as default.
# Upper and Lower areas act as support and resistance, user may see a reversal in trend from these areas.
# If the price breaks these bands, breakout be considered.
# These bands are calculated by averaging the previous x number of days' high and low of the security.
3) HOW Does Fishing The Trend work ?
# When the market trend may try to reverse, the first signal/label will come showing Stop loss figure, and then if the trend reversal is confirmed, the supporting triangle in the next opening price will be placed at upper or lower side. along with these
there is a trailing stop-loss line, which will help user to trail their profits in-live.
# The CE-PE can be seen through the table with date and time.
# 2nd table also can be placed below the first one, showing the CE-PE Values for different symbol.
# Signals can be controlled by more or less as optioned in the settings.
# CE-PE strike price can be selected from ATM - ITM - OTM.
4) HOW Does Custom VWAP work ?
# VWAP will be placed having a line and current price of VWAP.
# One can have vwap in index chart also, the colour changes as the market goes above or below vwap or at vwap.
5) HOW Does Baseband for Trend work ?
# Baseband will be plotted for least 2 days on 3 min and gradually increases on increase of timeframe.
# If the market is above band, we may consider it a positive side and if market is below it, we may consider a negative side.
# Type 1 band is for trending market and type 2 is for rangebound market.
# Colour intensity also changes as market picks-up momentum or leaves momentum.
6) HOW Does Trendlines work ?
# Most nearest to most touching trendlines are placed for better understanding the trend.
# Easy to understand with the help of colour combinations.
7) HOW Does Support & Resistance Lines work ?
# The support & resistance lines will be drawn when market movement slows down or momentum decrease.
# The Support lines becomes resistance when market falls below it, and vice-versa for other conditions.
# Range development can be easily detected and can be used as range breakout for better understanding the market.
8) HOW Does BreakOut Area work ?
# Market Consolidates at most of the time, where the bulls and bears fight becomes more aggressive, at this point
of time the area will be formed or area will be formed when market trend reverses suddenly, leaving behind the previous
breakout area.
# Ease of trend reversal, previous supports / resistances can be seen easily.
9) HOW Does Technical Analysis table work ?
# There will be RSI displayed and for the better range detection, range area with price can be seen.
# The GAP of the opening market is seen with gap points (Down or Up)
10) HOW Does Custom alerts work ?
# Alerts can enabled for the CE-PE Strike Price through alerts management from Tradingview.
# Alerts can also be set when the Traffic Signal Comes.
Where to use?
# If the chart is of Index or equity, extended trading hours to be selected, time shall be exchange.
# Indicator wont work on timeframes lower than minutes or higher than or equal to day.
# can be used in every type of market.
# Extended to be selected for Index or Equities/Stocks, Regular be selected for futures, etc.
# At every part / portion the tooltip is placed showing the quick reference for that option.
# The main use of this indicator is quick scalping and Intra-day trading.
# Colour Theme can be selected if the chart theme is dark or light.
# The indicator shows a very useful option for early detection of the ongoing trend whether there will be reversal of trend or not ? Stop Loss - That should be done by following ones risk appetite, Ideally the High of the Previous Candle should be the stop loss for the Long / Short but everyone has their own Risk Management Strategies based on the capital deployed.
How to Take entry ?
# Time Frame shall be more than 2 min and less than day for better outcome.
# If buy signal comes and the market is below the baseband then wait for the market to cross and close above the baseband, also look for the immediate support or resistances which are seen in chart and those nearby the current signal.
# The data for the indicator will be very restricted, most of the parts in indicator wont work when the market closes.
# Pre-Opening or Post -Market data is tried to be ignored.
# Utmost Care is taken to implement the suggestions of users and also tried to keep the chart neat and clean.
** N.B.:- There may be cases where warning may come during setting the alert, this because
of alert conditions are taken ONLY when the current candle is CLOSED, real-time alerts are
considered as not feasible to get it.
Disclaimer
# The indicator to be used for understanding / learning the markets.
# User is responsible for his / her profits/losses, that may occur during the markets.
Multi-timeframe MAs + Stoch RSI SignalsHello traders,
I welcome you to my first published script on TradingView: “Multi-timeframe Moving Averages + Stochastic RSI”.
The script is based on a simple formula: Buy signals are generated when a fast moving average is above a slower moving average (uptrend) and the Stochastic RSI K line is crossing above the oversold level (entry).
Sell signals are generated when a fast moving average is below a slower moving average (downtrend) and the Stochastic RSI K line is crossing below the overbought level (entry).
This indicator works best in strong trends!
**Please note the above example has repainting turned on which may produce unrealistic results when viewing historical data. See below for more information regarding this and how you can turn it off.**
The user has the following inputs:
- Option to change the Stochastic RSI settings, including the oversold and overbought levels.
- Option to enter any value for both the Fast Moving Average and the Slow Moving Average.
- Option to change between EMA or SMA for each moving average.
- Multiple time frames to choose from, as well as the ability to selectively turn off individual time frames (both plots and alerts).
(Default time frames are 1 hour, 4 hour, and Daily. You can have a 4th time frame by changing your current time frame to something lower than the other 3 time frames)
- Turn on/off repainting: If repainting is turned on you will get an alert and buy/sell signal on chart immediately when condition is met, however the signal may disappear from chart if the condition reverses during the same candle.
If repainting is turned off, the indicator will wait for the candle to close before issuing the alert and painting the signal on chart.
For higher time frames, the indicator will wait for the candle in the higher time frame to close before issuing a signal if repaint is turned off. Default is set to Repaint on, so please be aware of this if you do not want repainting.
How to use alerts:
- Before you do anything, make sure your current time frame is the lowest time frame you’d like alerts on, as you will still receive alerts for the higher time frames you selected in settings.
- Once you have all the settings changed to how you like, save your chart first. Then right click on any of the indicator’s buy/sell signals on the chart and click “Add Alert on MAs + Stoch RSI”.
- Make sure “Any alert() function call” is selected under the Condition.
- You can delete or change the text in “Alert name” if you want as the alert message is already built into the indicator, and it will tell you in the alert message which asset and time frame to buy or sell.
Other things to note:
- The indicator will not display the buy/sell signals of lower time frames when you are on a higher time frame. This was done purposely to reduce clutter on the chart when you switch to higher time frames.
- While the alert message will tell you which time frame a signal was generated, the plots on the chart will instead show “Buy/Sell TF1, or TF2, or TF3”.
If the signal is from the current time frame that the alert was created on, then it will simply show “Buy” or “Sell”.
Hope you guys enjoy using this one, please drop a like if you found it useful. If anyone wants to modify my script in any way, please just credit me for the original work when you publish the script. Good luck!
Custom Screener with Alerts V2 [QuantNomad]TradingView just recently announced the alert() function that allows you to create dynamic alerts from both strategies and studies.
So I decided to update custom screener I published before. It was based on alerts from orders in strategies, that was the only way to create dynamic alerts in PineScript at that point.
With the alert() function code become cleaner and more readable.
It works for up to 40 symbols at the same time.
You can create an alert from it easily by selecting screener name from the list and then selecting "Any alert() function call".
No additional configuration is required, message and alert on close I set up in the code.
I created as an example a screener that tracks both overbought (RSI > 70) and oversold stocks (RSI < 30).
To create your own screener you have to change only screenerFunc().
By design it should output 2 values:
cond - True/False Boolean variable. Should this instrument be displayed in the screener?
value - Additional numeric value you can display in your screener. I display RSI level for selected stocks for example.
Link to the old screener:
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.