RSI Divergence + Smoothed MA + Bollinger Bandadjust same settings as what you see on the pics.
imgur.com
Băng tần và kênh
Major Support and Resistance LevelsSupport and Resistance Levels shows daily with the Green and Red lines. Previous days with the crosses.
My Backtest Module### 📊 Universal Backtest Module - Pro Structure
**A Fully Customizable Strategy Framework for Advanced Backtesting & Signal Analysis**
This powerful Pine Script strategy is designed as a **universal testing module** for traders and developers who want to evaluate custom trading logic across multiple conditions, timeframes, and risk parameters — all within a single, flexible structure.
> ⚠️ **Note:** This script is intended for **educational and backtesting purposes only**. It does **not** provide financial advice, nor does it guarantee profits. Always test strategies thoroughly before applying them to live markets.
---
### 🔧 Key Features
✅ **Multi-Source Entry Signals**
Combine up to two independent buy/sell signals using flexible logic:
- **OR Logic**: Trigger on any signal (edge-based).
- **AND Logic (Latched)**: Requires both signals at any point (flip-flop style).
- **AND No Latch**: Both signals must be active simultaneously.
✅ **Dynamic Trade Direction Control**
Choose between:
- Long & Short (Both)
- Long Only
- Short Only
With optional **close-on-opposite-signal** and **wait-for-opposite-reentry** logic.
✅ **Precision Timing Filters**
- Date range filtering (start/end dates)
- Intraday session control (supports up to 3 custom sessions)
- Visual session shading for clarity
✅ **Advanced Risk Management**
- Multiple Stop Loss types:
- Fixed Points / Percent
- ATR-based (adjustable multiplier)
- Swing-based (automatically detects pivots)
- External SL source
- Dynamic position sizing:
- Fixed lot
- % of equity risk (with max fallback)
✅ **Smart Take Profit Options**
- Fixed Points, Percent, RR Ratio, ATR, Fibonacci extensions
- Support for **external TP levels** (user-defined sources)
- Optional **multiple partial exits** with customizable size distribution
- Fibonacci TP levels (1.0, 1.618, 2.618, 4.236) based on SL distance
✅ **Flexible Exit Tools**
- Breakeven stop activation after TP1 hit
- Internal swing-based trailing stop
- External trailing stop (custom source)
- Max holding time (auto-close after X candles)
- Custom close conditions via user-defined logic
- Close & reverse functionality
✅ **Visual Clarity & Feedback**
- Clear visual markers for Buy/Sell signals
- Real-time SL, Entry, and TP lines with color-coded risk/reward zones
- On-chart TP level labels showing prices and allocation percentages
- Session background highlighting
- Trade statistics summary label
---
### 🛠️ Ideal For:
- Testing new indicator combinations
- Validating entry/exit logic under various market filters
- Comparing signal fusion methods (OR vs AND)
- Simulating professional-grade risk management rules
- Educational demonstrations in algorithmic trading
---
### ⚠️ Important Notes
- This is a **backtesting tool**, not a live trading bot.
- Past performance is **not indicative of future results**.
- Strategy performance depends entirely on the quality of input signals.
- Always validate results across multiple assets and timeframes.
- Use in conjunction with sound money management principles.
---
### 📌 How to Use
1. Attach the script to your chart.
2. Configure **Buy/Sell Signal Sources** (e.g., RSI crossovers, moving averages, etc.)
3. Set your preferred **trade direction, session, and date filters**
4. Define **stop loss and take profit rules**
5. Adjust position sizing and exit behavior
6. Run the backtest and analyze results in the **Strategy Tester tab**
💡 *Tip: Combine with other indicators by referencing their output values as signal sources.*
---
### ❌ Disclaimer
This script is shared for **informational and educational purposes only**. By using it, you agree that:
- The author is **not responsible** for any financial losses.
- Trading involves significant risk; only risk capital should be used.
- You are solely responsible for your trading decisions.
🚫 **This script does not promote get-rich-quick schemes, guaranteed profits, or unverified performance claims.**
---
🔁 **Version:** 5 (Pine Script v5)
📦 **Category:** Strategy
📈 **Overlay:** Yes
🧪 **Purpose:** Backtesting, Signal Validation, Risk Modeling
---
✅ **Safe for Public Sharing**
✔ Complies with TradingView’s community standards
✔ No misleading performance claims
✔ No automated trading promises
✔ No copyrighted or plagiarized content
---
> 💬 *"Knowledge is power — test wisely, trade responsibly."*
---
Let me know if you'd like a **short version** for the script's header comment or a **public post summary** for the TradingView feed!
Time-Based Vertical LinesFeatures:
8 Customizable Lines: Each line can be individually enabled/disabled
Time Selection: Set specific times for each line (e.g., 9:30 AM)
Daily Repetition: Lines automatically repeat at the same time every trading day
Color Customization: Choose any color for each line
Additional Options: Width and style (solid, dashed, dotted) for each line
How to Use:
Copy the entire script
In TradingView, open the Pine Editor (at the bottom of the chart)
Create a new indicator and paste the code
Click "Add to Chart"
Configure your lines by clicking the settings gear icon:
Enable/disable each line
Set the time using the time picker
Choose colors
Adjust width and style as desired
Default Setup:
Line 1 is enabled by default at 9:30 AM (blue)
Lines 2-8 are disabled by default but can be enabled
Each line has a different default color for easy identification
The indicator will draw vertical lines that extend across the entire price range at your specified times, repeating every day. The lines use your chart's timezone settings, so they'll appear at the correct local time for your market.
COT-App//the COT-App generates potential trading signals for commodities and currencies futures based on the weekly COT data of the CFTC
//the COT data commercial netto, commercial short, non commercial short, non commercial long, a commercial netto oscillator, the ratio of commercial short tot he open interest and the open interest (types of COT data) can be shown as chart
//for each type of COT data you can define and set an extreme long and short level
//the COT types commercial netto, commercial short and commercial netto generate potential trading signals if the curve of type of COT data runs into the defined long or short extreme area
//a potential trading signal will be stronger if in additon further types of COT data runs in the same extreme area long or short
//
Kalkulator pozycji N100This indicator is a real-time position size calculator designed specifically for NASDAQ 100 futures (E-mini NQ and Micro NQ). It works on any timeframe, best on 1-minute charts, and calculates your position size based on candle body (ignoring wicks). This allows you to always see your exact risk and the number of contracts you can take before the candle closes.
Simplified VMCSimplified VuManChu B — TanTechTrades™
This script is a streamlined version of the popular VuManChu WaveTrend + Divergence indicator. It focuses on the core logic of WaveTrend crosses, divergences, and golden buy signals while keeping visuals clean and lightweight.
🔹 Features
WaveTrend (WT) Oscillator with customizable lengths
Overbought / oversold levels with optional deep oversold threshold
Bullish & Bearish Divergences detected automatically (plotted as circles)
Golden Buy Circles (special oversold + RSI confluence signals)
Buy & Sell crossover circles for WT1 / WT2
Alerts for divergence and golden buy signals
Dark background option for clear contrast
🔹 How It Works
Bullish Divergence: Price makes a lower low, WT makes a higher low
Bearish Divergence: Price makes a higher high, WT makes a lower high
Golden Circle: Oversold bullish divergence + RSI confirmation
Plots crossover signals to highlight potential trend reversals
This version removes unnecessary extras from the original VuManChu script, making it lighter, faster, and focused only on the most powerful signals.
⚠️ Disclaimer: For educational purposes only. Not financial advice.
Custom TP/SL Levels (1%, 2%, 3%)Custom TP/SL Levels (1%, 2%, 3%) — TanTechTrades™
This indicator automatically plots percentage-based take-profit (TP) and stop-loss (SL) levels around the current price, making it easy to visualize risk/reward scenarios for both long and short trades.
🔹 Features
Three configurable TP/SL levels (default: 1%, 2%, 3%)
Separate plotting for long (green = TP, red = SL) and short (blue = TP, purple = SL) setups
Adjustable percentages for flexible strategy testing
Simple visual overlay to assist with trade planning and management
🔹 How It Works
Long setup: SL lines plotted below entry, TP lines above entry
Short setup: SL lines plotted above entry, TP lines below entry
All levels update dynamically as price moves
This tool is useful for traders who want a quick, no-fuss way to manage position exits and visualize multiple TP/SL levels directly on the chart.
⚠️ Disclaimer: For educational purposes only. Not financial advice.
SSL CHANNEL 2.0SSL Channel + Braid Filter + MFI Alerts (TanTechTrades™)
This indicator combines three confirmation tools — SSL Channel, Braid Filter, and Money Flow Index (MFI) — to generate precise buy/sell alerts.
🔹 Features
SSL Channel: Trend direction based on moving averages of highs and lows
Braid Filter: Confirms trend strength via EMA separation and volatility filter
MFI: Volume-adjusted momentum for validation of long/short entries
Alerts for both long and short signals
Background coloring for visual Braid Filter confirmation
Signal markers on the chart (BUY/SELL labels + colored circles)
🔹 How It Works
Long Signal: SSL bullish crossover + Braid Filter green + MFI above threshold
Short Signal: SSL bearish crossunder + Braid Filter red + MFI below threshold
Plots dynamic trend lines and color-coded backgrounds to reinforce signals visually
This multi-indicator system helps reduce false signals by requiring trend, momentum, and volume confirmation before entries.
⚠️ Disclaimer: Educational purposes only. Not financial advice.
ATR Bands with SL and TPATR Bands with SL and TP (TanTechTrades™)
This indicator uses the Average True Range (ATR) to dynamically calculate stop-loss and take-profit levels around the current price.
🔹 Features
Adjustable ATR period for volatility sensitivity
Separate multipliers for stop-loss and take-profit
Plots long/short SL and TP levels simultaneously
Color-coded bands for quick visual reference (orange = SL, blue = TP)
🔹 How to Use
For long positions: SL is plotted below price, TP above price.
For short positions: SL is plotted above price, TP below price.
The wider the ATR, the further the levels adjust, reflecting higher volatility.
This tool helps traders set volatility-based exits instead of fixed pip/point levels, making risk management more adaptive to market conditions.
⚠️ Disclaimer: For educational purposes only. Not financial advice.
VWAP + Bollinger Bands VWAP + Bollinger Bands (TanTechTrades™)
This indicator combines VWAP (Volume Weighted Average Price) with Bollinger Bands to provide a hybrid view of price action, volume, and volatility.
🔹 VWAP Features
Customizable anchor period (Session, Week, Month, Quarter, Year, etc.)
Option to hide VWAP automatically on daily or higher timeframes
Up to 3 configurable VWAP bands with multipliers
Bands can be calculated using Standard Deviation or Percentage
🔹 Bollinger Bands Features
Adjustable period length and source
Multiple moving average types (SMA, EMA, RMA, WMA, VWMA)
Customizable standard deviation multiplier
Configurable offset for advanced alignment
🔹 Visuals
Central VWAP line with optional surrounding bands
Bollinger Bands with customizable fills
Color-coded regions to highlight volatility expansions and contractions
This tool is designed for traders who want to see how VWAP reacts alongside volatility envelopes, making it easier to identify areas of liquidity, support/resistance, and potential breakouts or reversals.
⚠️ Disclaimer: This script is for educational purposes only. It is not financial advice.
Double Median ATR Bands | MisinkoMasterThe Double Median ATR Bands is a version of the SuperTrend that is designed to be smoother, more accurate while maintaining a good speed by combining the HMA smoothing technique and the median source.
How does it work?
Very simple!
1. Get user defined inputs:
=> Set them up however you want, for the result you want!
2. Calculate the Median of the source and the ATR
=> Very simple
3. Smooth the median with √length (for example if median length = 9, it would be smoothed over the length of 3 since 3x3 = 9)
4. Add ATR bands like so:
Upper = median + (atr*multiplier)
Lower = median - (atr*multiplier)
Trend Logic:
Source crossing over the upper band = uptrend
Source crossing below the lower band = downtrend
Enjoy G´s!
FX Market Sessions serkanMarket stock market opening and closing indicators
Opening and closing time ranges
Frankfurt
London
CM
New York opening and closing time ranges
DubleB_basic.verTitle:
Final Combo: Bollinger Bands + 5 SMAs + Cross Signals + Dual Pierce + Hammer Alerts
Description:
This indicator combines multiple technical tools into one comprehensive package:
Bollinger Bands:
• BB (Length 4, StdDev 4, source: Open, no midline)
• BB (Length 20, StdDev 2, source: Close, with SMA midline)
Moving Averages (5 lines):
• SMA 5, 20, 60, 120, 240
• Each line has customizable color, style, and visibility toggle
Cross Signals:
• 5/20, 60/120, 60/240, 120/240 crossovers
• Plot markers with customizable style and colors
• Alerts triggered instantly when the cross forms
Dual Bollinger Pierce:
• Signals when a candle pierces both the 4,4 and 20,2 Bollinger Bands simultaneously
• Alerts notify as “Double BB” event
Candlestick Patterns:
• Hammer and Inverted Hammer detection (with relaxed conditions)
• Signals only confirmed at bar close
• Alerts notify as “Hammer detected” or “Inverted Hammer detected”
Alerts:
• All signals (crosses, double BB pierce, hammers) come with built-in alertcondition()
• Alert messages include symbol name and timeframe automatically
How to Use:
Add the indicator to your chart
Configure moving averages, colors, and marker styles as needed
Set alerts directly from the chart using “Add Alert” → select the conditions you want
Ideal for traders who need combined volatility, trend, and candlestick reversal signals in one tool
EMA MACD - 5-20Based on Crossover and Big timeframe EMA Support and resistance this strategy is developed.
bygokcebey crt 1-5-9This script is designed to help you effortlessly track the 1 AM, 5 AM, and 9 AM timeframes, and monitor these levels across lower timeframes as well. It allows you to easily identify key price levels, such as the lowest, highest, and mid points during these crucial times, giving you a clear visual guide for trading decisions.
Key Features:
Defined Timeframes: The script specifically highlights the 1 AM, 5 AM, and 9 AM timeframes by drawing lines (representing the low, high, and mid levels) and adding labels (CRT Low, CRT High, and 50%) at these critical times.
Visibility of Time Levels: These key levels will appear only during the specified timeframes, ensuring a clean chart with relevant data at key moments.
Tracking in Lower Timeframes: These levels can also be followed in lower timeframes (e.g., 4-hour charts), allowing traders to monitor the important price levels continuously as they evolve.
Indicator Features:
The "bygokcebey crt 1-5-9" indicator will plot lines and labels only during the 1 AM, 5 AM, and 9 AM timeframes.
These levels can be tracked across lower timeframes, offering continuous reference points for your trades.
The lines and labels serve as visual markers, helping you track significant price points and providing a reliable guide to refine your trading strategy.
If you'd like to add more features or make any adjustments, feel free to let me know how I can assist further!
Weekly Period Separator [Adjustable History]Features:
Adjustable History: Shows weekly separators for a configurable number of weeks back (1-100 weeks)
Customizable Appearance:
Choose line color, width, and style (solid, dotted, dashed)
Defaults to showing 10 weeks of historical data
Accurate Week Detection: Properly handles week boundaries regardless of timezone
Clean Implementation: Uses lines that extend from bottom to top of chart
Artharjan Intraday Trading ZonesArtharjan Intraday Trading Zones (AITZ)
Overview
The AITZ indicator is designed to visually mark intraday trading zones on a chart by using the current day’s High (DH) and Low (DL) as reference points. It creates three distinct market zones:
Bullish Zone: Near the daily high, suggesting strength.
Bearish Zone: Near the daily low, suggesting weakness.
Neutral / No-Trade Zone: Between the bullish and bearish thresholds, where price movement is less directional.
These zones are highlighted with color-fills for quick visual identification, and the indicator automatically resets at the start of each new trading day.
Key Features
Daily Reference Levels: Automatically fetches Day High, Day Low, and uses them to calculate intraday zones.
Configurable Zone Depth: Traders can set the percentage distance from High/Low to define bullish and bearish zones.
Conditional Zone Coloring: Option to highlight zones only when price is actively trading inside them.
Dynamic Updates: Zone coloring adjusts in real time as the day progresses.
Customizable Appearance: Line thickness and zone colors can be adjusted to match chart preferences.
Inputs
Parameter Type Default Description
Level Thickness Integer 1 Thickness of all plotted levels (1–10).
(DH-DL)% below Day High Float 25 Distance from daily high (as % of DH–DL range) to define bullish threshold.
(DH-DL)% above Day Low Float 25 Distance from daily low (as % of DH–DL range) to define bearish threshold.
Plot Zone Colors (Conditional)? Boolean true If enabled, zones are colored only when price trades inside them. Otherwise, they remain visible regardless of price position.
Bullish Zone Color Color Teal (90% transparent) Fill color for bullish zone.
Neutral Zone Color Color Blue (90% transparent) Fill color for neutral/no-trade zone.
Bearish Zone Color Color Maroon (90% transparent) Fill color for bearish zone.
Core Calculations
Zones:
Bullish Zone = between DH and LTL
Bearish Zone = between DL and STL
Neutral Zone = between LTL and STL
Reset Behavior: At the start of each new daily session, old lines are deleted and fresh ones are drawn.
Usage Example
A trader sets:
(DH–DL)% below High = 20%
(DH–DL)% above Low = 20%
If today’s DH = 1000 and DL = 900 (Range = 100):
Bullish threshold = 1000 – (100 × 20%) = 980
Bearish threshold = 900 + (100 × 20%) = 920
Zones:
Bullish Zone: 980 → 1000
Neutral Zone: 920 → 980
Bearish Zone: 900 → 920
This creates clear trade zones for scalpers or intraday directional traders.
Practical Application
Trend Confirmation: If price sustains in the bullish zone, bias stays long.
Weakness Detection: Price falling into the bearish zone signals short opportunities.
Neutral Play: Avoid trades or expect sideways action inside the neutral zone.
Limitations
Works on instruments with clear daily highs/lows (equities, futures, FX).
May repaint levels intraday until the daily high/low is confirmed.
Zones depend on daily volatility—very narrow ranges may cause zones to overlap.
RSI Crossover AlertRSI Crossover Alert Indicator - User Guide
The RSI Crossover Alert Indicator is a comprehensive technical analysis tool that detects multiple types of RSI crossovers and generates real-time alerts. It combines traditional RSI analysis with signal lines, divergence detection, and multi-level crossing alerts.
1. Multiple Crossover Detection
- RSI/Signal Line Cross: Signals a primary trend change.
- RSI/Second Signal Cross: Confirmation signals for stronger trends.
- Level Crossings: Crosses of Overbought 70, Oversold 30, and Midline 50.
- Divergence Detection: Hidden and regular divergences for reversal signals.
2. Alert Types
- Alert: RSI > Signal
Description: Bullish momentum is building.
Signal: Consider long positions.
- Alert: RSI < Signal
Description: Bearish momentum is building.
Signal: Consider short positions.
- Alert: RSI > 70
Description: Entering the overbought zone.
Signal: Prepare for a potential reversal.
- Alert: RSI < 30
Description: Entering the oversold zone.
Signal: Watch for a bounce opportunity.
- Alert: RSI crosses 50
Description: A shift in momentum.
Signal: Trend confirmation.
3. Visual Components
- Lines: RSI blue, Signal orange, Second Signal purple
- Histogram: Visualizes momentum by showing the difference between RSI and the Signal line.
- Background Zones: Red overbought, Green oversold
- Markers: Up/down triangles to indicate crossovers.
- Info Table: Real-time RSI values and status.
Strategy 1: Classic Crossover
- Entry Long: RSI crosses above the Signal Line AND RSI is below 50.
- Entry Short: RSI crosses below the Signal Line AND RSI is above 50.
- Take Profit: On the opposite signal.
- Stop Loss: At the recent swing high/low.
Strategy 2: Extreme Zone Reversal
- Entry Long: RSI is below 30 and crosses above the Signal Line.
- Entry Short: RSI is above 70 and crosses below the Signal Line.
- Risk Management: Higher win rate but fewer signals. Use a minimum 2:1 risk-reward ratio.
Strategy 3: Divergence Trading
- Setup: Enable divergence alerts and look for price/RSI divergence. Wait for an RSI crossover for confirmation.
- Entry: Enter on the crossover after the divergence appears. Place the stop loss beyond the starting point of the divergence.
Strategy 4: Multi-Timeframe Confirmation
1. Check the higher timeframe e.g. Daily to identify the main trend.
2. Use the current timeframe e.g. 4H/1H for your entry.
3. Only enter in the direction of the main trend.
4. Use the RSI crossover as the entry trigger.
Optimal Settings by Market
- Forex Major Pairs
RSI Length: 14, Signal Length: 9, Overbought/Oversold: 70/30
- Crypto High Volatility
RSI Length: 10-12, Signal Length: 6-8, Overbought/Oversold: 75/25
- Stocks Trending
RSI Length: 14-21, Signal Length: 9-12, Overbought/Oversold: 70/30
- Commodities
RSI Length: 14, Signal Length: 9, Overbought/Oversold: 80/20
Risk Management Rules
1. Position Sizing: Never risk more than 1-2% on a single trade. Reduce size in ranging markets.
2. Stop Loss Placement: Place stops beyond the recent swing high/low for crossovers. Using an ATR-based stop is also effective.
3. Profit Taking: Take partial profits at a 1:1 risk-reward ratio. Switch to a trailing stop after reaching 2:1.
1. Filtering Signals
- Combine with volume indicators.
- Confirm the trend on a higher timeframe.
- Wait for candlestick pattern confirmation.
2. Avoid Common Mistakes
- Don't trade every single crossover.
- Avoid taking signals against a strong trend.
- Do not ignore risk management.
3. Market Conditions
- Trending Market: Focus on midline 50 crosses.
- Ranging Market: Look for reversals from overbought/oversold levels.
- Volatile Market: Widen the overbought/oversold levels.
- If you get too many false signals:
Increase the signal line period, add other confirmation indicators, or use a higher timeframe.
- If you are missing major moves:
Decrease the RSI length, shorten the signal line period, or check your alert settings.
Recommended Combinations
1. RSI + MACD: For dual momentum confirmation.
2. RSI + Bollinger Bands: For volatility-adjusted signals.
3. RSI + Volume: To confirm the strength of a signal.
4. RSI + Moving Averages: To use as a trend filter.
This indicator provides a comprehensive RSI analysis. Success depends on proper configuration, risk management, and combining signals with the overall market context. Start with the default settings, then optimize based on your trading style and market conditions.