Premarket and Opening Range (First 30 minutes) LevelsThis indicator is for people who like to utilize the pre-market highs and pre-market Low's as well as the first 30 minutes high and low, or some people like to call the opening range. I hope you find value in this. Note, the levels will only appear after tracking. Premarket levels will happen after pre-market closes. Opening Range levels will show right after the first 30 minutes.
Indicators and strategies
Mongoose Market Tracker
**Mongoose Market Tracker**
The **Mongoose Market Sentinel** script is a custom indicator designed to help traders identify unusual market activity that may indicate potential manipulation. This script uses dynamic volume and price action analysis to highlight areas where sudden spikes in volume or irregular candle structures occur.
### Features:
- **Volume Spike Detection**: Flags areas where trading volume significantly deviates from the average, potentially signaling manipulation or abnormal market behavior.
- **Wick-to-Body Ratio Analysis**: Detects candles with disproportionate wicks compared to their bodies, which may indicate price manipulation or liquidity hunting.
- **Auto-Adjusting Thresholds**: Automatically optimizes detection parameters based on the selected time frame, making it suitable for both short-term and long-term analysis.
- **Visual Alerts**: Highlights suspicious activity directly on the chart with clear labels and background coloring, designed for easy readability in dark mode.
- **Customizable Alerts**: Allows users to set notifications for flagged events, ensuring timely awareness of potential risks.
### Intended Use:
This script is a tool for monitoring market behavior and is not a standalone trading strategy. Traders should use it as a supplementary analysis tool alongside other indicators and market knowledge. Always conduct your own research and practice risk management when making trading decisions.
Algo.sambu//@version=6
indicator("Algo.sambu", shorttitle="Algo.sambu", overlay=true)
// MACD Inputs
fast_length = input.int(12, title="Fast Length", group="MACD Settings")
slow_length = input.int(26, title="Slow Length", group="MACD Settings")
signal_length = input.int(9, title="Signal Smoothing", group="MACD Settings")
src = input.source(close, title="Source", group="MACD Settings")
// MACD Calculation
fast_ma = ta.ema(src, fast_length)
slow_ma = ta.ema(src, slow_length)
macd = fast_ma - slow_ma
signal = ta.ema(macd, signal_length)
hist = macd - signal
// MACD Plot
plot(macd, color=color.blue, title="MACD Line")
plot(signal, color=color.orange, title="Signal Line")
histoColor = hist > 0 ? color.green : color.red
plot(hist, style=plot.style_columns, color=histoColor, title="Histogram")
// Divergence Inputs
lookback_left = input.int(5, title="Left Lookback", group="Divergence Settings")
lookback_right = input.int(5, title="Right Lookback", group="Divergence Settings")
// Detecting Pivot Highs and Lows
pivotHigh(src, lbL, lbR) =>
src > ta.highest(src, lbL + lbR) ? src : na
pivotLow(src, lbL, lbR) =>
src < ta.lowest(src, lbL + lbR) ? src : na
ph = pivotHigh(hist, lookback_left, lookback_right)
pl = pivotLow(hist, lookback_left, lookback_right)
// Plot Divergence Points
plotshape(ph, style=shape.triangleup, color=color.red, location=location.abovebar, title="Pivot High")
plotshape(pl, style=shape.triangledown, color=color.green, location=location.belowbar, title="Pivot Low")
// Alerts
alertcondition(ta.crossover(macd, signal), "MACD Buy Signal", "MACD crosses above Signal Line")
alertcondition(ta.crossunder(macd, signal), "MACD Sell Signal", "MACD crosses below Signal Line")
Soul Button Scalping (1 min chart) V 1.0Indicator Description
- P Signal: The foundational buy signal. It should be confirmed by observing RSI divergence on the 1-minute chart.
- Green, Orange, and Blue Signals: Three buy signals generated through the combination of multiple oscillators. These signals should also be cross-referenced with the RSI on the 1-minute chart.
- Big White and Big Yellow Signals: These represent strong buy signals, triggered in extreme oversold conditions.
- BEST BUY Signal: The most reliable and powerful buy signal available in this indicator.
____________
Red Sell Signal: A straightforward sell signal indicating potential overbought conditions.
____________
Usage Guidance
This scalping indicator is specifically designed for use on the 1-minute chart, incorporating data from the 5-minute chart for added context. It is most effective when used in conjunction with:
• VWAP (Volume Weighted Average Price), already included in the indicator.
• RSI on the 1-minute chart, which should be opened as a separate indicator.
• Trendlines, structure breakouts, and price action analysis to confirm signals.
Intended for Crypto Scalping:
The indicator is optimized for scalping cryptocurrency markets.
____________
Future Enhancements:
• Integration of price action and candlestick patterns.
• A refined version tailored for trading futures contracts, specifically ES and MES in the stock market.
UM VIX status table and Roll Yield with EMA
Description :
This oscillator indicator gives you a quick snapshot of VIX, VIX futures prices, and the related VIX roll yield at a glance. When the roll yield is greater than 0, The front-month VX1 future contract is less than the next-month VX2 contract. This is called Contango and is typical for the majority of the time. If the roll yield falls below zero. This is considered backwardation where the front-month VX1 contract is higher than the value of the next-month VX2 contract. Contango is most common. When Backwardation occurs, there is usually high volatility present.
Features :
The red and green fill indicate the current roll yield with the gray line being zero.
An Exponential moving average is overlaid on the roll yield. It is red when trending down and green when trending up. If you right-click the indicator, you can set alerts for roll yield EMA color transitions green to red or red to green.
Suggested uses:
The author suggests a one hour chart using the 55 period EMA with a 60 minute setting in the indicator. This gives you a visual idea of whether the roll yield is rising or falling. The roll yield will often change directions at market turning points. For example if the roll yield EMA changes from red to green, this indicates a rising roll yield and volatility is subsiding. This could be considered bullish. If the roll yield begins falling, this indicates volatility is rising. This may be negative for stocks and indexes.
I look for short volatility positions (SVIX) when the roll yield is rising. I look for long volatility positions (VXX, UVXY, UVIX) when the roll yield begins falling. The indicator can be added to any chart. I suggest using the VX1, SPY, VIX, or other major stock index.
Set the time frame to your trading style. The default is 60 minutes. Note, the timeframe of the indicator does NOT utilize the current chart timeframe, it must be set to the desired timeframe. I manually input text on the chart indicator for understanding periods of Long and Short Volatility.
Settings and Defaults
The EMA is set to 55 by default and the table location is set to the lower right. The default time frame is 60 minutes. These features are all user configurable.
Other considerations
Sometimes the Tradingview data when a VX contract expires and another contract begins, may not transition cleanly and appear as a break on the chart. Tradingview is working on this as stated from my last request. This VX contract from one expiring contract to the next can be fixed on the price chart manually: ( Chart settings, Symbol, check the "Adjust for contract changes" box)
Observations
Pull up a one-hour chart of VX1 or SPY. Add this indicator. roll it back in time to see how the market and volatility reacts when the EMA changes from red to green and green to red. Adjust the EMA to your trading style and time frame. Use this for added confirmation of your long and short volatility trades with the Volatility ETFs SVIX, SVXY, VXX, UVXY, UVIX. or use it for long/short indexes such as SPY.
DayTrade with Gap+EMA+VWAPThis script covers 2 timeframe EMAs along with VWAP from session open to identify day trades. works well with gap movers
Mongoose Signals: Trend & Momentum Hunter
**Mongoose Signals: Trend & Momentum Hunter**
Stay ahead of the market with **Mongoose Signals**, an agile and precise tool designed to detect key **trend reversals** and **momentum shifts**. This script combines the power of:
- **Moving Averages (MA):** Tracks overall trend direction.
- **RSI:** Identifies overbought/oversold conditions and momentum.
- **MACD:** Confirms bullish or bearish momentum changes.
- **Volume Delta:** Ensures signals align with strong market participation.
With built-in **background trend zones** and intuitive **signal markers**, this script is perfect for traders seeking actionable and reliable alerts. Let the mongoose hunt down opportunities for you!
Bcorp Bollinger StrategyWhen price is outside of the band it will enter with stop loss at previous high or low and go for a 1:2
Entry Price % Difference//@version=5
indicator("Entry Price % Difference", overlay=true)
// User input for entry price
entryPrice = input.float(title="Entry Price", defval=100.0, step=0.1)
// Draggable input for profit and stop loss levels
profitLevel = input.float(title="Profit Level (%)", defval=10.0, step=0.1)
stopLossLevel = input.float(title="Stop Loss Level (%)", defval=-10.0, step=0.1)
// User input for USDT amount in the trade
usdtAmount = input.float(title="USDT Amount", defval=1000.0, step=1.0)
// User input for trade type (Long or Short)
tradeType = input.string(title="Trade Type", defval="Long", options= )
// User input for line styles and colors
profitLineStyle = input.string(title="Profit Line Style", defval="Dotted", options= )
profitLineColor = input.color(title="Profit Line Color", defval=color.green)
profitLineWidth = input.int(title="Profit Line Width", defval=1, minval=1, maxval=5)
stopLossLineStyle = input.string(title="Stop Loss Line Style", defval="Dotted", options= )
stopLossLineColor = input.color(title="Stop Loss Line Color", defval=color.red)
stopLossLineWidth = input.int(title="Stop Loss Line Width", defval=1, minval=1, maxval=5)
entryLineColor = input.color(title="Entry Line Color", defval=color.blue)
entryLineWidth = input.int(title="Entry Line Width", defval=1, minval=1, maxval=5)
// User input for label customization
labelTextColor = input.color(title="Label Text Color", defval=color.white)
labelBackgroundColor = input.color(title="Label Background Color", defval=color.gray)
// User input for fee percentage
feePercentage = input.float(title="Fee Percentage (%)", defval=0.1, step=0.01)
// Map line styles
profitStyle = profitLineStyle == "Solid" ? line.style_solid : profitLineStyle == "Dotted" ? line.style_dotted : line.style_dashed
stopLossStyle = stopLossLineStyle == "Solid" ? line.style_solid : stopLossLineStyle == "Dotted" ? line.style_dotted : line.style_dashed
// Calculate percentage difference
livePrice = close
percentDifference = tradeType == "Long" ? ((livePrice - entryPrice) / entryPrice) * 100 : ((entryPrice - livePrice) / entryPrice) * 100
// Calculate profit or loss
profitOrLoss = usdtAmount * (percentDifference / 100)
// Calculate fees and net profit or loss
feeAmount = usdtAmount * (feePercentage / 100)
netProfitOrLoss = profitOrLoss - feeAmount
// Display percentage difference, profit/loss, and fees as a single label following the current price
if bar_index == last_bar_index
labelColor = percentDifference >= 0 ? color.new(color.green, 80) : color.new(color.red, 80)
var label plLabel = na
if na(plLabel)
plLabel := label.new(bar_index + 1, livePrice + (livePrice * 0.005), str.tostring(percentDifference, "0.00") + "% " + "P/L: " + str.tostring(netProfitOrLoss, "0.00") + " USDT (Fee: " + str.tostring(feeAmount, "0.00") + ")",
style=label.style_label_down, color=labelBackgroundColor, textcolor=labelTextColor)
else
label.set_xy(plLabel, bar_index + 1, livePrice + (livePrice * 0.005))
label.set_text(plLabel, str.tostring(percentDifference, "0.00") + "% " + "P/L: " + str.tostring(netProfitOrLoss, "0.00") + " USDT (Fee: " + str.tostring(feeAmount, "0.00") + ")")
label.set_color(plLabel, labelBackgroundColor)
label.set_textcolor(plLabel, labelTextColor)
// Calculate profit and stop loss levels based on trade type
profitPrice = tradeType == "Long" ? entryPrice * (1 + profitLevel / 100) : entryPrice * (1 - profitLevel / 100)
stopLossPrice = tradeType == "Long" ? entryPrice * (1 + stopLossLevel / 100) : entryPrice * (1 - stopLossLevel / 100)
// Plot profit, stop loss, and entry price lines
line.new(x1=bar_index - 1, y1=profitPrice, x2=bar_index + 1, y2=profitPrice, color=profitLineColor, width=profitLineWidth, style=profitStyle)
line.new(x1=bar_index - 1, y1=stopLossPrice, x2=bar_index + 1, y2=stopLossPrice, color=stopLossLineColor, width=stopLossLineWidth, style=stopLossStyle)
line.new(x1=bar_index - 1, y1=entryPrice, x2=bar_index + 1, y2=entryPrice, color=entryLineColor, width=entryLineWidth, style=line.style_solid)
// Show percentage difference in the price scale
plot(percentDifference, title="% Difference on Price Scale", color=color.new(color.blue, 0), linewidth=0, display=display.price_scale)
// Add alerts for profit and stop loss levels
alertcondition(livePrice >= profitPrice, title="Profit Target Reached", message="The price has reached or exceeded the profit target.")
alertcondition(livePrice <= stopLossPrice, title="Stop Loss Triggered", message="The price has reached or dropped below the stop loss level.")
EMA 50 Crossover Strategy (Long and Short)EMA Crossover Strategy (Long and Short)
This Pine Script implements an Exponential Moving Average (EMA) Crossover Strategy for both long and short trades. The main indicator is the 50-period EMA, used to detect trend reversals.
How It Works
Long Trades: Opened when the price crosses above the EMA, indicating an upward trend.
Short Trades: Entered when the price crosses below the EMA, signaling a downward trend.
Features and Advantages
Simplicity: Easy to understand and based on a proven trend-following indicator.
Flexibility : Effective across various timeframes, though optimal on the daily chart.
Risk Management: Parameters for initial capital and leverage allow customization to fit individual trading preferences.
Performance Highlights
Historical testing demonstrates strong performance on daily charts.
Achieves a profit factor above 2 and a net profit of 58,113 USDT with a leverage of 2.
Designed to perform best in trending markets, while choppy or sideways markets may generate false signals.
Key Parameters
EMA Length : The default is 50 periods, adjustable based on user preference.
Leverage: Default is set to 2.0, modifiable for risk adjustment.
Initial Capital: Default starting capital is 5,000 units.
Important Notes
This script is best suited for traders looking to capture trends consistently in both directions (long and short).
Results may vary in non-trending or volatile markets; use additional filters or signals if needed.
Black-Scholes Option Pricing📊 1. Black-Scholes Model
• Purpose: Evaluates the price of options on individual stocks and indices.
• Strength: Well-suited for liquid markets with reliable volatility data.
• Weakness: Assumes constant volatility and risk-free interest rate.
Ema plus DSGreetings everyone! I've been thoroughly enjoying refining this strategy over the past few weeks. After much hard work and dedication, I am finally ready to release it to the public and share what I have been diligently working on.
This strategy enables you to see an entry and exit in a trade. The logic behind this is to identify potential support and resistance levels based on fractal swing highs and swing lows and validate these levels using ATR analysis.
The Ema+ :
This calculates the Exponential Moving Average (EMA) using the “Close” value and length of “50”. It plots the calculated EMA on the chart, The Ema color is determined by a ternary operator that checks if the previous close price is greater than the EMA and the current close price is also greater than the EMA, in which case the color is set to green, otherwise it is set to red.
The Dynamic Structure DS:
Identifies support and resistance zones based on fractal swing highs and swing lows, as well as Average True Range (ATR) analysis. The script takes several user inputs, including the ATR movement required, the lookback period for detecting swing highs and lows, the maximum zone size compared to ATR, the zone update count before reset, and a boolean flag to determine whether to draw the previous structure (i.e., support-turned-resistance and resistance-turned-support).
This script uses the ta.atr() function to calculate the ATR value for a given period (default is 14). It then detects fractal swing highs and swing lows based on the highest and lowest bodies of candles, respectively, within the specified lookback period. If a swing high or swing low is detected, the script calculates the potential resistance and support levels based on the difference between the swing high/low and the previous swing high/low.
It also checks for significant declines and rallies since detecting the swing highs and swing lows, respectively, based on the ATR movement required. If a significant decline or rally is detected, the script stores the previous resistance and support levels in variables and updates the current resistance and support levels in variables.
And It logic for counting the number of times a resistance or support level has been violated without being reset. If a resistance or support level has been violated, the script resets the search for new resistance or support levels.
This script also includes logic for checking if the previous resistance or support level has been violated, and resetting the potential resistance or support levels if they have been. It also includes logic for drawing the previous structure (i.e., support-turned-resistance and resistance-turned-support) based on user input.
Overall, this script aims to identify potential support and resistance levels based on fractal swing highs and swing lows and validate these levels using ATR analysis, while also providing functionality for resetting the search for new levels if the previous levels have been violated.
I sincerely appreciate your efforts in giving my strategy a try. Wishing you the utmost success in your endeavors. Don't forget to follow me for future updates!
Ema plus DS
Greetings everyone! I've been thoroughly enjoying refining this strategy over the past few weeks. After much hard work and dedication, I am finally ready to release it to the public and share what I have been diligently working on.
This strategy enables you to see an entry and exit in a trade. The logic behind this is to identify potential support and resistance levels based on fractal swing highs and swing lows and validate these levels using ATR analysis.
The Ema+ :
This calculates the Exponential Moving Average (EMA) using the “Close” value and length of “50”. It plots the calculated EMA on the chart, The Ema color is determined by a ternary operator that checks if the previous close price is greater than the EMA and the current close price is also greater than the EMA, in which case the color is set to green, otherwise it is set to red.
The Dynamic Structure DS:
Identifies support and resistance zones based on fractal swing highs and swing lows, as well as Average True Range (ATR) analysis. The script takes several user inputs, including the ATR movement required, the lookback period for detecting swing highs and lows, the maximum zone size compared to ATR, the zone update count before reset, and a boolean flag to determine whether to draw the previous structure (i.e., support-turned-resistance and resistance-turned-support).
This script uses the ta.atr() function to calculate the ATR value for a given period (default is 14). It then detects fractal swing highs and swing lows based on the highest and lowest bodies of candles, respectively, within the specified lookback period. If a swing high or swing low is detected, the script calculates the potential resistance and support levels based on the difference between the swing high/low and the previous swing high/low.
It also checks for significant declines and rallies since detecting the swing highs and swing lows, respectively, based on the ATR movement required. If a significant decline or rally is detected, the script stores the previous resistance and support levels in variables and updates the current resistance and support levels in variables.
And It logic for counting the number of times a resistance or support level has been violated without being reset. If a resistance or support level has been violated, the script resets the search for new resistance or support levels.
This script also includes logic for checking if the previous resistance or support level has been violated, and resetting the potential resistance or support levels if they have been. It also includes logic for drawing the previous structure (i.e., support-turned-resistance and resistance-turned-support) based on user input.
Overall, this script aims to identify potential support and resistance levels based on fractal swing highs and swing lows and validate these levels using ATR analysis, while also providing functionality for resetting the search for new levels if the previous levels have been violated.
I sincerely appreciate your efforts in giving my strategy a try. Wishing you the utmost success in your endeavors. Don't forget to follow me for future updates!
Nathan 5-Minute ETF Strategy for SPXS with 0.4% GainETF EMA crossover strategy for 5 minute timeframe.
High Volume Support and Resistance Levels2مؤشر "High Volume Support and Resistance Levels" هو أداة تحليل تقني تهدف إلى مساعدة المتداولين في تحديد مستويات الدعم والمقاومة الأكثر أهمية بناءً على أحجام التداول العالية. يعتمد المؤشر على فكرة أن المستويات التي تحدث عندها أحجام تداول كبيرة هي نقاط مهمة حيث يكون للسعر احتمالية كبيرة للتوقف أو الارتداد أو حتى الكسر.
فوائد استخدام المؤشر:
يتم تحديد مستويات الدعم والمقاومة بناءً على النشاط الكبير في السوق، مما يعكس أهمية هذه المستويات بالنسبة للمتداولين الآخرين هذه المستويات تعتبر نقاط رئيسية لاتخاذ قرارات التداول.
تحليل البيانات بسهولة بدلاً من الاعتماد على تحليل يدوي أو تخمين مستويات الدعم والمقاومة، يقوم المؤشر بمعالجة البيانات تلقائيًا لتوفير مستويات دقيقة.
يساعد المؤشر على التعرف على كسر الدعم أو المقاومة، وهو أمر يمكن أن يكون إشارة لبداية اتجاه جديد أو تغيير في الزخم.
تخصيص كامل حسب احتياجات المتداول:
القدرة على تحديد عدد المستويات المطلوبة (1 إلى 6 مستويات).
إمكانية اختيار ألوان الخطوط وسمكها لتتناسب مع التفضيلات الشخصية.
تنبيهات للكسر:
يرسل المؤشر تنبيهًا عندما يتجاوز السعر مستوى مقاومة أو دعم رئيسي. هذا التنبيه يمكن أن يساعد في اتخاذ قرارات سريعة للتداول.
الدقة:
المؤشر يقوم بتحليل أحجام التداول خلال فترة محددة (مثل 500 شمعة) مما يجعل نتائجه قائمة على بيانات دقيقة وموثوقة.
كيف يعمل المؤشر؟
تحليل الشموع السابقة:
المؤشر يقوم بمراجعة عدد معين من الشموع السابقة (الفترة الزمنية تُحدد في الإعدادات).
يتم اختيار الشموع ذات أحجام التداول الأعلى.
رسم خطوط الدعم والمقاومة:
يتم رسم خطوط أفقية على الرسم البياني عند أعلى وأدنى سعر للشموع ذات أحجام التداول العالية.
الخطوط تمثل مستويات الدعم والمقاومة الرئيسية.
التنبيه عند الكسر:
إذا تجاوز السعر أعلى مستوى مقاومة، يعتبر ذلك إشارة إلى كسر صعودي (Breakout).
إذا انخفض السعر أسفل مستوى الدعم، يعتبر ذلك إشارة إلى كسر هبوطي.
تنويه:
المؤشر هو أداة مساعدة فقط ويجب استخدامه مع التحليل الفني والأساسي لتحقيق أفضل النتائج.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView.
Introduction to the indicator:
The "High Volume Support and Resistance Levels" indicator is a technical analysis tool that aims to help traders identify the most important support and resistance levels based on high trading volumes. The indicator is based on the idea that levels at which high trading volumes occur are important points where the price has a high probability of stopping, rebounding or even breaking.
Benefits of using the indicator:
Support and resistance levels are determined based on high market activity, reflecting the importance of these levels to other traders. These levels are key points for making trading decisions.
Easily analyze data Instead of relying on manual analysis or guessing support and resistance levels, the indicator automatically processes the data to provide accurate levels.
The indicator helps identify a break of support or resistance, which can be a signal of the beginning of a new trend or a change in momentum.
Fully customizable to the needs of the trader:
Ability to specify the number of levels required (1 to 6 levels).
Possibility to choose the colors and thickness of the lines to suit personal preferences.
Break Alerts:
The indicator sends an alert when the price breaks a major resistance or support level. This alert can help in making quick trading decisions.
Accuracy:
The indicator analyzes the trading volumes over a specific period (such as 500 candles) making its results based on accurate and reliable data.
How does the indicator work?
Previous candle analysis:
The indicator reviews a certain number of previous candles (the time period is specified in the settings).
Candles with the highest trading volumes are selected.
Drawing support and resistance lines:
Horizontal lines are drawn on the chart at the highest and lowest prices of candles with high trading volumes.
The lines represent the main support and resistance levels.
Breakout alert:
If the price exceeds the highest resistance level, this is a signal for an upward breakout.
If the price drops below the support level, this is a signal for a downward breakout.
Disclaimer:
The indicator is an auxiliary tool only and should be used in conjunction with technical and fundamental analysis to achieve the best results.
Disclaimer
The information and posts are not intended to be, or constitute, any financial, investment, trading or other types of advice or recommendations provided or endorsed by TradingView.
EMA Ribbon (Oriventi)Description:
The EMA Ribbon Indicator provides a visual representation of multiple Exponential Moving Averages (EMAs) directly on the price chart. This tool is designed to help traders identify trends and potential buy/sell opportunities with ease. The indicator includes the following features:
- Customizable EMAs: Includes 9 EMAs with adjustable lengths (default: 21, 25, 30, 35, 40, 45, 50, 55, 200).
- Color-Coded Trend Signals:
Green: Indicates a potential bullish trend (when the fastest EMA crosses above the slowest (EMA).
Red: Indicates a potential bearish trend (when the fastest EMA crosses below the slowest (EMA).
- EMA Ribbon Visualization: Gradually transparent ribbons for clarity and to distinguish individual EMA lines.
- Highlighting the Key EMA (200): A bold blue line to emphasize the long-term trend.
This indicator is ideal for traders who rely on trend-following strategies or want a quick overview of the market's directional bias. Customize the EMA lengths to suit your trading style and timeframe preferences.
How to Use:
Observe the EMA ribbons' alignment to gauge trend strength and direction.
Use the color coding (green or red) to identify potential buy or sell signals.
Combine with other indicators or price action for confirmation.
Enjoy enhanced trend analysis with the EMA Ribbon Indicator!
DOL, SMT, FVG with Entry/Exit Signals//@version=5
indicator("DOL, SMT, FVG with Entry/Exit Signals", overlay=true)
// تحديد مستوى افتتاح اليوم (DOL)
var float dol = na
if (dayofweek != dayofweek ) // بداية يوم جديد
dol := open
// رسم مستوى DOL
plot(dol, title="Daily Open Level (DOL)", color=color.blue, linewidth=2)
// حساب المقاومات والدعوم
resistance = ta.highest(high, 20) // أعلى مستوى في آخر 20 شمعة
support = ta.lowest(low, 20) // أدنى مستوى في آخر 20 شمعة
plot(resistance, title="Resistance", color=color.red, linewidth=1)
plot(support, title="Support", color=color.green, linewidth=1)
// تحديد فجوات القيمة العادلة (FVG)
fvg_up = high < low and low > high // فجوة صعودية
fvg_down = low > high and high < low // فجوة هبوطية
// تلوين الخلفية بناءً على فجوات FVG
bgcolor(fvg_up ? color.new(color.green, 85) : na, title="Bullish FVG")
bgcolor(fvg_down ? color.new(color.red, 85) : na, title="Bearish FVG")
// مقارنة الأصول لاستخدام SMT
asset1 = request.security("EURUSD", "5", close) // الأصل الأول
asset2 = request.security("GBPUSD", "5", close) // الأصل الثاني
// إشارات SMT - مقارنة القمم والقيعان
smt_bullish = ta.highest(asset1, 10) > ta.highest(asset1 , 10) and ta.highest(asset2, 10) < ta.highest(asset2 , 10)
smt_bearish = ta.lowest(asset1, 10) < ta.lowest(asset1 , 10) and ta.lowest(asset2, 10) > ta.lowest(asset2 , 10)
// إشارات الدخول
if smt_bullish and close > dol
label.new(bar_index, high, "دخول شراء", style=label.style_label_up, color=color.green, textcolor=color.white)
if smt_bearish and close < dol
label.new(bar_index, low, "دخول بيع", style=label.style_label_down, color=color.red, textcolor=color.white)
// إشارات الخروج
if close < support
label.new(bar_index, low, "خروج بيع", style=label.style_label_down, color=color.red, textcolor=color.white)
if close > resistance
label.new(bar_index, high, "خروج شراء", style=label.style_label_up, color=color.green, textcolor=color.white)
DOL, SMT, FVG with Entry/Exit Signals//@version=5
indicator("DOL, SMT, FVG with Entry/Exit Signals", overlay=true)
// تحديد مستوى افتتاح اليوم (DOL)
var float dol = na
if (dayofweek != dayofweek ) // بداية يوم جديد
dol := open
// رسم مستوى DOL
plot(dol, title="Daily Open Level (DOL)", color=color.blue, linewidth=2)
// حساب المقاومات والدعوم
resistance = ta.highest(high, 20) // أعلى مستوى في آخر 20 شمعة
support = ta.lowest(low, 20) // أدنى مستوى في آخر 20 شمعة
plot(resistance, title="Resistance", color=color.red, linewidth=1)
plot(support, title="Support", color=color.green, linewidth=1)
// تحديد فجوات القيمة العادلة (FVG)
fvg_up = high < low and low > high // فجوة صعودية
fvg_down = low > high and high < low // فجوة هبوطية
// تلوين الخلفية بناءً على فجوات FVG
bgcolor(fvg_up ? color.new(color.green, 85) : na, title="Bullish FVG")
bgcolor(fvg_down ? color.new(color.red, 85) : na, title="Bearish FVG")
// مقارنة الأصول لاستخدام SMT
asset1 = request.security("EURUSD", "5", close) // الأصل الأول
asset2 = request.security("GBPUSD", "5", close) // الأصل الثاني
// إشارات SMT - مقارنة القمم والقيعان
smt_bullish = ta.highest(asset1, 10) > ta.highest(asset1 , 10) and ta.highest(asset2, 10) < ta.highest(asset2 , 10)
smt_bearish = ta.lowest(asset1, 10) < ta.lowest(asset1 , 10) and ta.lowest(asset2, 10) > ta.lowest(asset2 , 10)
// إشارات الدخول
if smt_bullish and close > dol
label.new(bar_index, high, "دخول شراء", style=label.style_label_up, color=color.green, textcolor=color.white)
if smt_bearish and close < dol
label.new(bar_index, low, "دخول بيع", style=label.style_label_down, color=color.red, textcolor=color.white)
// إشارات الخروج
if close < support
label.new(bar_index, low, "خروج بيع", style=label.style_label_down, color=color.red, textcolor=color.white)
if close > resistance
label.new(bar_index, high, "خروج شراء", style=label.style_label_up, color=color.green, textcolor=color.white)
Buy & Hold aka. HODL StrategyThis is a simply HODL or Buy & Hold strategy, which is super useful to see the risk and reward of such a strategy.
The benefit of using this strategy is that you also get to see the Max Drawdown (Risk).
This way you can compare it to the Net Profit (Reward) and decide if it's worth it for you.
This strategy buys on the Start Date and sells either on the End Date or on the last candle if the End Date is in the future.
Remember that the strategy must close the trade (sell) otherwise you don't see any results in the Strategy Tester (this is how it works).
#FW Pi Cycle Top Indicator StrategyStrategy Overview
The Pi Cycle Top Indicator has historically been effective in picking out the timing of market cycle highs to within 3 days. It uses the 111 day moving average (111DMA) and a newly created multiple of the 350 day moving average, the 350DMA x 2.
Note: The multiple is of the price values of the 350DMA not the number of days.
For the past three market cycles, when the 111DMA moves up and crosses the 350DMA x 2 we see that it coincides with the price of Bitcoin peaking.
It is also interesting to note that 350 / 111 is 3.153, which is very close to Pi = 3.142. In fact, it is the closest we can get to Pi when dividing 350 by another whole number.
It once again demonstrates the cyclical nature of Bitcoin price action over long time frames. Though in this instance it does so with a high degree of accuracy over the past 7 years.How It Can Be Used
Pi Cycle Top is useful to indicate when the market is very overheated. So overheated that the shorter term moving average, which is the 111 day moving average, has reached a x2 multiple of the 350 day moving average. Historically it has proved advantageous to sell Bitcoin at this time in Bitcoin's price cycles.
Buy/Sell Signals with Woodies CCI FilterThis script combines multiple indicators to provide precise buy/sell signals while filtering out false signals. It integrates Bollinger Bands, Woodies CCI, OBV, and ATR to create a robust trading strategy suitable for both trend-following and mean-reversion approaches. Here's how it works:
-Bollinger Bands: Identify overbought and oversold zones based on price volatility.
-Woodies CCI: Acts as a momentum filter to validate buy/sell signals.
-OBV (On-Balance Volume): Confirms the direction of price movement using volume.
-ATR (Average True Range): Determines realistic Take Profit (TP) and Stop Loss (SL) levels based on market volatility.
How It Works
-A Buy Signal is triggered when the price crosses above the short-term moving average (MA), and both the short-term and long-term Woodies CCI confirm upward momentum.
-A Sell Signal is triggered when the price crosses below the short-term MA, and both CCIs confirm downward momentum.
-The script includes realistic TP/SL levels using ATR to manage risks effectively.
Script này kết hợp nhiều chỉ báo để cung cấp tín hiệu mua/bán chính xác đồng thời lọc bỏ các tín hiệu sai. Nó tích hợp Bollinger Bands, Woodies CCI, OBV, và ATR để tạo ra một chiến lược giao dịch mạnh mẽ, phù hợp cho cả phương pháp theo xu hướng và hồi quy giá. Dưới đây là cách hoạt động:
-Bollinger Bands: Xác định vùng giá quá mua và quá bán dựa trên độ biến động.
-Woodies CCI: Là bộ lọc động lượng để xác nhận tín hiệu mua/bán.
-OBV (On-Balance Volume): Xác nhận hướng di chuyển của giá dựa trên khối lượng giao dịch.
-ATR (Average True Range): Xác định mức Take Profit (TP) và Stop Loss (SL) thực tế dựa trên độ biến động của thị trường.
Cách Hoạt Động
-Tín hiệu Mua được kích hoạt khi giá cắt lên đường MA ngắn hạn và cả hai chỉ báo Woodies CCI (ngắn hạn và dài hạn) xác nhận động lượng tăng.
-Tín hiệu Bán được kích hoạt khi giá cắt xuống đường MA ngắn hạn và cả hai chỉ báo CCI xác nhận động lượng giảm.
-Script bao gồm các mức TP/SL thực tế sử dụng ATR để quản lý rủi ro hiệu quả.
Buy/Sell Signals (MACD + RSI) 1HThis is a Pine Script indicator for TradingView that plots Buy/Sell signals based on the combination of MACD and RSI indicators on a 1-hour chart.
Description of the Code:
Indicator Setup:
The script is set to overlay the Buy/Sell signals directly on the price chart (using overlay=true).
The indicator is named "Buy/Sell Signals (MACD + RSI) 1H".
MACD Settings:
The MACD (Moving Average Convergence Divergence) uses standard settings of:
Fast Length: 12
Slow Length: 26
Signal Line Smoothing: 9
The MACD line and the Signal line are calculated using the ta.macd() function.
RSI Settings:
The RSI (Relative Strength Index) is calculated with a 14-period setting using the ta.rsi() function.
Buy/Sell Conditions:
Buy Signal:
Triggered when the MACD line crosses above the Signal line (Golden Cross).
RSI value is below 50.
Sell Signal:
Triggered when the MACD line crosses below the Signal line (Dead Cross).
RSI value is above 50.
Signal Visualization:
Buy Signals:
Green "BUY" labels are plotted below the price bars where the Buy conditions are met.
Sell Signals:
Red "SELL" labels are plotted above the price bars where the Sell conditions are met.
Chart Timeframe:
While the code itself doesn't enforce a specific timeframe, the name indicates that this indicator is intended to be used on a 1-hour chart.
To use it effectively, apply the script on a 1-hour chart in TradingView.
How It Works:
This indicator combines MACD and RSI to generate Buy/Sell signals:
The MACD identifies potential trend changes or momentum shifts (via crossovers).
The RSI ensures that Buy/Sell signals align with broader momentum (e.g., Buy when RSI < 50 to avoid overbought conditions).
When the defined conditions for Buy or Sell are met, visual signals (labels) are plotted on the chart.
How to Use:
Copy the code into the Pine Script editor in TradingView.
Save and apply the script to your 1-hour chart.
Look for:
"BUY" signals (green): Indicating potential upward trends or buying opportunities.
"SELL" signals (red): Indicating potential downward trends or selling opportunities.
This script is simple and focuses purely on providing actionable Buy/Sell signals based on two powerful indicators, making it ideal for traders who prefer a clean chart without clutter. Let me know if you need further customization!