Imbalance OscillatorCalculates the average of n most recent imbalances and creates an oscillator out of them. Default is 10. Can help to show change in market direction and/or trend. Useful when volatility picks up since it shows institutional order flow.
المؤشرات والاستراتيجيات
RANDI RONEDISCLAIMER
This indicator is not promoting scalping related activities and give financial advise to buy or sell.
This indicator is made for educational purpose only which gives the idea about the trend based on strength.
This script is provided for educational purposes only and is not intended as financial advice. It serves as a tool for analyzing historical price movements but does not guarantee profitability or predict future price trends. Trading involves significant risk, and you should only trade with capital you can afford to lose. Always conduct thorough research and consult a qualified financial advisor before engaging in trading.
Strategy Explanation
The RANDI RONE indicator combines the Relative Strength Index (RSI) and Bollinger Bands to identify potential trend zones based on customizable timeframes. It highlights these zones on the chart background.
It helps to throw some lights on that area where trend is at early stage.
Customization Options
The script offers flexibility in timeframe selection for RSI and Bollinger Bands and customizable thresholds for both buy and sell conditions. This versatility enables users to adjust settings according to various market conditions or trading styles.
By integrating RSI and Bollinger Bands across multiple timeframes, this indicator is designed to capture significant market movements and offer actionable insights based on price momentum and volatility.
Imbalance Finder (DTC Company)Imbalance Finder (DTC Company)An In-Balance Indicator (IBI) is a technical analysis tool used in financial markets, particularly in trading and investing. It is designed to help identify when an asset's price movement is becoming excessively one-sided, indicating potential exhaustion of the current trend or the need for a change.
Here's how it works:
Description:
The In-Balance Indicator plots two lines on a chart: the Balance Line and the Offset Line. The Balance Line represents the difference between the demand (buying) volume and the supply (selling) volume at each price level, while the Offset Line is an offset of the Balance Line by a specified percentage (usually 50%).
Interpretation:
The intersection of these two lines serves as a warning sign for potential market imbalances. When the Balance Line crosses below the Offset Line, it indicates that buying pressure has diminished, and selling volume may be increasing, potentially leading to a price decline.
Conversely, when the Balance Line rises above the Offset Line, it suggests that buying momentum is growing stronger, possibly signaling a price upswing.
Key aspects:
Balance: This term refers to the equilibrium between demand (buying) and supply (selling) volumes at each price level.
Offset Line: The offset value represents a percentage of the Balance Line (usually 50%), which creates an envelope for the balance line, helping to visually highlight potential imbalances.
Cross-over points: When these lines intersect, they signal potential changes in market sentiment and momentum.
Indications:
Overbought/oversold conditions: Excessive divergence between the Balance Line and the Offset Line may indicate overbought or oversold situations, potentially leading to price corrections.
Trend exhaustion: The IBI can help identify when a trend is approaching its limit, making it a useful tool for traders and investors looking to adjust their strategies.
Limitations:
While the In-Balance Indicator provides valuable insights into market sentiment and potential imbalances, it should not be used in isolation. Combine it with other technical analysis tools and fundamental analysis to form a well-rounded perspective on market trends.
Trading strategy implications:
When trading based on the IBI signals:
Short-term traders: Focus on using these signals as confirmation for existing trades, rather than the sole reason for entering or exiting positions.
Long-term investors: Consider using the In-Balance Indicator to identify potential shifts in market trends, which can inform investment decisions over longer time frames.
Conclusion:
The In-Balance Indicator is a useful tool for traders and investors looking to gauge market sentiment and potential imbalances. By understanding how this indicator works and combining it with other analysis tools, you'll be better equipped to make informed trading or investment decisions.
Economic Profit (YavuzAkbay)The Economic Profit Indicator is a Pine Script™ tool for assessing a company’s economic profit based on key financial metrics like Return on Invested Capital (ROIC) and Weighted Average Cost of Capital (WACC). This indicator is designed to give traders a more accurate understanding of risk-adjusted returns.
Features
Customizable inputs for Risk-Free Rate and Corporate Tax Rate assets for people who are trading in other countries.
Calculates Economic Profit based on ROIC and WACC, with values shown as both plots and in an on-screen table.
Provides detailed breakdowns of all key calculations, enabling deeper insights into financial performance.
How to Use
Open the stock to be analyzed. In the settings, enter the risk-free asset (usually a 10-year bond) of the country where the company to be analyzed is located. Then enter the corporate tax of the country (USCTR for the USA, DECTR for Germany). Then enter the average return of the index the stock is in. I prefer 10% (0.10) for the SP500, different rates can be entered for different indices. Finally, the beta of the stock is entered. In future versions I will automatically pull beta and index returns, but in order to publish the indicator a bit earlier, I have left it entirely up to the investor.
How to Interpret
We see 3 pieces of data on the indicator. The dark blue one is ROIC, the dark orange one is WACC and the light blue line represents the difference between WACC and ROIC.
In a scenario where both ROIC and WACC are negative, if ROIC is lower than WACC, the share is at a complete economic loss.
In a scenario where both ROIC and WACC are negative, if ROIC has started to rise above WACC and is moving towards positive, the share is still in an economic loss but tending towards profit.
A scenario where ROIC is positive and WACC is negative is the most natural scenario for a company. In this scenario, we know that the company is doing well by a gradually increasing ROIC and a stable WACC.
In addition, if the ROIC and WACC difference line goes above 0, the company is now economically in net profit. This is the best scenario for a company.
My own investment strategy as a developer of the code is to look for the moment when ROIC is greater than WACC when ROIC and WACC are negative. At that point the stock is the best time to invest.
Trading is risky, and most traders lose money. The indicators Yavuz Akbay offers are for informational and educational purposes only. All content should be considered hypothetical, selected after the facts to demonstrate my product, and not constructed as financial advice. Decisions to buy, sell, hold, or trade in securities, commodities, and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
This indicator is experimental and will always remain experimental. The indicator will be updated by Yavuz Akbay according to market conditions.
Custom MACD Signal with FiltersSử dụng chỉ báo MACD để xác định đỉnh đáy, thêm vào các bộ lọc như EMA20 để giảm nhiễu.
6 Candle Rule Indicator BetaThe "6 Candle Rule" is a method used to identify trend reversals in price action by observing specific sequences of candlestick patterns over a span of six candles. Here's a quick breakdown:
1. **Sequence Analysis**: It involves looking at sequences of bullish (up) and bearish (down) candles over a six-candle period.
2. **Bullish Trend Reversal**: If, within those six candles, there are two consecutive bullish candles, then two bearish candles, followed by two more bullish candles, it signals a potential uptrend.
3. **Bearish Trend Reversal**: Conversely, if there are two consecutive bearish candles, then two bullish candles, followed by two more bearish candles, it signals a potential downtrend.
This pattern helps traders identify potential shifts in market direction by capturing the transitional movements that indicate a reversal of an existing trend.
Real Relative Strength Indicator (Multi-Index Comparison)The Real Relative Strength (RRS) indicator implements the "Real Relative Strength" equation, as detailed on the Real Day Trading subreddit wiki. This equation measures whether a stock is outperforming a benchmark (such as SPY or any preferred ETF/index) by calculating price change normalized by the Average True Range (ATR) of both the stock and the indices it’s being compared to.
The RRS metric often highlights potential accumulation by institutional players. For example, in this chart, you can observe accumulation in McDonald’s beginning at 1:25 pm ET on the 5-minute chart and continuing until 2:55 pm ET. When used in conjunction with other indicators or technical analysis, RRS can provide valuable buy and sell signals.
This indicator also supports multi-index analysis, allowing you to plot relative strength against two indices simultaneously—defaulting to SPY and QQQ—to gain insights into the "real relative strength" across different benchmarks. Additionally, this indicator includes an EMA line and background coloring to help automatically identify relative strength trends, providing a clearer visualization than typical Relative Strength Comparison indicators.
Inside Bar with Swing PointsSwing Points with Inside Bar
This script combines swing point analysis with an inside bar pattern visualization, merging essential concepts to identify and visualize key price levels and potential trend reversals. This is especially useful for traders looking to understand price action through swing levels and reactions within inside bar boundaries, making it effective for short-term trend analysis and reversal zone identification.
Script Features:
Swing Point Analysis:
The script identifies swing points based on fractals with a configurable number of bars, allowing for a choice between three and five bars, helping traders fine-tune sensitivity to price movements.
Swing points are visualized as labels, highlighting potential reversal or continuation zones in the price chart.
Inside Bar Visualization:
Inside bars are defined as bars where both the high and low are contained within the previous bar. These often signal consolidation before a potential breakout.
The script displays boundaries of the mother bar (the initial bar encompassing inside bars) and colors candles accordingly, highlighting those within these boundaries.
This feature helps traders focus on price areas where a breakout or trend shift may occur.
Utility and Application:
The script enables traders to visualize inside bars and swing points, which is particularly useful for short-term traders focused on reversal or trend continuation strategies.
Combining swing point analysis with inside bar identification offers a unique approach, helping traders locate key consolidation zones that may precede significant price moves.
This provides not only strong support and resistance levels but also insights into probable breakout points.
How to Use the Script:
Set the number of bars for swing point analysis (3 or 5) to adjust fractal sensitivity.
Enable mother bar boundary visualization and color indication for inside bars to easily spot consolidation patterns.
Pay attention to areas with multiple swing points and inside bars, as these often signal potential reversal or breakout zones.
This script offers flexible tools for analyzing price movements through both swing analysis and consolidation zone identification, aiding decision-making under uncertainty and enhancing market structure understanding.
Power Root SuperTrend [AlgoAlpha]// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at mozilla.org
// © AlgoAlpha
//@version=5
indicator("Power Root SuperTrend ", "AlgoAlpha - Power Root", true, max_lines_count = 500)
import TradingView/ta/8
atrMult = input.float(4.5, "Factor")
atrlen = input.int(12, "ATR Length")
rsmlen = input.int(3, "Root-Mean-Square Length")
tplen = input.int(14, "RSI Take-Profit Length")
green = input.color(#00ffbb, "Bullish Color", group = "Appearance")
red = input.color(#ff1100, "Bearish Color", group = "Appearance")
// SuperTrend Function
superTrendCalc(multiplier, atrLength, source) =>
atrValue1 = ta.atr(atrLength)
upperLevel = source + multiplier * atrValue1
lowerLevel = source - multiplier * atrValue1
previousLowerLevel = nz(lowerLevel )
previousUpperLevel = nz(upperLevel )
// Ensure continuity of lower and upper bands
lowerLevel := lowerLevel > previousLowerLevel or source < previousLowerLevel ? lowerLevel : previousLowerLevel
upperLevel := upperLevel < previousUpperLevel or source > previousUpperLevel ? upperLevel : previousUpperLevel
// Determine direction and SuperTrend
int trendDirection = na
float trendValue = na
previousTrend = trendValue
// Initialize direction
if na(atrValue1 )
trendDirection := 1
else if previousTrend == previousUpperLevel
trendDirection := source > upperLevel ? -1 : 1
else
trendDirection := source < lowerLevel ? 1 : -1
// Set SuperTrend value based on direction
trendValue := trendDirection == -1 ? lowerLevel : upperLevel
= superTrendCalc(atrMult, atrlen, ta.rms(close, rsmlen))
dist = math.abs(close-superTrendValue)
var chg = 0.0
var tp1 = 0.0
var tp2 = 0.0
var tp3 = 0.0
var tp4 = 0.0
var tp5 = 0.0
var tp6 = 0.0
var tp7 = 0.0
lvlCol = trendDirection > 0 ? red : green
var keys = array.new_line()
var printedtp1 = 0
var printedtp2 = 0
var printedtp3 = 0
var printedtp4 = 0
var printedtp5 = 0
var printedtp6 = 0
var printedtp7 = 0
if ta.cross(trendDirection, 0)
keys.clear()
printedtp1 := 0
printedtp2 := 0
printedtp3 := 0
printedtp4 := 0
printedtp5 := 0
printedtp6 := 0
printedtp7 := 0
chg := math.abs(superTrendValue-superTrendValue )
tp1 := superTrendValue + (trendDirection > 0 ? -chg : chg)
tp2 := superTrendValue + (trendDirection > 0 ? -chg * 2 : chg * 2)
tp3 := superTrendValue + (trendDirection > 0 ? -chg * 3 : chg * 3)
tp4 := superTrendValue + (trendDirection > 0 ? -chg * 4 : chg * 4)
tp5 := superTrendValue + (trendDirection > 0 ? -chg * 5 : chg * 5)
tp6 := superTrendValue + (trendDirection > 0 ? -chg * 6 : chg * 6)
tp7 := superTrendValue + (trendDirection > 0 ? -chg * 7 : chg * 7)
keys.push(line.new(bar_index , tp1, bar_index, tp1, color = lvlCol, width = 2))
printedtp1 := 1
tp = ta.crossunder(ta.rsi(dist, tplen), 60)
extreme = trendDirection > 0 ? low : high
extreme_tp1_dist = math.abs(extreme - tp1)
extreme_tp2_dist = math.abs(extreme - tp2)
extreme_tp3_dist = math.abs(extreme - tp3)
extreme_tp4_dist = math.abs(extreme - tp4)
extreme_tp5_dist = math.abs(extreme - tp5)
extreme_tp6_dist = math.abs(extreme - tp6)
extreme_tp7_dist = math.abs(extreme - tp7)
p = plot(superTrendValue, color = trendDirection > 0 ? color.new(red, 70) : color.new(green, 70))
upTrend = plot(close > superTrendValue ? superTrendValue : na, color = color.new(green, 70), style = plot.style_linebr) //, force_overlay = true
downTrend = plot(close < superTrendValue ? superTrendValue : na, color = color.new(red, 70), style = plot.style_linebr, force_overlay = false) //, force_overlay = true
bodyMiddle = plot(barstate.isfirst ? na : (open + close) / 2, "Body Middle",display = display.none)
fill(bodyMiddle, upTrend, (open + close) / 2, superTrendValue, color.new(green, 95), color.new(green, 70))
fill(bodyMiddle, downTrend, superTrendValue, (open + close) / 2, color.new(red, 70), color.new(red, 95))
plotchar(tp and trendDirection > 0, "RSI-Based Shorts TP", "X", location.belowbar, red, size = size.tiny)
plotchar(tp and trendDirection < 0, "RSI-Based Longs TP", "X", location.abovebar, green, size = size.tiny)
if printedtp2 == 0 and extreme_tp2_dist < extreme_tp1_dist
keys.push(line.new(bar_index , tp2, bar_index, tp2, color = lvlCol, width = 2))
printedtp2 := 1
if printedtp3 == 0 and extreme_tp3_dist < extreme_tp2_dist
keys.push(line.new(bar_index , tp3, bar_index, tp3, color = lvlCol, width = 2))
printedtp3 := 1
if printedtp4 == 0 and extreme_tp4_dist < extreme_tp3_dist
keys.push(line.new(bar_index , tp4, bar_index, tp4, color = lvlCol, width = 2))
printedtp4 := 1
if printedtp5 == 0 and extreme_tp5_dist < extreme_tp4_dist
keys.push(line.new(bar_index , tp5, bar_index, tp5, color = lvlCol, width = 2))
printedtp5 := 1
if printedtp6 == 0 and extreme_tp6_dist < extreme_tp5_dist
keys.push(line.new(bar_index , tp6, bar_index, tp6, color = lvlCol, width = 2))
printedtp6 := 1
if printedtp7 == 0 and extreme_tp7_dist < extreme_tp6_dist
keys.push(line.new(bar_index , tp7, bar_index, tp7, color = lvlCol, width = 2))
printedtp7 := 1
if keys.size() > 0
aSZ = keys.size()
for i = aSZ - 1 to 0
keys.get(i).set_x2(bar_index)
// Alert when SuperTrend changes direction
alertcondition(ta.cross(trendDirection, 0), title="SuperTrend Direction Change", message="SuperTrend has changed direction")
// Alert when each TP line is drawn
alertcondition(printedtp1 == 1, title="TP1 Line Drawn", message="TP1 line has been drawn")
alertcondition(printedtp2 == 1, title="TP2 Line Drawn", message="TP2 line has been drawn")
alertcondition(printedtp3 == 1, title="TP3 Line Drawn", message="TP3 line has been drawn")
alertcondition(printedtp4 == 1, title="TP4 Line Drawn", message="TP4 line has been drawn")
alertcondition(printedtp5 == 1, title="TP5 Line Drawn", message="TP5 line has been drawn")
alertcondition(printedtp6 == 1, title="TP6 Line Drawn", message="TP6 line has been drawn")
alertcondition(printedtp7 == 1, title="TP7 Line Drawn", message="TP7 line has been drawn")
// Alert for crossing under RSI
alertcondition(tp, title="Take-Profit Condition", message="Take-Profit condition met")
Estratégia Compre & Venda por média AjustadaEsse script vai fazer toda a leitura do mercado e posicionar a media de forma mais verdadeira onde apresente pra você somente a média real e com isso você ter mais certeza de onde buscar referencia da direção do preço .... Comprado ou vendido espere a confirmação de toque na linha e movimento contrário
Você pode usar um RSI e um MACD com Estocastico pra fazer a confirmação da leitura dele <3
Funciona muito e essa estrategia me deu 10K em pouco tempo!
Atenão com alavancagem e lembre-se que mercado financeiro é variavél.
Esse indicador não é bola de cristal e não pode prever o futuro!
ele apenas te auxilia a entrar nos melhores pontos
considere ainda usar stop e take profits ajustados
Previous Day High and Low + Separators Daily/Weekly RTHDescription:
This script displays the high and low points from the previous trading day along with daily and weekly separators. It is designed to help traders quickly identify critical price levels and session breaks, which can provide insights into support and resistance zones based on past trading behavior.
Functionality and Usage
Previous Day High/Low: This indicator captures and marks the high and low of the previous day’s regular trading hours (RTH) and extends these lines into the current trading day. This allows traders to monitor how current prices interact with these previous levels, which often serve as key areas of support and resistance.
Daily/Weekly Separators:
Daily Separator: Marks the start of each new trading day with a vertical line. Users can customize the line color, width, and style (solid or dotted). The script also places labels showing the day of the week and date at the bottom of each separator for better readability.
Weekly Separator: Marks the start of each new trading week with a distinct vertical line to help traders quickly identify weekly sessions and evaluate price trends or consolidations over the week.
This indicator allows customization of colors and styles for the daily and weekly separators, as well as the previous day's high and low lines. It plots on a clean chart to avoid clutter and ensure clarity for quick reference and trading analysis.
Technical Specifications
Regular Trading Hours (RTH) Customization: The script includes adjustable RTH start and end times. The default values are set to 9:30 AM and 4:00 PM (local time).
UTC Offset: Traders can set a UTC offset to adapt the script to different time zones for accuracy in marking session changes.
Pivot Levels: This indicator automatically adjusts the pivot levels based on the chart’s timeframe, providing contextually relevant levels for intraday, daily, or weekly use.
Limitations and Considerations
Intended for Daily and Intraday Analysis: This script is best suited for daily and intraday trading due to its focus on previous day/session highs and lows. It may be less relevant for longer-term strategies.
Static Reference Lines: The previous day's high and low lines are static references, designed to remain at their initial values and only update at the start of a new day. The lines are not predictive and should be used alongside other indicators or strategies.
This script provides essential market structure information without replicating other public domain indicators. It uses clearly defined, original logic and avoids lookahead functions or unsupported data accesses. The combination of previous high/low levels and separators offers traders a straightforward yet powerful tool for tracking important price zones.
SMA- Ashish SinghSMA
This script implements a Simple Moving Average (SMA) crossover strategy using three SMAs: 200-day, 50-day, and 20-day, with buy and sell signals triggered based on specific conditions involving these moving averages. The indicator is overlaid on the price chart, providing visual cues for potential buy and sell opportunities based on moving average crossovers.
Key Features:
Moving Averages:
The 200-day, 50-day, and 20-day SMAs are calculated and plotted on the price chart. These are key levels that traders use to assess trends.
The 200-day SMA represents the long-term trend, the 50-day SMA is used for medium-term trends, and the 20-day SMA is for short-term analysis.
Buy Signal:
A buy signal is triggered when the price is below all three moving averages (200 SMA, 50 SMA, 20 SMA) and the SMAs are in a specific downward trend (200 SMA > 50 SMA > 20 SMA). This is an indication of a potential upward reversal.
The buy signal is marked with a green triangle below the price bar.
Sell Signal:
A sell signal is triggered when the price is above all three moving averages and the SMAs are in a specific upward trend (200 SMA < 50 SMA < 20 SMA). This signals a potential downward reversal.
The sell signal is marked with a red triangle above the price bar.
Trade Information:
After a buy signal, the buy price, bar index, and timestamp are recorded. When a sell signal occurs, the percentage gain or loss is calculated along with the number of days between the buy and sell signals.
The script automatically displays a label on the chart showing the gain or loss percentage along with the number of days the trade lasted. Green labels represent gains, and red labels represent losses.
User-friendly Visuals:
The buy and sell signals are plotted as small triangles directly on the chart for easy identification.
Detailed trade information is provided with well-formatted labels to highlight the profit or loss after each trade.
How It Works:
This strategy helps traders to identify trend reversals by leveraging long-term and short-term moving averages.
A single buy or sell signal is triggered based on price movement relative to the SMAs and their order.
The tool is designed to help traders quickly spot buying and selling opportunities with clear visual indicators and gain/loss metrics.
This indicator is ideal for traders looking to implement a systematic SMA-based strategy with well-defined buy/sell points and automatic performance tracking for each trade.
Disclaimer: The information provided here is for educational and informational purposes only. It is not intended as financial advice or as a recommendation to buy or sell any stocks. Please conduct your own research or consult a financial advisor before making any investment decisions. ProfitLens does not guarantee the accuracy, completeness, or reliability of any information presented.
A.S.C.-9.1 RSI MACD ADX Strategy with Additional IndicatorsThis indicator generates buy and sell signals for a coin on a chart, as well as for total3 , btc.d and usdt.d
Buy: buy signal, sell:sell signal ,BDB:BTC.D Buy Signal,BDS:BTC.D Sell Signal,
TB:TOTAL Buy Signal,UB:USDT Buy Signal,US:USDT Sell Signal
Hodrick-Prescott Filter Cycle Component (YavuzAkbay)By distinguishing between trend and cyclical components, the HP Filter Cycle Component is an indicator that analyses price movements using a condensed form of the Hodrick-Prescott (HP) filter. In order to smooth out the trend from the price data and display the resulting cycle in a separate window, this script uses an approximate HP filter.
Trend Extraction: Using a programmable smoothness parameter (λ), the HP filter eliminates long-term patterns from the price series. Short-term swings are separated from the underlying price trend using this filter.
Cycle Component: The price-trend cyclical component shows possible cyclical highs and lows by capturing the price deviation around the smoothed trend line.
Important Notes:
The choice of lambda is essential. Recommended lambda levels are 100, 1600 and 14,400.
This indicator will be much more useful if it is used together with another indicator of mine, HP Filter Cycle Component.
Trading is risky, and most traders lose money. The indicators Yavuz Akbay offers are for informational and educational purposes only. All content should be considered hypothetical, selected after the facts to demonstrate my product, and not constructed as financial advice. Decisions to buy, sell, hold, or trade in securities, commodities, and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
This indicator is experimental and will always remain experimental. The indicator will be updated by Yavuz Akbay according to market conditions.
Basic RSI Strategy with MFI Description: This Pine Script is a custom trading strategy that combines the power of the RSI (Relative Strength Index) and MFI (Money Flow Index) indicators with additional signal filters and a user-friendly dashboard. The strategy is designed to identify potential entry and exit points based on dynamic conditions, providing an advanced approach to technical analysis and decision-making in trading.
Key Features:
RSI-Based Signals:
Generates buy signals when the RSI-based moving average crosses above specific thresholds (29 and 50).
Generates sell signals when the RSI-based moving average crosses below specific thresholds (50 and 69).
MFI Filtering:
Signals are validated only if the MFI value is within the specified range of 20 to 80, ensuring that signals are generated only when market conditions are favorable.
Dynamic Signal Thresholds:
The script includes adjustable thresholds for the percentage difference between consecutive bars, as well as the range between high and low prices, to refine signal accuracy.
Dashboard:
Displays real-time statistics in the top right corner of the chart, including the total number of signals, the count of buy and sell signals, and the time duration over which these signals were generated.
How to Use:
Settings: Customize the RSI and MFI lengths, along with thresholds for price movement and MFI range. This flexibility allows the strategy to be tailored to different market conditions and timeframes.
Dashboard Insight: Track the strategy's performance in real-time, with an intuitive overview of generated signals and their time distribution on the chart.
Ideal For:
This script is suitable for traders seeking a robust, customizable, and real-time signal generation strategy that combines momentum and volume indicators. The strategy’s unique filtering mechanism provides a higher level of precision, making it an excellent tool for those who prioritize signal accuracy and clarity.
Three SMAs with Dynamic EMA and MACD Filter StrategyThis Pine Script code is a trading strategy implemented in TradingView's strategy tester. It combines three simple moving averages (SMA), a dynamically adjustable period exponential moving average (EMA), and the moving average convergence divergence (MACD) to generate trading signals. Here’s a detailed breakdown of the code:
Strategy Settings:
The strategy() function defines the basic settings for the strategy, including the name, abbreviation, and whether it overlays on the price chart (overlay=true).
SMA Parameters:
len1, len2, and len3 are set to 5, 10, and 15, representing the periods of the three SMA lines.
sma1, sma2, and sma3 are calculated using the ta.sma() function, corresponding to the specified periods.
Dynamic EMA Setting:
ema_length is set using the input() function, allowing users to dynamically adjust the EMA period, with a default value of 200.
ema is the EMA calculated based on the user-defined period, using the ta.ema() function.
MACD Parameters:
fast_length, slow_length, and signal_length are set to 12, 26, and 9, which are standard parameters for calculating MACD.
fast_ma and slow_ma are the fast and slow EMAs, respectively.
macd represents the difference between the fast and slow EMAs.
signal is the signal line of the MACD, typically an EMA of the MACD line.
Plotting:
The plot() function is used to display the three SMA lines and the EMA line, each in a different color for easy differentiation.
Trade Conditions:
The buyCondition is triggered when sma1 > sma2 > sma3, the closing price is above the EMA, and the MACD line is above the signal line.
The sellCondition is triggered when sma3 > sma2 > sma1, the closing price is below the EMA, and the MACD line is below the signal line.
Executing Trades:
The strategy.entry() function is used to execute long or short trades based on the conditions.
This strategy combines trend-following elements (through the SMA and EMA) and momentum (through the MACD) to capture potential trading opportunities in given trend and momentum conditions. Its effectiveness depends on specific market conditions, so thorough backtesting and risk evaluation are essential before real-world application.
5 MA Cross SignalСкользящие средние (МА): Каждая из пяти МА рассчитывается с использованием ta.sma с соответствующим периодом (9, 21, 50, 100, и 200).
Условия покупки и продажи:
Сигнал на покупку возникает, когда каждая последующая МА с меньшим периодом выше МА с более длинным периодом (MA9 > MA21 > MA50 > MA100 > MA200).
Сигнал на продажу возникает, когда каждая МА с меньшим периодом ниже МА с более длинным периодом.
Отображение сигналов на графике: Когда выполняются условия для покупки или продажи, на графике появляются соответствующие стрелки и метки "BUY" или "SELL".
Линии МА: Линии МА с разными цветами для удобства.
15 MIN_1ST BUY RG C+/-2O_SELL_GR C+/-2Obuy sell based on 1st 15 m,in breakout on daily basis.
onty trade in ist signal generated and if subsequent candle break the range of signal generated side.
ESEA LE THANH HIEPĐây là chỉ báo kết hợp có tên là ESEA LE THANH HIEP, nó được lồng ghép bởi các chỉ báo RSI 14 + EMA 9 + WMA 45 giúp chúng ta có cái nhìn trực quan trong giao dịch.
Gap Finder with Box FillSetup and Inputs
The indicator checks the current and previous candles to find gaps, using a color input for filling the gap area on the chart.
Gap Detection:
If the current candle opens higher than the previous close and doesn’t overlap with the previous candle’s range, it marks this as a gap-up.
If the current candle opens lower than the previous close without overlap, it’s marked as a gap-down.
Drawing the Gap:
When a gap-up or gap-down is found, the script draws a box from the previous close to the current candle’s low or high, filling it with the chosen color.
Benefits
Visual Aid: The filled box highlights gaps, making them easy to spot on the chart.
Trade Signals: Gaps can show strong market moves, helping traders spot potential entries or watch for reversals.
Customizable: You can adjust the color to fit your chart style, making the gaps stand out clearly.
This simple tool gives traders a quick view of gaps, which are often key points of interest in technical analysis.
NYSE Divergence & Market BreadthTO BE USED ON THE 1' CHART
!! The underlying instrument must be either ES1!, ES2!, ES or MES individual contract !!
!! The indicator uses the underlying asset to calculate the TICK divergences !!
Plots the NYSE tick in relation to the /es to identify divergences.
Plots the NYSE market breadth at the market open.
Plots the NYSE market breadth throughout the day.
Visit eminiaddict.com to learn how to use it in your trading.