Indicators and strategies
Average Directional Index with threshold lineadding simple horizontal line on as threshold to easy show uptrend and downtrend
WMA 21-50 Kesişim Stratejisi//@version=5
indicator("WMA 21-50 Kesişim Stratejisi")
// Hareketli ortalamalar
wma21 = ta.wma(close, 21)
wma50 = ta.wma(close, 50)
// Alım ve satım sinyalleri
longCondition = ta.crossover(wma21, wma50)
shortCondition = ta.crossunder(wma21, wma50)
// Grafik üzerine çizgiler ekleme
plot(wma21, color=color.blue)
plot(wma50, color=color.orange)
// Alım ve satım sinyallerini işaretleme
plotshape(longCondition, title="Al", style=shape.triangleup, location=location.belowbar, color=color.green)
plotshape(shortCondition, title="Sat", style=shape.triangledown, location=location.abovebar, color=color.red)
Auto-Support v 0.3The "Auto-Support v 0.3" indicator is designed to automatically detect and plot multiple levels of support and resistance on a chart. It aims to help traders identify key price levels where the market tends to reverse or consolidate. Here’s a breakdown of its functionality and goals:
Objective:
The primary objective of the Auto-Support v 0.3 indicator is to provide traders with a clear, visual representation of support and resistance levels. These levels are determined based on a predefined sensitivity parameter, which adjusts how tightly or loosely the indicator reacts to recent price movements. The indicator can be applied to any chart to assist in identifying potential entry and exit points for trades, enhancing technical analysis by displaying these important price zones.
Description:
Support and Resistance Calculation:
The indicator calculates multiple levels of support and resistance using the highest and lowest prices over a defined period. The "sensitivity" parameter, which ranges from 1 to 10, determines how sensitive the calculation is to recent price changes. A higher value increases the number of bars used to calculate these levels, making the levels more stable but less responsive to short-term price movements.
Visual Representation:
The support levels are drawn in green with a customizable transparency setting, while resistance levels are displayed in red with similar transparency controls. This visual representation helps traders identify these levels on the chart and see the strength or weakness of the support/resistance zones depending on the transparency setting.
Multiple Levels:
The indicator plots 10 distinct levels of support and resistance (from 1 to 10), which can offer a more granular view of price action. Traders can use these levels to assess potential breakout or breakdown points.
Customization:
Sensitivity: The sensitivity input allows traders to adjust how aggressively the indicator reacts to recent price data. This ensures flexibility, enabling the indicator to be tailored to different trading styles and market conditions.
Transparency: The transparency input adjusts the visual opacity of the support and resistance lines, making it easier to overlay the indicator without obscuring other chart elements.
Key Goals:
Dynamic Support/Resistance Identification: Automatically detect and display relevant support and resistance levels based on price history, removing the need for manual chart analysis.
Customizable Sensitivity: Offer a flexible method to adjust how the indicator identifies key levels, allowing it to fit different market conditions.
Clear Visualization: Provide easy-to-read support and resistance levels with customizable colors and transparencies, enhancing visual clarity and decision-making.
Multiple Levels: Display up to 10 levels of support and resistance, allowing traders to consider both short-term and longer-term price action when making trading decisions.
By using this indicator, traders can more effectively identify key price zones where price may reverse, consolidate, or break out, providing a solid foundation for developing trading strategies.
Session Highlights (Fixed)This highlights each session based on UK time of UTC-0
This will help with looking for liquidity sweeps from different sessions.
For example, London sweeping the Asia highs or lows
Multi-EMA PlotterA simple EMA plotter to easily evaluate/explore the behavior and relationship between all EMA's available as filters in the Crypto Coins screener.
"Estrategia Estocástica Martillo 200""Este indicador combina el poder del oscilador estocástico y patrones de velas con la proximidad al nivel clave de la media móvil de 200 períodos. Diseñado para detectar oportunidades precisas de compra y venta, se activa cuando el precio está cerca de la MA200 y presenta un patrón de vela martillo (para compras) o martillo invertido (para ventas). Ideal para temporalidades rápidas como 5 minutos en pares de divisas como EUR/USD."
Multi.SMA PlotterA simple SMA plotter to easily evaluate/explore the behavior and relationship between all SMA's available as filters in the Crypto Coins screener.
Hujin//@version=5
indicator("Hujin", overlay=true)
// Cálculo das Médias Móveis
sma9 = ta.sma(close, 9)
sma21 = ta.sma(close, 21)
sma50 = ta.sma(close, 50)
sma100 = ta.sma(close, 100)
sma200 = ta.sma(close, 200)
ema9 = ta.ema(close, 9)
ema21 = ta.ema(close, 21)
ema50 = ta.ema(close, 50)
ema100 = ta.ema(close, 100)
ema200 = ta.ema(close, 200)
// Plot das Médias Móveis
plot(sma9, color=color.blue, title="SMA 9", linewidth=1)
plot(sma21, color=color.green, title="SMA 21", linewidth=1)
plot(sma50, color=color.red, title="SMA 50", linewidth=1)
plot(sma100, color=color.orange, title="SMA 100", linewidth=1)
plot(sma200, color=color.purple, title="SMA 200", linewidth=1)
plot(ema9, color=color.new(color.blue, 80), title="EMA 9", linewidth=1)
plot(ema21, color=color.new(color.green, 80), title="EMA 21", linewidth=1)
plot(ema50, color=color.new(color.red, 80), title="EMA 50", linewidth=1)
plot(ema100, color=color.new(color.orange, 80), title="EMA 100", linewidth=1)
plot(ema200, color=color.new(color.purple, 80), title="EMA 200", linewidth=1)
Previous Candle Levels (Full Chart)Draw horizontal line to show starting and ending price level based on the previous candle.
If it goes above the upper line then Buy and If it goes down the lower line then Sell.
XRP Buy/Sell Signals-baierm588This script calculates the short and long moving averages (50-period and 200-period by default) and generates buy signals when the short moving average crosses above the long moving average, and sell signals when it crosses below.
designed for XRP
RSIChartBarsLibraryLibrary "RSIChartBarsLibrary"
barcolor_rsi_chart_bars(len, len1, len2)
Parameters:
len (simple int)
len1 (int)
len2 (int)
Trend Dashboard (EMA + RSI + STOCH RSI + MACD + PRICE ACTION).🚀 New Indicator on TradingView!
📊 Everything you need, all in one place:
- 4 customizable EMAs
- Adjustable RSI and STOCH RSI
- MACD and Price Action always in sight
💡 Dynamic and adaptable to your time frame
✔ Clear visualization in the top-right corner with box format
🌟 Simplify your analysis, maximize your results!
🔗 Available now on TradingView!
#TradingView #Indicators #TechnicalAnalysis
Xpro_Shark V1.0 This indicator is the first version and it is a primitive indicator. Wait for the next versions.
Xpro_Shark V1.0: Powerful Signals at a Glance
This robust indicator combines the power of MACD, RSI, and RSI 80/20 into a single, easy-to-read table. Get clear, concise signals for spotting potential trend reversals and strong momentum shifts.
Indicators Included:
MACD: Identifies changes in trend direction and strength.
RSI: Detects overbought and oversold conditions.
RSI 80/20: Highlights extreme overbought and oversold conditions for potentially stronger signals.
Table Display:
The table clearly shows the current status of each indicator ("up," "down," or "none") for quick interpretation.
Unleash the Power of Xpro_Shark V1.0:
This comprehensive indicator offers a powerful edge for traders looking to make informed decisions. Combine its insights with your analysis for enhanced trading performance.
(Disclaimer: Past performance is not indicative of future results. Use at your own risk.)
SPX Entry Bot with Fakeout FixesPlotted both the ADX and its average to ensure that these values are calculated and available on the chart.
LIT - ConfirmationsOverview
The LIT - Confirmations Indicator is a dynamic checklist tool designed for traders who uses LIT Strategy (Liquidity Inducement Theory) following liquidity and smart money concepts as benefit. This tool allows users to document and track essential trading confirmations directly on their TradingView charts, offering a structured and visual approach to market analysis.
What Makes This Unique?
Unlike other open-source tools, the LIT - Confirmations Indicator introduces a fully interactive and customizable table directly on the chart. This table provides real-time feedback with clear ✅ (checked) and ❌ (unchecked) visual indicators for each confirmation. The user can position the table on the chart according to their preference, ensuring it integrates seamlessly into their trading workflow without obscuring critical chart data.
How It Works
1. Predefined Confirmations
The indicator includes a set of commonly used trading confirmations:
Identify Liquidity: Mark areas where liquidity might pool.
Inducement: Confirm the presence of inducements before market reversals.
Relevant Break of Structure (BOS): Validate critical structural changes.
Mitigation after RBoS: Check for mitigation following a BOS.
Smart Money Trap (SMT): Identify traps often utilized by smart money.
Timing: Ensure trades are entered during high-probability time windows.
Mitigation to the Leftside: Confirm whether price action aligns with prior mitigations.
Set Targets: Define and document logical take-profit or stop-loss levels.
2.Interactive Table Display
A table is dynamically created on the chart, showing all confirmations with their current state (checked or unchecked).
Users can choose the position of the table (top, middle, or bottom and left, center, or right) and customize its background color for better visibility.
3. Customization
All confirmations are toggled through the input settings, allowing traders to adapt the indicator to their unique strategies.
The display can be easily adjusted to match the trader’s preferences without cluttering the chart.
How to Use
1. Add the indicator to your chart.
2. Open the settings panel to activate the relevant confirmations for your analysis.
3. Use the Display Settings section to adjust the table's position and background color.
4. View the table on your chart to track selected confirmations in real-time.
Who Is This For?
This indicator is ideal for traders who:
Use Liquidity Inducent Theory strategy in their analysis.
Prefer a structured and systematic trading approach.
Need an on-chart tool to document confirmations without relying on external notes or tools.
Why Closed Source?
The logic behind the interactive table and confirmation system is specifically tailored to LIT practitioners and is not publicly available in existing open-source scripts. The closed-source nature of this script protects its unique implementation, ensuring the integrity and exclusivity of the tool.
Disclaimer
This indicator does not provide trading signals or strategies. It is a tool to document user-defined confirmations and should be used in conjunction with a thorough understanding of market behavior and risk management practices.
Logarithmic Regression AlternativeLogarithmic regression is typically used to model situations where growth or decay accelerates rapidly at first and then slows over time. Bitcoin is a good example.
𝑦 = 𝑎 + 𝑏 * ln(𝑥)
With this logarithmic regression (log reg) formula 𝑦 (price) is calculated with constants 𝑎 and 𝑏, where 𝑥 is the bar_index .
Instead of using the sum of log x/y values, together with the dot product of log x/y and the sum of the square of log x-values, to calculate a and b, I wanted to see if it was possible to calculate a and b differently.
In this script, the log reg is calculated with several different assumed a & b values, after which the log reg level is compared to each Swing. The log reg, where all swings on average are closest to the level, produces the final 𝑎 & 𝑏 values used to display the levels.
🔶 USAGE
The script shows the calculated logarithmic regression value from historical swings, provided there are enough swings, the price pattern fits the log reg model, and previous swings are close to the calculated Top/Bottom levels.
When the price approaches one of the calculated Top or Bottom levels, these levels could act as potential cycle Top or Bottom.
Since the logarithmic regression depends on swing values, each new value will change the calculation. A well-fitted model could not fit anymore in the future.
Swings are based on Weekly bars. A Top Swing, for example, with Swing setting 30, is the highest value in 60 weeks. Thirty bars at the left and right of the Swing will be lower than the Top Swing. This means that a confirmation is triggered 30 weeks after the Swing. The period will be automatically multiplied by 7 on the daily chart, where 30 becomes 210 bars.
Please note that the goal of this script is not to show swings rapidly; it is meant to show the potential next cycle's Top/Bottom levels.
🔹 Multiple Levels
The script includes the option to display 3 Top/Bottom levels, which uses different values for the swing calculations.
Top: 'high', 'maximum open/close' or 'close'
Bottom: 'low', 'minimum open/close' or 'close'
These levels can be adjusted up/down with a percentage.
Lastly, an "Average" is included for each set, which will only be visible when "AVG" is enabled, together with both Top and Bottom levels.
🔹 Notes
Users have to check the validity of swings; the above example only uses 1 Top Swing for its calculations, making the Top level unreliable.
Here, 1 of the Bottom Swings is pretty far from the bottom level, changing the swing settings can give a more reliable bottom level where all swings are close to that level.
Note the display was set at "Logarithmic", it can just as well be shown as "Regular"
In the example below, the price evolution does not fit the logarithmic regression model, where growth should accelerate rapidly at first and then slows over time.
Please note that this script can only be used on a daily timeframe or higher; using it at a lower timeframe will show a warning. Also, it doesn't work with bar-replay.
🔶 DETAILS
The code gathers data from historical swings. At the last bar, all swings are calculated with different a and b values. The a and b values which results in the smallest difference between all swings and Top/Bottom levels become the final a and b values.
The ranges of a and b are between -20.000 to +20.000, which means a and b will have the values -20.000, -19.999, -19.998, -19.997, -19.996, ... -> +20.000.
As you can imagine, the number of calculations is enormous. Therefore, the calculation is split into parts, first very roughly and then very fine.
The first calculations are done between -20 and +20 (-20, -19, -18, ...), resulting in, for example, 4.
The next set of calculations is performed only around the previous result, in this case between 3 (4-1) and 5 (4+1), resulting in, for example, 3.9. The next set goes even more in detail, for example, between 3.8 (3.9-0.1) and 4.0 (3.9 + 0.1), and so on.
1) -20 -> +20 , then loop with step 1 (result (example): 4 )
2) 4 - 1 -> 4 +1 , then loop with step 0.1 (result (example): 3.9 )
3) 3.9 - 0.1 -> 3.9 +0.1 , then loop with step 0.01 (result (example): 3.93 )
4) 3.93 - 0.01 -> 3.93 +0.01, then loop with step 0.001 (result (example): 3.928)
This ensures complicated calculations with less effort.
These calculations are done at the last bar, where the levels are displayed, which means you can see different results when a new swing is found.
Also, note that this indicator has been developed for a daily (or higher) timeframe chart.
🔶 SETTINGS
Three sets
High/Low
• color setting
• Swing Length settings for 'High' & 'Low'
• % adjustment for 'High' & 'Low'
• AVG: shows average (when both 'High' and 'Low' are enabled)
Max/Min (maximum open/close, minimum open/close)
• color setting
• Swing Length settings for 'Max' & 'Min'
• % adjustment for 'Max' & 'Min'
• AVG: shows average (when both 'Max' and 'Min' are enabled)
Close H/Close L (close Top/Bottom level)
• color setting
• Swing Length settings for 'Close H' & 'Close L'
• % adjustment for 'Close H' & 'Close L'
• AVG: shows average (when both 'Close H' and 'Close L' are enabled)
Show Dashboard, including Top/Bottom levels of the desired source and calculated a and b values.
Show Swings + Dot size
Current Day 1st Candle on 5 Min High & LowThis is the indicator for the 5 min orb. this indicator marks the high and low of the first 5 min candle for you to trade off of.