DrNon Supertrend Strategy With Date FilterHow This Works
1. User Inputs for Date Range
• You specify a Start Date (Year, Month, Day) and an End Date (Year, Month, Day).
2. Create Timestamps
• startTime and endTime define the exact Unix timestamps for when you want the strategy to begin and stop taking trades.
3. Filtering Condition
• inDateRange is true only if the current bar’s time lies between startTime and endTime.
4. Conditional Trading
• The trading logic (entries) executes only if inDateRange is true.
5. Supertrend Logic
• Pine Script’s ta.supertrend() returns .
• We monitor ta.change(direction) to detect switching signals for Long or Short.
Indicators and strategies
Detecting Sideways Market or Strong Trends| Copy Trade Tungdubai**Tool Description**:
The **"Detecting Sideways Market or Strong Trends | Copy Trade Tungdubai"** tool is designed to help traders identify two key market conditions:
1. **Sideways Market**:
- This condition is detected when the ADX is below 20, the price stays within the Bollinger Bands, and the RSI is between 45 and 55.
- When the market is sideways, the chart background will turn yellow as a visual alert.
2. **Strong Trend Market**:
- This condition is identified when the ADX is above 25, and either the price breaks out of the Bollinger Bands or the RSI surpasses the overbought (70) or oversold (30) levels.
- When the market is in a strong trend, the chart background will turn blue as a visual alert.
**Key Components of the Tool**:
- **ADX**: Measures the strength of the market trend, with key thresholds at 20 and 25.
- **Bollinger Bands**: Helps determine volatility and checks if the price is within or outside the bands.
- **RSI**: Measures momentum, helping identify overbought and oversold levels.
**Visual Features on the Chart**:
- ADX, RSI, and Bollinger Bands are clearly plotted with their respective key thresholds for easier recognition of market conditions.
- The chart background changes color to reflect the current market condition (yellow for sideways, blue for strong trends).
**Alerts**:
- Alerts are triggered when the market enters either a sideways or strong trend phase, providing notifications to help users act promptly.
This tool serves as a practical aid in recognizing market conditions, allowing traders to make informed decisions aligned with their strategies.
**Mô tả công cụ**:
Công cụ **"Detecting Sideways Market or Strong Trends | Copy Trade Tungdubai"** được thiết kế để giúp các nhà giao dịch xác định hai trạng thái chính của thị trường:
1. **Thị trường đi ngang (Sideways)**:
- Điều kiện được xác định dựa trên chỉ số ADX thấp hơn ngưỡng 20, giá nằm trong dải Bollinger Bands, và chỉ số RSI dao động trong khoảng từ 45 đến 55.
- Khi thị trường đi ngang, nền của biểu đồ sẽ chuyển sang màu vàng để cảnh báo trực quan.
2. **Thị trường bùng nổ sóng mạnh (Strong Trend)**:
- Điều kiện được xác định khi ADX vượt qua ngưỡng 25 và giá phá vỡ dải Bollinger Bands (hoặc) chỉ số RSI vượt ngưỡng quá mua 70 hoặc quá bán 30.
- Khi thị trường bùng nổ sóng mạnh, nền biểu đồ sẽ chuyển sang màu xanh để cảnh báo trực quan.
**Các thành phần chính của công cụ**:
- **ADX**: Được sử dụng để đo sức mạnh xu hướng thị trường, với các ngưỡng quan trọng là 20 và 25.
- **Bollinger Bands**: Được sử dụng để xác định mức độ biến động và kiểm tra giá nằm trong hay ngoài dải.
- **RSI**: Dùng để đo mức độ quá mua/quá bán, xác định động lượng giá.
**Hiển thị trên biểu đồ**:
- Các đường ADX, RSI, và Bollinger Bands được vẽ rõ ràng, cùng với các ngưỡng quan trọng (hỗ trợ nhận biết trạng thái thị trường).
- Nền biểu đồ thay đổi màu sắc tương ứng với điều kiện thị trường.
**Cảnh báo**:
- Cảnh báo sẽ được kích hoạt khi thị trường rơi vào trạng thái đi ngang hoặc bùng nổ sóng mạnh, với các thông báo giúp người dùng hành động kịp thời.
Công cụ này là một trợ thủ hữu ích trong việc nhận biết trạng thái thị trường, từ đó giúp các nhà giao dịch đưa ra quyết định phù hợp với chiến lược của mình.
Triple Confluence Strategy-nishant200 EMA: A yellow line showing the 200-period Exponential Moving Average.
VWAP: A blue line showing the Volume Weighted Average Price.
Pivot Points: A purple line for the pivot point, red lines for support levels, and green lines for resistance levels.
Buy/Sell Markers: Green labels below the bars for Buy signals and Red labels above the bars for Sell signals.
Confluence Zone Highlights: Background color changes to green for Buy and red for Sell signals.
Volume Standard Deviation Alert GusPurpose
The script detects and alerts traders when the volume of a trading asset significantly exceeds a calculated threshold based on the standard deviation of volume over a specified lookback period. It optionally filters these alerts based on whether the price action is bullish or bearish.
Key Components
Inputs
lookback (default: 20)
The number of bars to consider when calculating the moving average and standard deviation of volume.
stdDevFactor (default: 2.0)
The multiplier for the standard deviation to determine the threshold for a volume spike.
alertOnClose (default: true)
Determines whether alerts should only be triggered after the bar has closed.
checkBullBear (default: false)
Enables filtering of alerts based on the bullishness or bearishness of the bar.
Calculations
volSMA
The simple moving average (SMA) of the volume over the lookback period.
volStd
The standard deviation of the volume over the lookback period.
threshold
The alert threshold is calculated as:
Threshold
=
volSMA
+
(
stdDevFactor
×
volStd
)
Threshold=volSMA+(stdDevFactor×volStd)
isBullish & isBearish
Determines whether the current bar is bullish (close > open) or bearish (close < open).
volumeSpikeCondition
A condition that triggers when the current volume exceeds the calculated threshold.
bullishCondition & bearishCondition
Refines the spike condition by requiring the bar to be bullish or bearish when checkBullBear is enabled.
finalCondition
The ultimate alert condition based on the user’s preference for bullish/bearish filtering.
finalTrigger
Ensures the alert only triggers at bar close if alertOnClose is set to true.
Visualization
Plots the SMA of the volume (volSMA) and the threshold line (threshold), helping traders visually understand the conditions.
Histograms the current volume and colors the bars:
Red: Volume exceeds the threshold.
Blue: Volume is below the threshold.
Alerts
The script generates an alert message when the finalTrigger condition is met:
"Bullish Volume Spike!" if the bar is bullish.
"Bearish Volume Spike!" if the bar is bearish.
"High Volume Spike!" if no bull/bear filter is applied.
Alerts are sent using alert() with the message and set to trigger once per bar close.
Usage
Traders can use this script to identify unusual volume activity, which often precedes significant price movements.
Customizability allows traders to tune the lookback period, standard deviation multiplier, and whether to filter for bullish/bearish spikes.
Visual and audible cues help in identifying important market events in real time.
This indicator is particularly useful for spotting market breakouts or breakdowns driven by high trading activity.
BBSS+This Pine Script implements a custom indicator overlaying Bollinger Bands with additional features for trend analysis using Exponential Moving Averages (EMAs). Here's a breakdown of its functionality:
Bollinger Bands:
The script calculates the Bollinger Bands using a 20-period Simple Moving Average (SMA) as the basis and a multiplier of 2 for the standard deviation.
It plots the Upper Band and Lower Band in red.
EMA Calculations:
Three EMAs are calculated for the close price with periods of 5, 10, and 40.
The EMAs are plotted in green (5-period), cyan (10-period), and orange (40-period) to distinguish between them.
Trend Detection:
The script determines bullish or bearish EMA alignments:
Bullish Order: EMA 5 > EMA 10 > EMA 40.
Bearish Order: EMA 5 < EMA 10 < EMA 40.
Entry Signals:
Long Entry: Triggered when:
The close price crosses above the Upper Bollinger Band.
The Upper Band is above its 5-period SMA (indicating momentum).
The EMAs are in a bullish order.
Short Entry: Triggered when:
The close price crosses below the Lower Bollinger Band.
The Lower Band is below its 5-period SMA.
The EMAs are in a bearish order.
Trend State Tracking:
A variable tracks whether the market is in a Long or Short trend based on conditions:
A Long trend continues unless conditions for a Short Entry are met or the Upper Band dips below its average.
A Short trend continues unless conditions for a Long Entry are met or the Lower Band rises above its average.
Visual Aids:
Signal Shapes:
Triangle-up shapes indicate Long Entry points below the bar.
Triangle-down shapes indicate Short Entry points above the bar.
Bar Colors:
Green bars indicate a Long trend.
Red bars indicate a Short trend.
This script combines Bollinger Bands with EMA crossovers to generate entry signals and visualize market trends, making it a versatile tool for identifying momentum and trend reversals.
Custom Trend TableManual input of trend starting with Daily Time frame, then H4 and H1.
If Daily and H4 are the same trend we can ignore H1 trend (N/A).
M15 Buy or Sell comes automatically depending on what the higher time frame trends are.
If Daily and H4 are bearish, then we look for Selling opportunities on M15.
If Daily and H4 are bullish, then we look for Buying opportunities on M15.
If Daily and H4 are different trends, then H1 trend will determine M15 Buy or Sell.
Works for up to 4 pairs / Symbols. If you need more, just add the indicator twice and on the second settings, move the placement of the table to a different location (Eg: Top, Middle) so you can see up to 8 Symbols. Repeat this process if required.
Single Candle Entry with Multi-Timeframe [Wang Indicators]
Single candle entry
Overview : The "Single Candle Entry Model" indicator is designed to help traders through a simple yet effective trading strategy. This indicator automatically detects candles that encompass both the high and low of the previous candle, creating key price zones for potential market entries.
- This indicator was developed with the help of @DaveTeaches -
How does it works ?
Detects when a candle trade above the high and below the low of the previous candle
When it occur, the indicator write "SCE" on the candle
The text will be in different color if its bearish or bullish (customizable by user)
Higher Timeframes
Users can enable up to 3 HTF SCE detection to enhance multi timeframe analysis.
Users can select which timeframe he want to use
Boxes will be displayed around High time frame SCE to highlight the HTF candle.
As regular SCE, the indicator will write "SCE" above or under the box
How does it helps users ?
Once the SCE is created, it can be used as a zone.
Levels (30, 50 and 70%) are displayed
Users can customize their apparence as they see fit
The 30 - 50 - 70 levels are support/resistance that the price tend to bounce of off
You might find some success looking for an entry inside the zone at a level if price gives further confirmations such as a lower time frame flip or using other indicators
Alert can be setup on any timeframe
Dynamic Market ScannerDynamic Market Scanner is a powerful tool for analyzing financial markets, combining a variety of indicators to provide clear and understandable signals.
Key Features:
- Signal Generation:
The main signals "Buy", "Sell", and "Hold" are formed based on the analysis of indicators:
- MACD
- RSI
- SMA
- EMA
- WMA
- Hull MA
Additional Analytical Tools:
- ATR is used to assess volatility and helps to understand the risk of the current market situation.
- SMA Ichimoku does not generate signals but is used to assess their accuracy.
- If the price is above the SMA, "Buy" signals are more likely, as this confirms the strength of the upward movement.
- If the price is below the SMA, "Buy" signals require additional confirmations.
Dashboard:
Displays the current price position relative to the indicators, helping the trader understand how strong or weak the current signals are.
Advantages of Using:
1. Signal Filtering:
The price position relative to the SMA Ichimoku helps to assess the likelihood of successful trades.
2. Volatility Analysis:
ATR provides additional information about risks and market fluctuations.
3. Comprehensive Approach:
Signal generation is based on a combination of key indicators, offering a multifaceted view of the market.
Explanation of Percent Calculation in the Table:
- The table shows the values of indicators such as MACD, ATR, EMA, SMA, WMA, and Hull MA in percentages. Percentages are calculated based on the current value of the indicator relative to its maximum and minimum.
- Percentages are displayed for each indicator, allowing traders to assess market conditions based on their current values.
Dynamic Market Scanner will become a reliable assistant in your technical analysis toolkit, providing a comprehensive overview of market conditions and helping to make informed trading decisions.
WPR45789This indicator helps in identifying trend to catch moves in intraday and gains decent moves in stocks and index as well as futures and options
This indicator helps in identifying trend to catch moves in intraday and gains decent moves in stocks and index as well as futures and options
Supertrend StrategyThe **Supertrend Indicator** is a popular trading tool used to identify market trends and potential buy or sell signals. It overlays on price charts and is derived from the Average True Range (ATR). By adjusting its sensitivity through the ATR multiplier and period settings, traders can use it to capture trends effectively.
- **Buy Signal**: Generated when the price moves above the Supertrend line, turning it green.
- **Sell Signal**: Occurs when the price drops below the line, turning it red.
The Supertrend is particularly useful in trending markets but may produce false signals in choppy conditions. It is often combined with other indicators for confirmation.
Easy buy and sell signalThis script identifies trading opportunities by combining:
EMA Crossovers: Detects when the short-term trend (5 EMA) crosses the longer-term trend (20 EMA).
MACD Crossovers: Confirms momentum shifts when the MACD line crosses its signal line.
The script ensures that a signal is only generated when both conditions align, reducing false signals.
Savas Cum Inverse Fisher Transform on RSI and CCIAl ve sat sinyallerini belli oranda paylaşan ve trendi takip etmenize imkan sunan bir Pine Editör seknesidir
Gainzy Intraday Momentum Algo1. Price Chart (Top Section):
The candlestick chart at the top represents the price movements of XRP/USD over time.
Each candlestick displays:
Body: Difference between the open and close prices for the time period.
Wicks: High and low prices during the time period.
2. Momentum Indicator (Bottom Section):
The lower section contains a momentum-based indicator with alternating red and green zones:
Green Zones: Represent periods of upward momentum or potential buying opportunities.
Red Zones: Represent periods of downward momentum or potential selling opportunities.
3. Buy and Sell Signals:
Buy Signals (Green Arrows or Green Zones):
Appear when the momentum indicator detects upward momentum above a specific threshold.
Suggests that prices may rise, offering a buying opportunity.
Sell Signals (Red Arrows or Red Zones):
Appear when the momentum indicator detects downward momentum below a specific threshold.
Suggests that prices may fall, signaling a potential selling opportunity.
4. Net Profit Display:
At the far right of the chart, the net profit is displayed (e.g., +43%).
Indicates the cumulative profitability of following the buy/sell signals during the period shown.
Helps traders evaluate the effectiveness of the strategy.
5. Timeframe:
The chart uses a 4-hour timeframe, as indicated on the chart.
Each candlestick represents 4 hours of trading activity.
Purpose of the Chart:
This chart helps traders:
Visualize Price Trends: The candlestick chart provides insights into market direction.
Identify Momentum Shifts: The momentum indicator highlights periods of bullish or bearish momentum.
Generate Trade Signals: Clear buy and sell signals assist in making trading decisions.
Evaluate Strategy Profitability: The net profit metric offers a quick assessment of how well the strategy performs.
TREND 1The Trend 1 Indicator is a technical analysis tool designed to identify and visualize the prevailing trend direction in financial markets. It's particularly useful for traders who rely on trend-following strategies.
Key Features:
Trend Identification: The indicator helps identify the current trend as either uptrend, downtrend, or sideways.
Trend Strength: It can provide insights into the strength or weakness of the prevailing trend.
Potential Reversal Signals: While not explicitly designed for reversal signals, traders may observe changes in the indicator's behavior to anticipate potential trend shifts.
How it Works:
The exact calculation and interpretation of the Trend 1 Indicator can vary depending on the specific implementation and the platform used. However, generally, it involves analyzing price movements over a specific period to determine the overall direction and momentum.
Common Uses:
Trading Decisions: Traders may use the indicator to align their trades with the identified trend direction. For example, if the indicator suggests an uptrend, they might favor long positions (buying).
Risk Management: The indicator can help traders assess the risk associated with their trades by providing insights into the strength and potential volatility of the current trend.
Portfolio Allocation: Investors may use the indicator to determine the overall market trend and adjust their portfolio allocations accordingly.
Important Considerations:
No Holy Grail: The Trend 1 Indicator, like any other technical indicator, is not foolproof. It should be used in conjunction with other analysis methods and risk management strategies.
Customization: The parameters and settings of the indicator can be customized to suit individual trading styles and preferences.
Backtesting: It's essential to backtest any trading strategy using the Trend 1 Indicator on historical data to evaluate its performance and effectiveness.
By understanding the principles of the Trend 1 Indicator and incorporating it into their trading arsenal, traders can potentially improve their decision-making process and enhance their overall trading performance.
HMA Buy Sell Signals - Profit ManagerNote : Settings should be adjusted according to the selected time frame. Try to find the best setting according to the profitability rate
Overall Functionality
This script combines several trading tools to create a comprehensive system for trend analysis, trade execution, and performance tracking. Users can identify market trends using specific moving averages and RSI indicators while managing profit and loss levels automatically.
Trend Detection and Trade Signals
Hull Moving Averages (HMA):
Two HMAs (a faster one and a slower one) are used to determine the market trend.
A buy signal is generated when the faster HMA crosses above the slower HMA.
Conversely, a sell signal is triggered when the faster HMA crosses below the slower one.
Visual Feedback:
Trend lines on the chart change color to reflect the trend direction (e.g., green for upward trends and red for downward trends).
Trade Levels and Management
Entry, Take-Profit, and Stop-Loss Levels:
When the trend shifts upwards, the script calculates entry, take-profit, and stop-loss levels based on the opening price.
Similarly, for downward trends, these levels are determined for short trades.
Commission Tracking:
Each trade includes a commission cost, which is factored into net profit and loss calculations.
Dynamic Labels:
Entry, take-profit, and stop-loss levels are visually marked on the chart for easier tracking.
Performance Tracking
Profit and Loss Tracking:
The script keeps a running total of profits, losses, and commissions for both long and short trades.
It also calculates the net profit after all costs are considered.
Performance Table:
A table is displayed on the chart summarizing:
The number of trades.
Total profit and loss for long and short positions.
Commission costs.
Net profit.
Fractal Support and Resistance
Dynamic Lines:
The script identifies the most recent significant highs and lows using fractals.
It draws support and resistance lines that automatically update as new fractals form.
Simplified Visuals:
The chart always shows the last two support and resistance lines, keeping the visualization clean and focused.
RSI-Based Signals
Overbought and Oversold Levels:
RSI is used to identify overbought (above 80) and oversold (below 20) conditions.
The script generates buy signals at oversold levels and sell signals at overbought levels.
Chart Indicators:
Arrows and labels appear on the chart to highlight these RSI-based opportunities.
Customization
The script allows users to customize key parameters such as:
Moving average lengths for trend detection.
Take-profit and stop-loss percentages.
Timeframes for backtesting.
Starting capital and commission rates.
Conclusion
This script is a versatile tool for traders, combining trend detection, automated trade management, and visual feedback. It simplifies decision-making by providing clear signals and tracking performance metrics, making it suitable for both beginners and experienced traders.
* The most recently drawn fractals represent potential support and resistance levels. If the price aligns with these levels at the time of entering a trade, it may indicate a likelihood of reversal. In such cases, it’s advisable to either avoid entering the trade altogether or proceed with increased caution.