Two Poles Trend Finder MTF [BigBeluga]🔵 OVERVIEW
Two Poles Trend Finder MTF is a refined trend-following overlay that blends a two-pole Gaussian filter with a multi-timeframe dashboard. It provides a smooth view of price dynamics along with a clear summary of trend directions across multiple timeframes—perfect for traders seeking alignment between short and long-term momentum.
🔵 CONCEPTS
Two-Pole Filter: A smoothing algorithm that responds faster than traditional moving averages but avoids the noise of short-term fluctuations.
var float f = na
var float f_prev1 = na
var float f_prev2 = na
// Apply two-pole Gaussian filter
if bar_index >= 2
f := math.pow(alpha, 2) * source + 2 * (1 - alpha) * f_prev1 - math.pow(1 - alpha, 2) * f_prev2
else
f := source // Warm-up for first bars
// Shift state
f_prev2 := f_prev1
f_prev1 := f
Trend Detection Logic: Trend direction is determined by comparing the current filtered value with its value n bars ago (shifted comparison).
MTF Alignment Dashboard: Trends from 5 configurable timeframes are monitored and visualized as colored boxes:
• Green = Uptrend
• Magenta = Downtrend
Summary Arrow: An average trend score from all timeframes is used to plot an overall arrow next to the asset name.
🔵 FEATURES
Two-Pole Gaussian Filter offers ultra-smooth trend curves while maintaining responsiveness.
Multi-Timeframe Trend Detection:
• Default: 1H, 2H, 4H, 12H, 1D (fully customizable)
• Each timeframe is assessed independently using the same trend logic.
Visual Trend Dashboard positioned at the bottom-right of the chart with color-coded trend blocks.
Dynamic Summary Arrow shows overall market bias (🢁 / 🢃) based on majority of uptrends/downtrends.
Bold + wide trail plot for the filter value with gradient coloring based on directional bias.
🔵 HOW TO USE
Use the multi-timeframe dashboard to identify aligned trends across your preferred trading horizons.
Confirm trend strength or weakness by observing filter slope direction .
Look for dashboard consensus (e.g., 4 or more timeframes green] ) as confirmation for breakout, continuation, or trend reentry strategies.
Combine with volume or price structure to enhance entry timing.
🔵 CONCLUSION
Two Poles Trend Finder MTF delivers a clean and intuitive trend-following solution with built-in multi-timeframe awareness. Whether you’re trading intra-day or positioning for swing setups, this tool helps filter out market noise and keeps you focused on directional consensus.
Moving Averages
[TH] กลยุทธ์ SMC หลายกรอบเวลา (V5.2 - M15 Lead)English Explanation
This Pine Script code implements a multi-timeframe trading strategy based on Smart Money Concepts (SMC). It's designed to identify high-probability trading setups by aligning signals across three different timeframes.
The core logic is as follows:
High Timeframe (HTF) - M15: Determines the overall market direction or bias.
Medium Timeframe (MTF) - M5: Identifies potential Points of Interest (POI), such as Order Blocks or Fair Value Gaps, in alignment with the M15 bias.
Low Timeframe (LTF) - Current Chart: Looks for a specific entry trigger within the M5 POI to execute the trade.
Detailed Breakdown
## Part 1: Inputs & Settings
This section allows you to customize the indicator's parameters:
General Settings:
i_pivotLookback: Sets the lookback period for identifying pivot highs and lows on the LTF, which is crucial for finding the Change of Character (CHoCH).
M15 Bias Settings:
i_m15EmaFast / i_m15EmaSlow: These two EMA (Exponential Moving Average) values on the 15-minute chart determine the main trend. A bullish trend is confirmed when the fast EMA is above the slow EMA, and vice-versa for a bearish trend.
M5 Point of Interest (POI) Settings:
i_showM5Fvg / i_showM5Ob: Toggles the visibility of Fair Value Gaps (FVG) and Order Blocks (OB) on the 5-minute chart. These are the zones where the script will look for trading opportunities.
i_maxPois: Limits the number of POI zones drawn on the chart to keep it clean.
LTF Entry Settings:
i_entryMode:
Confirmation: The script waits for a Change of Character (CHoCH) on the LTF (your current chart) after the price enters an M5 POI. A CHoCH is a break of a recent pivot high (for buys) or pivot low (for sells), suggesting a potential reversal. This is the safer entry method.
Aggressive: The script triggers an entry as soon as the price touches the 50% level of the M5 POI, without waiting for a CHoCH. This is higher risk but can provide a better entry price.
i_showChoch: Toggles the visibility of the CHoCH confirmation lines.
Trade Management Settings:
i_tpRatio: Sets the Risk-to-Reward Ratio (RRR) for the Take Profit target. For example, a value of 2.0 means the Take Profit distance will be twice the Stop Loss distance.
i_slMode: (New in V5.2) Provides four different methods to calculate the Stop Loss:
POI Zone (Default): Places the SL at the outer edge of the M5 POI zone.
Last Swing: Places the SL at the most recent LTF swing high/low before the entry.
ATR: Uses the Average True Range (ATR) indicator to set a volatility-based SL.
Previous Candle: Places the SL at the high or low of the candle immediately preceding the entry. This is the tightest and riskiest option.
i_maxHistory: Sets the number of past trades to display on the chart.
## Part 2: Data Types & Variables
This section defines custom data structures (type) to organize information:
Poi: A structure to hold all information related to a single Point of Interest, including its price boundaries, direction (bullish/bearish), and whether it has been mitigated (touched by price).
Trade: A structure to store details for each trade, such as its entry price, SL, TP, result (Win/Loss/Active), and chart objects for drawing.
## Part 3: Core Logic & Calculations
This is the engine of the indicator:
Data Fetching: It uses request.security to pull EMA data from the M15 timeframe and candle data (high, low, open, close) from the M5 timeframe.
POI Identification: The script constantly scans the M5 data for FVG and OB patterns. When a valid pattern is found that aligns with the M15 bias (e.g., a bullish OB during an M15 uptrend), it's stored as a Poi and drawn on the chart.
Entry Trigger:
It checks if the price on the LTF enters a valid (unmitigated) POI zone.
Based on the selected i_entryMode, it either waits for a CHoCH or enters aggressively.
Once an entry condition is met, it calculates the SL based on the i_slMode, calculates the TP using the i_tpRatio, and creates a new Trade.
Trade Monitoring: For every active trade, the script checks on each new bar if the price has hit the SL or TP level. When it does, the trade's result is updated, and the visual boxes are finalized.
## Part 5: On-Screen Display
This part creates the Performance Dashboard table shown on the top-right of the chart. It provides a real-time summary of:
M15 Bias: Current market direction.
Total Trades: The total number of completed trades from the history.
Win Rate: The percentage of winning trades.
Total R-Multiple: The cumulative Risk-to-Reward multiple (sum of RRR from wins minus losses). A positive value indicates overall profitability.
🇹🇭 คำอธิบายและข้อแนะนำภาษาไทย
สคริปต์นี้เป็น Indicator สำหรับกลยุทธ์การเทรดแบบ Smart Money Concepts (SMC) ที่ใช้การวิเคราะห์จากหลายกรอบเวลา (Multi-Timeframe) เพื่อหาจุดเข้าเทรดที่มีความเป็นไปได้สูง
หลักการทำงานของ Indicator มีดังนี้:
Timeframe ใหญ่ (HTF) - M15: ใช้กำหนดทิศทางหลักของตลาด หรือ "Bias"
Timeframe กลาง (MTF) - M5: ใช้หาโซนสำคัญ หรือ "Point of Interest (POI)" เช่น Order Blocks หรือ Fair Value Gaps ที่สอดคล้องกับทิศทางจาก M15
Timeframe เล็ก (LTF) - กราฟปัจจุบัน: ใช้หาสัญญาณยืนยันเพื่อเข้าเทรดในโซน POI ที่กำหนดไว้
รายละเอียดของโค้ด
## ส่วนที่ 1: การตั้งค่า (Inputs & Settings)
ส่วนนี้ให้คุณปรับแต่งค่าต่างๆ ของ Indicator ได้:
การตั้งค่าทั่วไป:
i_pivotLookback: กำหนดระยะเวลาที่ใช้มองหาจุดกลับตัว (Pivot) ใน Timeframe เล็ก (LTF) เพื่อใช้ยืนยันสัญญาณ Change of Character (CHoCH)
การตั้งค่า M15 (ทิศทางหลัก):
i_m15EmaFast / i_m15EmaSlow: ใช้เส้น EMA 2 เส้นบน Timeframe 15 นาที เพื่อกำหนดเทรนด์หลัก หาก EMA เร็วอยู่เหนือ EMA ช้า จะเป็นเทรนด์ขาขึ้น และในทางกลับกัน
การตั้งค่า M5 (จุดสนใจ - POI):
i_showM5Fvg / i_showM5Ob: เปิด/ปิด การแสดงโซน Fair Value Gaps (FVG) และ Order Blocks (OB) บน Timeframe 5 นาที ซึ่งเป็นโซนที่สคริปต์จะใช้หาโอกาสเข้าเทรด
i_maxPois: จำกัดจำนวนโซน POI ที่จะแสดงผลบนหน้าจอ เพื่อไม่ให้กราฟดูรกเกินไป
การตั้งค่า LTF (การเข้าเทรด):
i_entryMode:
ยืนยัน (Confirmation): เป็นโหมดที่ปลอดภัยกว่า โดยสคริปต์จะรอให้เกิดสัญญาณ Change of Character (CHoCH) ใน Timeframe เล็กก่อน หลังจากที่ราคาเข้ามาในโซน POI แล้ว
เชิงรุก (Aggressive): เป็นโหมดที่เสี่ยงกว่า โดยสคริปต์จะเข้าเทรดทันทีที่ราคาแตะระดับ 50% ของโซน POI โดยไม่รอสัญญาณยืนยัน CHoCH
i_showChoch: เปิด/ปิด การแสดงเส้น CHoCH บนกราฟ
การตั้งค่าการจัดการเทรด:
i_tpRatio: กำหนด อัตราส่วนกำไรต่อความเสี่ยง (Risk-to-Reward Ratio) เพื่อตั้งเป้าหมายทำกำไร (Take Profit) เช่น 2.0 หมายถึงระยะทำกำไรจะเป็น 2 เท่าของระยะตัดขาดทุน
i_slMode: (ฟีเจอร์ใหม่ V5.2) มี 4 รูปแบบในการคำนวณ Stop Loss:
โซน POI (ค่าเริ่มต้น): วาง SL ไว้ที่ขอบนอกสุดของโซน POI
Swing ล่าสุด: วาง SL ไว้ที่จุด Swing High/Low ล่าสุดของ Timeframe เล็ก (LTF) ก่อนเข้าเทรด
ATR: ใช้ค่า ATR (Average True Range) เพื่อกำหนด SL ตามระดับความผันผวนของราคา
แท่งเทียนก่อนหน้า: วาง SL ไว้ที่ราคา High/Low ของแท่งเทียนก่อนหน้าที่จะเข้าเทรด เป็นวิธีที่ SL แคบและเสี่ยงที่สุด
i_maxHistory: กำหนดจำนวนประวัติการเทรดที่จะแสดงย้อนหลังบนกราฟ
## ส่วนที่ 2: ประเภทข้อมูลและตัวแปร
ส่วนนี้เป็นการสร้างโครงสร้างข้อมูล (type) เพื่อจัดเก็บข้อมูลให้เป็นระบบ:
Poi: เก็บข้อมูลของโซน POI แต่ละโซน เช่น กรอบราคาบน-ล่าง, ทิศทาง (ขึ้น/ลง) และสถานะว่าถูกใช้งานไปแล้วหรือยัง (Mitigated)
Trade: เก็บรายละเอียดของแต่ละการเทรด เช่น ราคาเข้า, SL, TP, ผลลัพธ์ (Win/Loss/Active) และอ็อบเจกต์สำหรับวาดกล่องบนกราฟ
## ส่วนที่ 3: ตรรกะหลักและการคำนวณ
เป็นหัวใจสำคัญของ Indicator:
ดึงข้อมูลข้าม Timeframe: ใช้ฟังก์ชัน request.security เพื่อดึงข้อมูล EMA จาก M15 และข้อมูลแท่งเทียนจาก M5 มาใช้งาน
ระบุ POI: สคริปต์จะค้นหา FVG และ OB บน M5 ตลอดเวลา หากเจ้ารูปแบบที่สอดคล้องกับทิศทางหลักจาก M15 (เช่น เจอ Bullish OB ในขณะที่ M15 เป็นขาขึ้น) ก็จะวาดโซนนั้นไว้บนกราฟ
เงื่อนไขการเข้าเทรด:
เมื่อราคาใน Timeframe เล็ก (LTF) วิ่งเข้ามาในโซน POI ที่ยังไม่เคยถูกใช้งาน
สคริปต์จะรอสัญญาณตาม i_entryMode ที่เลือกไว้ (รอ CHoCH หรือเข้าแบบ Aggressive)
เมื่อเงื่อนไขครบ จะคำนวณ SL และ TP จากนั้นจึงบันทึกการเทรดใหม่
ติดตามการเทรด: สำหรับเทรดที่ยัง "Active" อยู่ สคริปต์จะคอยตรวจสอบทุกแท่งเทียนว่าราคาไปถึง SL หรือ TP แล้วหรือยัง เมื่อถึงจุดใดจุดหนึ่ง จะบันทึกผลและสิ้นสุดการวาดกล่องบนกราฟ
## ส่วนที่ 5: การแสดงผลบนหน้าจอ
ส่วนนี้จะสร้างตาราง "Performance Dashboard" ที่มุมขวาบนของกราฟ เพื่อสรุปผลการทำงานแบบ Real-time:
M15 Bias: แสดงทิศทางของตลาดในปัจจุบัน
Total Trades: จำนวนเทรดทั้งหมดที่เกิดขึ้นในประวัติ
Win Rate: อัตราชนะ คิดเป็นเปอร์เซ็นต์
Total R-Multiple: ผลตอบแทนรวมจากความเสี่ยง (R) ทั้งหมด (ผลรวม RRR ของเทรดที่ชนะ ลบด้วยจำนวนเทรดที่แพ้) หากเป็นบวกแสดงว่ามีกำไรโดยรวม
📋 ข้อแนะนำในการใช้งาน
Timeframe ที่เหมาะสม: Indicator นี้ถูกออกแบบมาให้ใช้กับ Timeframe เล็ก (LTF) เช่น M1, M3 หรือ M5 เนื่องจากมันดึงข้อมูลจาก M15 และ M5 มาเป็นหลักการอยู่แล้ว
สไตล์การเทรด:
Confirmation: เหมาะสำหรับผู้ที่ต้องการความปลอดภัยสูง รอการยืนยันก่อนเข้าเทรด อาจจะตกรถบ้าง แต่ลดความเสี่ยงจากการเข้าเทรดเร็วเกินไป
Aggressive: เหมาะสำหรับผู้ที่ยอมรับความเสี่ยงได้สูงขึ้น เพื่อให้ได้ราคาเข้าที่ดีที่สุด
การเลือก Stop Loss:
"Swing ล่าสุด" และ "โซน POI" เป็นวิธีมาตรฐานตามหลัก SMC
"ATR" เหมาะกับตลาดที่มีความผันผวนสูง เพราะ SL จะปรับตามสภาพตลาด
"แท่งเทียนก่อนหน้า" เป็นวิธีที่เสี่ยงที่สุด เหมาะกับการเทรดเร็วและต้องการ RRR สูงๆ แต่ก็มีโอกาสโดน SL ง่ายขึ้น
การบริหารความเสี่ยง: Indicator นี้เป็นเพียง เครื่องมือช่วยวิเคราะห์ ไม่ใช่สัญญาณซื้อขายอัตโนมัติ 100% ผู้ใช้ควรมีความเข้าใจในหลักการของ SMC และทำการบริหารความเสี่ยง (Risk Management) อย่างเคร่งครัดเสมอ
การทดสอบย้อนหลัง (Backtesting): ควรทำการทดสอบ Indicator กับสินทรัพย์และตั้งค่าต่างๆ เพื่อให้เข้าใจลักษณะการทำงานและประสิทธิภาพของมันก่อนนำไปใช้เทรดจริง
MVWAP 5/21/50 + LWMA 400Moving vwap de 5,21,50 y media movil ponderada de 400
se puede utilizar con cruces
Volume MAs Oscillator | Lyro RSVolume MAs Oscillator | Lyro RS
Overview
The Volume MAs Oscillator is a powerful volume‑adjusted momentum tool that combines custom‑weighted moving averages on volume‑weighted price with smoothed deviation bands. It offers dynamic insights into trend direction, overbought/oversold conditions, and relative valuation — all within a single indicator
Key Features
Volume‑Adjusted Moving Averages: Moving averages can be volume‑weighted using the following formula: a moving average of (Price × Volume) divided by a moving average of Volume. This formula is applied across more than 14 different moving averages; however, it is not used with the VWMA, as VWMA is inherently a volume-weighted moving average.
Percentage Oscillator: Displays the normalized difference: (source – MA) / MA * 100, centered around zero for easy interpretation of strength and direction.
Deviation Bands: Builds upper and lower bands from standard deviation of the oscillator over a selected lookback, with distinct positive/negative multipliers and optional smoothing to reduce noise.
Inputs: Band Length, Band Smoothing, Positive Band Multiplier, Negative Band Multiplier.
Multi‑Mode Signal System:
1. Trend Mode – Colors oscillator according to breaks above (bullish) or below (bearish) respective bands.
2. Reversion Mode – Inverses color logic: signals overextensions beyond bands as reversion opportunities, greys inside the bands.
3. Valuation Mode – Applies a gradient color scale (UpC ⇄ DnC) to reflect relative valuation strength.
Customizable Visuals: Select from 5 pre‑set palettes—Classic, Mystic, Major Themes, Accented, Royal—or define your own custom bullish/bearish colors.
Chart enhancements include color‑coded oscillator line, deviation bands, glow‑effect midline at zero, background shading and candlestick/bar coloring aligned to signal mode.
Built‑In Signals: Automatically plots ▲ oversold and ▼ overbought markers upon crosses of lower/upper bands (in trend or reversion modes), enhancing signal clarity.
How It Works
MA Calculation – Applies the selected MA type to price × volume (normalized by MA of volume) or direct VWMA.
Oscillator Output – Calculates the % difference of source vs. derived MA.
Band Construction – Computes rolling standard deviation; applies user‑defined multipliers; smooths bands with exponential blending.
Mode-Dependent Coloring & Signals –
• Trend: Highlights strength trends via band cross coloring.
• Reversion: Flags extremes beyond bands as potential pullbacks.
• Valuation: Uses gradient to reflect oscillator’s position relative to recent range.
Signal Markers – Deploys arrows and color rules to flag overbought (▼) or oversold (▲) conditions when bands are breached.
Practical Use
Trend Confirmation – In Trend Mode, use upward price_diff cross above upper band as bullish; downward cross below lower band as bearish.
Mean Reversion – In Reversion Mode, fading extremes beyond bands may precede a retracement.
Relative Valuation – Valuation Mode shines when assessing how extended price_diff is, with gradient colors indicating valuation zones.
Bars/candles color‑coded to oscillator state boosts clarity of market tone and allows for rapid visual scanning.
Customization
Adjust MA type/length to tune responsiveness vs. smoothing.
Configure band settings for volatility sensitivity.
Toggle between signal modes for trend-following or reversion strategies.
Stylish visuals: pick or customize color schemes to match your chart setup.
⚠️Disclaimer
This indicator is a tool for technical analysis and does not provide guaranteed results. It should be used in conjunction with other analysis methods and proper risk management practices. The creators of this indicator are not responsible for any financial decisions made based on its signals.
CPR + SR Breaks with OBV DivergenceCore Features
Central Pivot Range (CPR)
Plots daily pivot (CP), bottom central (BC), and top central (TC) levels.
Key for intraday support/resistance. Price reactions near these levels signal opportunities.
Support/Resistance Tools
S/R: Auto-detects swing highs/lows as dynamic support/resistance.
S/R Re-Test: Highlights retest zones with customizable aging/deletion rules.
CISD: Marks intraday structural levels (breakout points).
Trend Indicators
SuperTrend: Follows trend direction (green = uptrend, red = downtrend).
Moving Averages: Multiple EMAs/SMAs (e.g., 20, 50, 100, 200) for confluence.
VWAP: Volume-weighted average price for dynamic support/resistance.
Advanced MAs
SALMA: Adaptive moving average with volatility filter (colored by trend).
VIDYA: Smooth trend-following MA with liquidity zones.
OBV Divergence
Detects hidden divergences between price and On-Balance Volume (OBV):
Bullish Divergence: Price makes lower lows, OBV makes higher lows (green labels).
Bearish Divergence: Price makes higher highs, OBV makes lower highs (red labels).
Table at bottom-right shows divergence strength and frequency.
Trend Strength Table
Top-right table summarizes:
Trend direction (Bullish/Bearish/Sideways)
Strength (Strong/Weak)
EMA Crosses & ADX momentum
How to Trade
Breakouts:
Enter trades when price breaks S/R levels with high volume (blue/green arrows).
Confirm with CPR/TC (resistance) or CPR/BC (support) breaks.
Reversals:
Watch for OBV divergences at key S/R levels (CISD or CPR).
Combine with SuperTrend flip (e.g., green to red = sell signal).
Trend Confluence:
Trade in the direction of the trend table (e.g., "Strong Bull" + EMA cross up).
Use SALMA/VIDYA as dynamic support in uptrends (or resistance in downtrends).
HEMA Trend by Rostek (Filters + ATR + RR) For testing by anyone. Enjoy! :)
HEMA Trend Levels with Gradient, ATR-based SL & TP, HTF Filter, and R/R Statistics
This advanced indicator is designed to help you detect high-quality trend crossovers using HEMA (Hull Exponential Moving Average) smoothing logic. It integrates dynamic visualization, strong multi-layer filters, and risk management levels — all in one package.
✅ Core Concept
The indicator plots two HEMAs (fast and slow), with a gradient fill between them that dynamically changes color based on the trend direction. Crossovers between these HEMAs generate potential trade signals (long or short).
🎨 Key Visual Features
Smooth gradient fill area between fast and slow HEMA.
Dynamic arrows marking crossover points (precisely above/below HEMA cross).
Optional ATR-based Stop Loss (SL) and Take Profit (TP) levels shown as dashed lines with labels.
Automatic display of calculated Risk/Reward (R/R) ratio next to TP level.
⚙️ Powerful Filters
You can enable/disable each of these filters individually:
✅ EMA Filter — Confirm signals only when the price is above/below a selected EMA (default: 100).
✅ ADX Filter — Confirms signals only if ADX value exceeds a set threshold (default: 20).
✅ RSI Filter — Filter signals based on RSI value (e.g., >50 for longs, <50 for shorts).
✅ Higher Time Frame (HTF) EMA Filter — Only take signals aligned with a higher timeframe EMA trend (e.g., daily EMA 100).
📏 Risk Management Features
ATR-based Stop Loss (SL): Dynamic stop level calculated using ATR, configurable multiplier (e.g., 1.5 × ATR).
ATR-based Take Profit (TP): Dynamic take profit level based on ATR, configurable multiplier (e.g., 3 × ATR).
Risk/Reward Statistics: Calculates and displays R/R ratio on the chart to help visually evaluate trade setups.
🔔 Alerts
A single unified alert condition for both long and short filtered signals, making it easy to set up TradingView alerts.
⚡ Usage Tips
Adjust HEMA lengths (default: 20 & 40) to tune responsiveness.
Enable/disable filters depending on your strategy and market conditions.
Fine-tune ATR multipliers for SL/TP based on your risk tolerance.
Use HTF filter to trade only in the direction of the main higher timeframe trend.
✅ Ideal for
Trend-following traders who want smoothed entries.
Traders looking for integrated visual risk management levels.
Users who want precise, customizable signals with strong filtering logic.
Intermarket Analysis ProIntermarket Analysis Pro Indicator
Overview
The Intermarket Analysis Pro is a sophisticated trading indicator designed for forex traders, integrating technical analysis with comprehensive macroeconomic insights. This tool features Exponential Moving Averages (EMA 10/20) for trend detection, a consolidated table combining timeframe biases, trading signals, and intermarket data, delivering a holistic view to optimize decision-making in volatile markets.
Usage Instructions
Installation: Access TradingView, navigate to the Pine Editor, paste the script, and save it as "Intermarket_Analysis_Pro". Apply it to your desired forex chart (e.g., EURUSD on a 5-minute timeframe).
Configuration:
EMA Settings: Select EMA Source as "close" for precise alignment with candle closes, adjust EMA 10 Period (default 10) and EMA 20 Period (default 20) to suit your strategy, and toggle Show EMA Value Labels or Show (B)/(S) Signal Labels for enhanced visibility.
Table Settings: Enable Show Combined Table, select Combined Table Position (e.g., "Bottom Right"), and choose Text Size (e.g., "Small") for optimal display.
Intermarket Parameters: Fine-tune Bias Threshold (default 0.3) and Score Change Threshold (default 10) to refine intermarket bias sensitivity.
Display Options: Switch between "Light" or "Dark" themes to match your chart environment.
Signal Interpretation:
EMA Indicators: A crossover of EMA 10 (orange) above EMA 20 (blue) signals a potential BUY, while a crossunder indicates a SELL. Confirm with "(B)" or "(S)" labels on the chart.
Combined Table: Analyze timeframe biases (e.g., "BULLISH" on 1m), logic signals (e.g., "BUY" on 5m), and intermarket trends (e.g., "EUR Rise (+30)") to align with market conditions.
Strategic Application: Utilize on lower timeframes (1m, 5m) for scalping or higher timeframes (1h, 4h) for swing trading. Ensure smooth scrolling to verify EMA and table synchronization with candles.
Alert Setup: Configure alerts for "Buy Signal" or "Sell Signal" on your preferred timeframe to receive real-time notifications.
Key Features
EMA 10/20: Provides customizable short-term trend analysis with optional value labels.
Unified Table: Merges SimpleBias (timeframe trends), Logic (trading signals), and Intermarket (global currency, index, and bond movements) into a single, scrollable interface.
Intermarket Insights: Evaluates 18 assets (e.g., DXY, SPX500, EUR, XAUUSD) for macroeconomic sentiment, updated hourly with color-coded change indicators.
Customization: Offers adjustable positions, sizes, and thresholds to adapt to individual trading preferences.
Market Context: Reflects current sentiment, such as a bullish EURUSD trend supported by weak NFP data and hawkish ECB policies (as of July 2025).
Best Practices
Timeframe Alignment: Match the chart timeframe with your analysis to ensure accurate EMA and table data representation.
Optimal Trading Hours: Maximize effectiveness during the NY session (08:00-17:00 EST) when intermarket activity is most pronounced.
Troubleshooting: If EMA lags during scrolling, disable labels or reduce additional indicators. Report discrepancies (e.g., "EMA 10 at 1.08840, candle at 1.08850") for further optimization.
Additional Notes
The Intermarket Analysis Pro is tailored for traders seeking to integrate global sentiment with technical signals. Test thoroughly on a demo account and adjust settings to align with your trading strategy. As of July 5, 2025, 04:04 AM WIB, the market indicates a bullish EURUSD outlook, with intermarket data reinforcing BUY opportunities on lower timeframes.
ZLMA Keltner ChannelThe ZLMA Keltner Channel uses a Zero-Lag Moving Average (ZLMA) as the centerline with ATR-based bands to track trends and volatility.
The ZLMA’s reduced lag enhances responsiveness for breakouts and reversals, i.e. it's more sensitive to pivots and trend reversals.
Unlike Bollinger Bands, which use standard deviation and are more sensitive to price spikes, this uses ATR for smoother volatility measurement.
Background:
Built on John Ehlers’ lag-reduction techniques, this indicator adapts the classic Keltner Channel for dynamic markets. It excels in trending (low-entropy) markets for breakouts and range-bound (high-entropy) markets for reversals.
How to Read:
ZLMA (Blue): Tracks price trends. Above = bullish, below = bearish.
Upper Band (Green): ZLMA + (Multiplier × ATR). Cross above signals breakout or overbought.
Lower Band (Red): ZLMA - (Multiplier × ATR). Cross below signals breakout or oversold.
Channel Fill (Gray): Shows volatility. Narrow = low volatility, wide = high volatility.
Signals (Optional): Enable to show “Buy” (green) on upper band crossovers, “Sell” (red) on lower band crossunders.
Strategies: Trade breakouts in trending markets, reversals in ranges, or use bands as trailing stops.
Settings:
ZLMA Period (20): Adjusts centerline responsiveness.
ATR Period (20): Sets volatility period.
Multiplier (2.0): Controls band width.
If you are still confused between the ZLMA Keltner Channels and Bollinger Bands:
Keltner Channel (ZLMA): Uses ATR for bands, which smooths volatility and is less reactive to sudden price spikes. The ZLMA centerline reduces lag for faster trend detection.
Bollinger Bands: Uses standard deviation for bands, making them more sensitive to price volatility and prone to wider swings in high-entropy markets. Typically uses an SMA centerline, which lags more than ZLMA.
Position Trading Strategy - EMA + FVG (Conservative)claude.ai
# 📊 Conservative Position Trading Strategy - EMA + FVG
## 🎯 **Strategy Overview**
This indicator combines **Exponential Moving Averages (EMA)** with **Fair Value Gap (FVG)** analysis to identify high-probability trading opportunities. Designed specifically for **funded account traders** who need consistent, conservative performance with strict risk management.
---
## 🔧 **Key Features**
### ✅ **Smart Entry Scoring System (1-10 Scale)**
- **EMA Alignment**: 3 points maximum
- **Price Position**: 2 points maximum
- **Momentum Confirmation**: 2 points maximum
- **Volume Validation**: 1 point maximum
- **FVG Proximity**: 2 points maximum
### ✅ **Advanced Signal Filtering**
- **Confluence Filter**: Ensures strong trend alignment
- **Volatility Filter**: Avoids choppy market conditions
- **Time Separation**: Prevents overtrading
- **Enhanced Exit Logic**: Color-coded position tracking
### ✅ **Risk Management Features**
- **Pyramiding Control**: Configurable position scaling
- **Conservative Position Sizing**: Based on account risk
- **Smart Exit Conditions**: Protects profits and limits losses
---
## ⚙️ **Settings Configuration**
### 🎯 **Entry Signal Strength**
| Setting | Conservative | Moderate | Aggressive |
|---------|-------------|----------|------------|
| **Minimum Entry Score** | 8-9 | 7-8 | 6-7 |
| **FVG Threshold** | 0.20% | 0.15% | 0.10% |
| **Use Confluence Filter** | ✅ ON | ✅ ON | ❌ OFF |
| **Volatility Filter** | ✅ ON | ✅ ON | ❌ OFF |
**📝 Recommendation**: Start with **Conservative** settings for funded accounts, then adjust based on performance.
### 🏗️ **Pyramiding Configuration**
| Account Type | Pyramid Levels | Risk Per Trade | Max Drawdown Target |
|-------------|----------------|----------------|---------------------|
| **Funded Account** | 1-2 | 0.25-0.5% | <3% |
| **Personal Account** | 2-3 | 0.5-1.0% | <5% |
| **High Risk** | 3-4 | 1.0-2.0% | <10% |
### 🔧 **Recommended Settings by Trading Style**
#### 🛡️ **Ultra Conservative (Funded Accounts)**
```
Minimum Entry Score: 8
Pyramid Levels: 1
Risk Per Trade: 0.25%
FVG Threshold: 0.20%
Confluence Filter: ON
Volatility Filter: ON
Min Candle Separation: 8
```
#### ⚖️ **Balanced Approach**
```
Minimum Entry Score: 7
Pyramid Levels: 2
Risk Per Trade: 0.5%
FVG Threshold: 0.15%
Confluence Filter: ON
Volatility Filter: ON
Min Candle Separation: 5
```
#### 🎯 **Moderate Aggressive**
```
Minimum Entry Score: 6
Pyramid Levels: 3
Risk Per Trade: 1.0%
FVG Threshold: 0.10%
Confluence Filter: OFF
Volatility Filter: OFF
Min Candle Separation: 3
```
---
## 📈 **How to Use**
### 1️⃣ **Setup Process**
1. Add the indicator to your chart
2. Configure settings based on your account type
3. Set up alerts for entry/exit signals
4. Monitor the info table for real-time metrics
### 2️⃣ **Signal Interpretation**
- **Green Labels (L + Score)**: Long entry signals
- **Red Labels (S + Score)**: Short entry signals
- **Green EXIT L**: Long position exits
- **Magenta EXIT S**: Short position exits
### 3️⃣ **Info Table Monitoring**
- **Long/Short Score**: Current entry strength
- **Trend**: Overall market direction
- **Position**: Current position status
- **Pyramids**: Active scaling levels
- **Volatility**: Market condition assessment
---
## 🎨 **Visual Elements**
### 📊 **Chart Display**
- **Blue Line**: EMA 21 (Short-term trend)
- **Orange Line**: EMA 55 (Medium-term trend)
- **Red Line**: EMA 233 (Long-term trend)
- **Background Colors**: Subtle trend indication
- **Entry/Exit Labels**: Clear signal identification
### 📋 **Information Table**
Real-time dashboard showing:
- Current signal strength
- Position status
- Risk metrics
- Market conditions
---
## ⚠️ **Important Notes**
### 🔴 **Risk Disclaimers**
- **Past performance does not guarantee future results**
- **Always use proper risk management**
- **Test thoroughly on demo accounts first**
- **Funded account rules vary by provider**
### 💡 **Best Practices**
- **Backtest extensively** before live trading
- **Start with conservative settings**
- **Monitor maximum drawdown closely**
- **Keep detailed trading records**
- **Follow your funded account rules**
### 📅 **Recommended Timeframes**
- **Primary Analysis**: 4H, 1D
- **Entry Timing**: 1H, 15M
- **Avoid**: <15M timeframes
---
## 🎓 **Strategy Logic**
### 📈 **Entry Conditions**
1. **EMA Alignment**: Trend direction confirmation
2. **Price Position**: Above/below key EMAs
3. **Momentum**: RSI and price change validation
4. **Volume**: Above-average trading activity
5. **FVG Proximity**: Near unfilled gaps
### 📉 **Exit Conditions**
- EMA crossovers (trend change)
- Price breaks key support/resistance
- Momentum reversal signals
- Position management rules
---
## 🏆 **Performance Optimization**
### 📊 **For Better Results**
- **Combine with market structure analysis**
- **Use multiple timeframe confirmation**
- **Respect overall market trends**
- **Avoid trading during major news events**
### 🔧 **Customization Tips**
- **Adjust EMA periods** for different markets
- **Modify FVG threshold** based on volatility
- **Experiment with scoring weights**
- **Fine-tune risk parameters**
---
## 💬 **Community & Support**
### 📝 **Feedback Welcome**
- Share your settings and results
- Report any bugs or issues
- Suggest improvements
- Post your backtesting results
### 🤝 **Collaboration**
This strategy is designed to evolve with community input. Your feedback helps make it better for everyone!
---
## 🎯 **Final Recommendations**
### ✅ **Do:**
- Start conservative and adjust gradually
- Backtest thoroughly across different market conditions
- Keep detailed performance records
- Follow strict risk management rules
### ❌ **Don't:**
- Use maximum aggressive settings immediately
- Ignore drawdown limits
- Trade without proper backtesting
- Violate your funded account rules
---
**📞 Remember**: This indicator is a tool to assist your trading decisions. Always combine it with proper risk management, market analysis, and your own trading plan. Success in trading comes from discipline, patience, and continuous learning.
**🎯 Good luck and trade safely!**
200 EMA Power Bounce Screenerthis indicator work on bullish reversal strategy. when stock is abov 200 ema and touch 200 ema for reversal. it will confirm that there is a revesal candle, stron support on 200 ema, primary trend is strong than secondary trand, have a strong volume, rsi cross 50 in upperside.
Normalized Volume EMA FilterTrade towards volume at liquidity levels (Trend Liquidity Zones indi), unless value states otherwise.
The SignalThe Signal — 9/21 EMA Cloud Indicator
“The Signal” is a clean, no-nonsense trend-following tool designed for traders who value clarity and precision.
This indicator plots a cloud between the 9-period and 21-period Exponential Moving Averages (EMAs), giving you immediate visual cues on trend direction and momentum. When the 9 EMA crosses above the 21 EMA, the cloud turns green — signaling bullish momentum. When the 9 EMA crosses below the 21 EMA, the cloud turns red — indicating potential bearish pressure.
🔍 Features:
- Minimalist design focused on the two most critical EMAs used by professional traders.
- Dynamic color-coded cloud: green for bullish, red for bearish.
- Optional EMA lines to fine-tune entries/exits.
- Offset control to project the EMAs forward and visualize leading momentum.
🧠 Strategy Recommendations
Basic Strategy:
- Buy Entry: When 9 EMA crosses above 21 EMA and the cloud turns green.
- Sell Entry: When 9 EMA crosses below 21 EMA and the cloud turns red.
- Use a trailing stop-loss or recent swing low/high for exits.
- CME_MINI:NQ1! Combine with volume confirmation or RSI divergence for higher confidence setups.
SPX Optimized EMA+VWAP+RSI IndicatorOptimized SPX EMA+VWAP+RSI indicators.
EMA9 = Orange
EMA21 =Blue
EMA50=Purple
EMA200=Red
VWAP=Teal
EMA Cross IndicatorHow to Use the Indicator
Interpreting Signals:
Bullish Crosses: Look for green triangles below the bars, indicating a shorter EMA crossing above a longer EMA (e.g., EMA 10 > EMA 20).
Bearish Crosses: Look for red triangles above the bars, indicating a shorter EMA crossing below a longer EMA (e.g., EMA 10 < EMA 20).
Setting Alerts: In TradingView, click the "Alerts" icon, select the condition (e.g., "Bullish Cross: EMA50 > EMA100"), and configure your notification preferences (e.g., email, popup).
Customization: Adjust the EMA lengths in the indicator settings to experiment with different periods if desired.
This indicator is designed to work on any timeframe and asset, including BTC/USDT, which you use to gauge trends for other coins. Let me know if you'd like to tweak it further or add more features!
EMA/DEMA_group_stdThis indicator is like its sister indicator in that it measures dispersion but instead of being cumulative it measures distance between moving averages in each group.
Group 1:11, 13, 18, 21
Group 2:18, 21, 29, 34
Group 3: 29, 34, 47, 55
Group 4: 47, 55, 76, 89
Group 5: 76, 89 123, 144
Group 6: 123, 144, 199, 233
Group 7: 199, 233, 322, 377
How to use
1. Divergences
2. Moving average crosses
3. Momentum
Plotshape colors show when moving averages are nearing a crossover and level can be manually set in menu.
Gattsreal EMASummary
The Gattsreal EMA indicator is a complete technical analysis tool designed to provide a clear and immediate view of the market trend and momentum across multiple timeframes. It combines long-term Exponential Moving Averages (EMAs) with a short-term EMA "ribbon," allowing traders to quickly identify the direction of the main trend and the strength of short-term movements.
Indicator Components
The Gattsreal EMA is composed of two main elements, both fully customizable:
Long-Term EMAs (Thick Lines):
EMA 200 (White): Considered the definitive line between a bull market and a bear market. Prices above the 200 EMA are generally considered to be in a long-term uptrend.
EMA 50 (Blue): An important medium-term trend line, often used as a dynamic level of support or resistance.
Short-Term EMA Ribbon:
Consists of a set of 9 EMAs (periods 9, 10, 15, 20, 25, 30, 35, 40, and 45).
The "ribbon" expands when volatility increases and contracts when volatility decreases.
The color of the ribbon's fill changes to indicate short-term momentum:
Green: The ribbon is in an uptrend (fastest EMA above the slowest), suggesting buying pressure.
Red: The ribbon is in a downtrend (fastest EMA below the slowest), suggesting selling pressure.
How to Use the Indicator
The Gattsreal EMA can be used in various ways to enhance your analysis and decision-making:
Main Trend Identification: The price's position relative to the 200 and 50 EMAs helps define your operational bias. It is preferable to trade in the direction of the main trend.
Entry and Exit Signals: The crossing of the price through the EMA ribbon can be used as a signal. For example, when the price crosses and closes above the entire ribbon and it turns green, it can be a buy signal.
Momentum Confirmation: The color and expansion of the ribbon serve as excellent confirmation of the strength of a move. A green and expanding ribbon confirms strong bullish momentum.
Dynamic Support and Resistance: All 11 EMAs can act as dynamic levels of support (in an uptrend) or resistance (in a downtrend).
This indicator is a powerful tool for traders of all levels looking for a visual and effective way to analyze market trends.
Previous Day High/Low with Labelsprevious day range, moving averages editable and with notes to add to the screen
MA Deviationインジケーター名: MA乖離率インジケーター / MA Deviation Indicator
📖 説明(日本語)
このインジケーターは、3本の移動平均線(MA)の乖離率を視覚化し、相場の過熱感やトレンドの強さを判定するためのツールです。
✅ 主な機能
複数の移動平均タイプに対応:SMA, EMA, WMA, RMA, VWMA, HMAから選択可能。
最大3本の移動平均を自由に設定可能。
それぞれのMA間の乖離率(%)をチャートにプロット。
指定した閾値を超えた時に背景色を表示(緑=乖離が正方向に大きい、赤=負方向に大きい)。
データウィンドウ上で「背景表示フラグ」も確認可能(サインが出ているかどうかが数値で確認できます)。
⚠️ 注意事項
乖離率は過去の価格と比較したものであり、将来の価格を保証するものではありません。
短期トレードよりも、トレンドの強弱や過熱感の把握に適しています。
複数のMAを使用しない場合でも、背景色は他の設定されたMAペアで判定されることにご注意ください。
📖 Description (English)
This indicator visualizes the percentage deviation between up to 3 configurable moving averages (MA), helping traders assess trend momentum and potential overextension.
✅ Key Features
Supports multiple MA types: Choose from SMA, EMA, WMA, RMA, VWMA, and HMA.
Set up to 3 custom MAs with different periods.
Plots the deviation (%) between each pair of selected MAs.
Background color highlights extreme deviations (green = strong positive deviation, red = strong negative deviation).
Data Window flag (1 or 0) shows whether background highlight is active.
⚠️ Notes
Deviation percentages are not predictive, but useful for identifying trend strength or market overheating.
Especially useful for trend analysis, not for exact entry signals.
Even if not all lines are shown, the background color may still appear based on the enabled MA comparisons.
Price Extension from 8 EMAOverview
This indicator can be used to see how far away the price is from the 8 EMA. It compares this to the Average Daily Range % to see if the stock may be overextended. The "Extension Multiplier" represents how far the stock is extended away from the 8 EMA.
Core Concept
This indicator is best used for breakout trades that are trying to make sure they are not chasing the stock.
How to Use This Indicator
This tool is primarily intended for analyzing daily charts of individual stocks and is often used by breakout traders to evaluate potential entry areas.
If the stock is far away from the 8 EMA, it is likely not ready to break out. If it is close to the 8ema, it could be ready to move higher.
This indicator can also be used in the opposite way. For example, shorting or puts.
Understanding the colors
Green (Not Extended): Indicates the price is close to the 8 EMA. This often corresponds to periods of consolidation.
Yellow (Slightly Extended): The price is beginning to move away from the 8 EMA.
Orange (Extended): The price has moved a considerable distance from the 8 EMA.
Red (Very Extended): The price is at an extreme distance from the 8 EMA, historically increasing the likelihood of a pullback or consolidation.
Settings
Info Row Position: Adjusts the vertical position of the display table on the chart. Useful when using other indicators.
ADR Length: Sets the lookback period for calculating the Average Daily Range. Or the average range % for different timeframes.
Timeframe: Determines the timeframe for the EMA and ADR calculation (the default is Daily).
BTCs RSI Dip & EMA Crossover AlertThis indicator helps you catch potential reversal opportunities after a stock or crypto asset becomes oversold.
🛠 How it works:
Watches RSI (Relative Strength Index)
First, it waits for RSI to dip below a level you choose (default is 30), which often signals the asset is oversold and due for a bounce.
Waits for Price Confirmation
After the RSI dip, the indicator watches for the first time price closes above both the 55 EMA and 200 EMA — a strong sign that momentum may be shifting upward.
Sends a “Buy” Signal
When that happens, the script:
Plots a green “Buy” label on the chart
Triggers an alert (labeled "Buy Indicator") so you’re notified immediately
⚙️ Customizable Inputs:
RSI threshold (e.g. 30 or 25)
RSI period (e.g. 14)
EMA lengths (default: 55 and 200)
✅ Designed to:
Avoid false signals by requiring both RSI weakness and price strength
Only trigger once per RSI dip, so you’re not spammed with repeat alerts
Use it to stay patient during downtrends and get alerted when the technicals show a possible turnaround. Great for swing traders and longer-term entries.
ema/dema_cum_stdThis indicator measures distance between moving averages by first calculating the variance of a group of moving averages the converting to standard deviation by taking the square root of the variance and then normalized by dividing by price (close) and multiplying by 100 ( percent). Here are the groups
Group 1 :11,13, 18, 21
Group 2: 11, 13, 18, 21, 29, 34
Group 3: 11, 13, 18, 21, 29, 34, 47, 55
Group 4: 11, 13, 18, 21, 29, 34, 47, 55, 76, 89
Group 5: 11, 13, 18, 21, 29, 34, 47, 55, 76, 89, 123, 144
Group 6: 11, 13, 18, 21, 29, 34, 47, 55, 76, 89, 123, 144, 199, 233
Group 7: 11, 13, 18, 21, 29, 34, 47, 55, 76, 89, 123, 144, 199, 233, 322, 377
Group 8: 11, 13, 18, 21, 29, 34, 47, 55, 76, 89, 123, 144, 199, 233, 322, 377, 521, 610
Great for showing compression and expansion levels and showing divergences. I try to only use Groups 1-4 or Groups 1-5
Shows when moving average groups squeeze below the set level you set using plot shape function. Shape colors are color coordinated to match moving average dispersion plots
Uses DEMA and EMA
Rolling Log Returns [BackQuant]Rolling Log Returns
The Rolling Log Returns indicator is a versatile tool designed to help traders, quants, and data-driven analysts evaluate the dynamics of price changes using logarithmic return analysis. Widely adopted in quantitative finance, log returns offer several mathematical and statistical advantages over simple returns, making them ideal for backtesting, portfolio optimization, volatility modeling, and risk management.
What Are Log Returns?
In quantitative finance, logarithmic returns are defined as:
ln(Pₜ / Pₜ₋₁)
or for rolling periods:
ln(Pₜ / Pₜ₋ₙ)
where P represents price and n is the rolling lookback window.
Log returns are preferred because:
They are time additive : returns over multiple periods can be summed.
They allow for easier statistical modeling , especially when assuming normally distributed returns.
They behave symmetrically for gains and losses, unlike arithmetic returns.
They normalize percentage changes, making cross-asset or cross-timeframe comparisons more consistent.
Indicator Overview
The Rolling Log Returns indicator computes log returns either on a standard (1-period) basis or using a rolling lookback period , allowing users to adapt it to short-term trading or long-term trend analysis.
It also supports a comparison series , enabling traders to compare the return structure of the main charted asset to another instrument (e.g., SPY, BTC, etc.).
Core Features
✅ Return Modes :
Normal Log Returns : Measures ln(price / price ), ideal for day-to-day return analysis.
Rolling Log Returns : Measures ln(price / price ), highlighting price drift over longer horizons.
✅ Comparison Support :
Compare log returns of the primary instrument to another symbol (like an index or ETF).
Useful for relative performance and market regime analysis .
✅ Moving Averages of Returns :
Smooth noisy return series with customizable MA types: SMA, EMA, WMA, RMA, and Linear Regression.
Applicable to both primary and comparison series.
✅ Conditional Coloring :
Returns > 0 are colored green ; returns < 0 are red .
Comparison series gets its own unique color scheme.
✅ Extreme Return Detection :
Highlight unusually large price moves using upper/lower thresholds.
Visually flags abnormal volatility events such as earnings surprises or macroeconomic shocks.
Quantitative Use Cases
🔍 Return Distribution Analysis :
Gain insight into the statistical properties of asset returns (e.g., skewness, kurtosis, tail behavior).
📉 Risk Management :
Use historical return outliers to define drawdown expectations, stress tests, or VaR simulations.
🔁 Strategy Backtesting :
Apply rolling log returns to momentum or mean-reversion models where compounding and consistent scaling matter.
📊 Market Regime Detection :
Identify periods of consistent overperformance/underperformance relative to a benchmark asset.
📈 Signal Engineering :
Incorporate return deltas, moving average crossover of returns, or threshold-based triggers into machine learning pipelines or rule-based systems.
Recommended Settings
Use Normal mode for high-frequency trading signals.
Use Rolling mode for swing or trend-following strategies.
Compare vs. a broad market index (e.g., SPY or QQQ ) to extract relative strength insights.
Set upper and lower thresholds around ±5% for spotting major volatility days.
Conclusion
The Rolling Log Returns indicator transforms raw price action into a statistically sound return series—equipping traders with a professional-grade lens into market behavior. Whether you're conducting exploratory data analysis, building factor models, or visually scanning for outliers, this indicator integrates seamlessly into a modern quant's toolbox.