Broad Market MOEX### **Broad Market for Russia**
The **Broad Market for Russia** indicator provides a comparative analysis of the price deviation of major Russian stocks relative to their average closing price over a customizable lookback period. This tool helps traders identify market trends and detect relative strength or weakness among different assets.
### **How It Works:**
- The indicator calculates the **percentage deviation** of each stock’s current price from its **simple moving average (SMA)** over the defined **lookback period (in hours).**
- The **default lookback period is 24 hours**, but it can be adjusted based on the trader’s needs.
- It tracks major Russian assets, including **Gazprom, Sberbank, Lukoil, Rosneft, Norilsk Nickel, Yandex, and others**, alongside the currently selected instrument.
- Each stock’s deviation is plotted on a separate panel, allowing for quick visual comparison.
- **Positive deviation** indicates that the price is trading above its average, signaling potential **bullish momentum**.
- **Negative deviation** suggests the price is below its average, possibly indicating **bearish conditions**.
This indicator is particularly useful for traders in the Russian stock market who want to gauge broader market strength and detect divergence patterns across multiple assets.
---
### **Broad Market for Russia**
Индикатор **Broad Market for Russia** предоставляет сравнительный анализ отклонения цены крупнейших российских акций относительно их среднего значения за настраиваемый период. Этот инструмент помогает трейдерам выявлять рыночные тренды и определять относительную силу или слабость активов.
### **Как это работает:**
- Индикатор рассчитывает **процентное отклонение** текущей цены каждой акции от её **простого скользящего среднего (SMA)** за заданный **период анализа (в часах).**
- **Период анализа по умолчанию — 24 часа**, но его можно изменять в зависимости от предпочтений трейдера.
- В индикаторе отслеживаются **крупнейшие российские активы**, такие как **Газпром, Сбербанк, Лукойл, Роснефть, Норникель, Яндекс и другие**, а также текущий выбранный инструмент.
- Отклонение каждой акции отображается на отдельной панели, что позволяет быстро проводить визуальное сравнение.
- **Положительное отклонение** означает, что цена торгуется выше своего среднего значения, что может сигнализировать о **бычьем тренде**.
- **Отрицательное отклонение** указывает, что цена ниже своего среднего значения, что может свидетельствовать о **медвежьей тенденции**.
Этот индикатор особенно полезен для трейдеров российского фондового рынка, которые хотят оценить силу всего рынка и выявлять расхождения между различными активами.
指標和策略
OrangeCandle 4EMA 55 + Fib Bands + SignalsThe script is a TradingView indicator that combines three popular technical analysis tools: Exponential Moving Averages (EMAs), Fibonacci bands, and buy/sell signals based on these indicators. Here’s a breakdown of its features:
1. EMA Settings and Calculation:
The script calculates and plots several Exponential Moving Averages (EMAs) on the chart with different lengths:
Short-term EMAs: EMA 9, EMA 13, EMA 21, and EMA 55 (used for tracking short-term price trends).
Long-term EMAs: EMA 100 and EMA 200 (used to analyze longer-term trends).
These EMAs are plotted with different colors to visually distinguish between the short-term and long-term trends.
2. Fibonacci Bands:
The script calculates Fibonacci Bands based on the Average True Range (ATR) and a Simple Moving Average (SMA).
Fibonacci factors (1.618, 2.618, 4.236, 6.854, and 11.090) are used to determine the upper and lower bounds of five Fibonacci bands.
Upper Fibonacci Bands (e.g., fib1u, fib2u) represent resistance levels.
Lower Fibonacci Bands (e.g., fib1l, fib2l) represent support levels.
These bands are plotted with different colors for each level, helping traders identify potential price reversal zones.
3. Buy and Sell Signals:
Long Condition: A buy signal occurs when the price crosses above the EMA 55 (long-term trend indicator) and is above the lower Fibonacci band (support zone).
Short Condition: A sell signal occurs when the price crosses below the EMA 55 and is below the upper Fibonacci band (resistance zone).
These conditions trigger visual signals on the chart (green arrow for long, red arrow for short).
4. Alerts:
The script includes alert conditions to notify the trader when a long or short signal is triggered based on the crossover of price and EMA 55 near the Fibonacci support or resistance levels.
Long Entry Alert: Triggers when the price crosses above the EMA 55 and is near a Fibonacci support level.
Short Entry Alert: Triggers when the price crosses below the EMA 55 and is near a Fibonacci resistance level.
5. Visualization:
EMAs are plotted with distinct colors:
EMA 9 is aqua,
EMA 13 is purple,
EMA 21 is orange,
EMA 55 is blue (with thicker line width for emphasis),
EMA 100 is gray,
EMA 200 is black.
Fibonacci bands are plotted with different colors for each level:
Fib Band 1 (upper and lower) in white,
Fib Band 2 in green (upper) and red (lower),
Fib Band 3 in green (upper) and red (lower),
Fib Band 4 in blue (upper) and orange (lower),
Fib Band 5 in purple (upper) and yellow (lower).
Summary:
This script provides a comprehensive strategy for analyzing the market with multiple EMAs for trend detection, Fibonacci bands for support/resistance, and signals based on price action in relation to these indicators. The combination of these tools can assist traders in making more informed decisions by providing potential entry and exit points on the chart.
HUNTEREsse indicador utiliza as emas 9, 21 e 50 para mostrar a tendência dominante do ativo. Funciona bem nos tempos gráficos maiores (4h, 1D, 1S, 1M)
ENTRY CONFIRMATION V2The LIT - Confirmations Indicator is a dynamic checklist tool designed for traders who uses LIT Strategy (Liquidity Inducement Theory) following liquidity and smart money concepts as benefit. This tool allows users to document and track essential trading confirmations directly on their TradingView charts, offering a structured and visual approach to market analysis.
What Makes This Unique?
Unlike other open-source tools, the LIT - Confirmations Indicator introduces a fully interactive and customizable table directly on the chart. This table provides real-time feedback with clear ✅ (checked) and ❌ (unchecked) visual indicators for each confirmation. The user can position the table on the chart according to their preference, ensuring it integrates seamlessly into their trading workflow without obscuring critical chart data.
How It Works
1. Predefined Confirmations
The indicator includes a set of commonly used trading confirmations:
Identify Liquidity: Mark areas where liquidity might pool.
Inducement: Confirm the presence of inducements before market reversals.
Relevant Break of Structure (BOS): Validate critical structural changes.
Mitigation after RBoS: Check for mitigation following a BOS.
Smart Money Trap (SMT): Identify traps often utilized by smart money.
Timing: Ensure trades are entered during high-probability time windows.
Mitigation to the Leftside: Confirm whether price action aligns with prior mitigations.
Set Targets: Define and document logical take-profit or stop-loss levels.
2.Interactive Table Display
A table is dynamically created on the chart, showing all confirmations with their current state (checked or unchecked).
Users can choose the position of the table (top, middle, or bottom and left, center, or right) and customize its background color for better visibility.
3. Customization
All confirmations are toggled through the input settings, allowing traders to adapt the indicator to their unique strategies.
The display can be easily adjusted to match the trader’s preferences without cluttering the chart.
How to Use
1. Add the indicator to your chart.
2. Open the settings panel to activate the relevant confirmations for your analysis.
3. Use the Display Settings section to adjust the table's position and background color.
4. View the table on your chart to track selected confirmations in real-time.
Institutional Order Flow SignalsThis indicator detects institutional order flow by analyzing VWAP, TWAP, iceberg orders, dark pool activity, and market maker behavior. It provides buy/sell signals for scalping and trading execution insights.
ADX + RSI with Buy/Sell SignalsADX Calculation:
Measures trend strength.
If ADX > 25, it indicates a strong trend.
RSI Calculation:
Determines overbought/oversold conditions.
Buy signal: RSI crosses above 30 (exiting oversold) & ADX > 25.
Sell signal: RSI crosses below 70 (exiting overbought) & ADX > 25.
Visualization:
ADX (red line) and RSI (blue line) are plotted.
Thresholds at 25 (ADX), 30 (RSI oversold), and 70 (RSI overbought).
Background colors indicate overbought (red) and oversold (green) RSI zones.
Alerts & Buy/Sell Markers:
"B" appears when a buy condition is met.
"S" appears when a sell condition is met.
Alerts notify users of potential trade opportunities.
Mega-Buy IndicatorMega-Buy Indicator - TradingView Pine Script Description
Overview
The Mega-Buy Indicator is a dip-buying strategy tool that helps traders determine whether market conditions are favorable for entering long positions. It is based on key market factors such as moving averages, market breadth, valuations, interest rates, volatility (VIX), and recession risk.
By analyzing seven essential criteria, the indicator assigns a Market Score (0-7) and signals a buy opportunity when at least 5 out of 7 conditions are met.
How the Mega-Buy Indicator Works
Calculates Key Market Factors:
S&P 500 vs. 150-day SMA → Checks if the price is above a key moving average.
Market Breadth (% of stocks above 200-day SMA) → Measures market strength.
S&P 500 Price-to-Earnings (P/E) Ratio → Evaluates if stocks are overvalued.
Yield Curve (10-Year Treasury - 2-Year Treasury) → Assesses economic health.
VIX (Volatility Index) Level → Gauges market fear and stability.
Recession Risk → Identifies potential economic downturns.
10-Year Yield Movement → Determines if bond yields are declining (favorable).
Assigns a Score (0-7):
Each factor that meets buyable conditions adds +1 to the Market Score.
Generates Buy Signals:
If Market Score ≥ 5, a green "BUY" signal appears on the chart.
If Market Score < 5, no buy signal is displayed.
Visual Aids for Traders:
Background Color Changes:
Green background = Favorable buy conditions (score 5+).
Red background = Unfavorable market conditions.
Market Score Displayed on Chart:
Shows the real-time market condition rating (0-7).
How to Use the Mega-Buy Indicator
📌 Ideal for traders looking to buy market dips with data-backed signals.
✅ Works best on S&P 500 (SPX), SPY ETF, and major stock indices.
📈 Use alongside other indicators like RSI, MACD, and trend analysis for confirmation.
💡 Recommended Timeframes: Daily (1D), Weekly (1W), or 4H charts.
Why Use This Indicator?
✔ Data-Driven Approach – Based on historical market trends since 1950.
✔ Multi-Factor Analysis – Uses seven key criteria to ensure better decision-making.
✔ Prevents Early Buying – Helps avoid false dips that turn into deeper corrections.
✔ Easy Visualization – Buy signals, background colors, and score labels make it intuitive.
10 Moving Averages10 Moving Averages Indicator Enhance Your Trend Analysis and Crossover Strategies
This free TradingView indicator overlays 10 fully customizable moving averages on your chart, empowering you to analyze trends and crossovers with clarity. Designed with versatility in mind, it allows you to choose from multiple types of moving averages—Simple (SMA), Exponential (EMA), Running (RMA), Weighted (WMA), or Volume-Weighted (VWMA)—for each line.
Key Features:
10 Moving Averages in One: Monitor up to 10 different moving averages simultaneously, perfect for comparing trends across multiple timeframes or methods.
Customizable Settings:
Type Selection: Easily switch between SMA, EMA, RMA, WMA, and VWMA.
Adjustable Lengths: Configure the period for each moving average to fit your trading strategy.
Color Options: Intuitively set distinct colors for each MA for quick visual identification.
Show/Hide Individual MAs: Activate or deactivate any moving average without cluttering your chart.
Organized & User-Friendly: The input parameters are neatly grouped, making configuration straightforward even for beginners.
Whether you’re a day trader looking to spot quick crossovers or a long-term investor gauging overall market trends, this indicator offers the flexibility and precision you need. Enjoy a more comprehensive view of price action and make more informed trading decisions.
Happy charting and best of luck in your trading journey!
Bollinger Bands Strategy概述
「Bollinger Bands Strategy」是一個基於布林帶(Bollinger Bands)的趨勢追蹤與反轉交易策略,適用於多種市場和時間框架。該策略利用價格與布林帶上下緣的互動來捕捉進場機會,並結合多層次出場規則(固定條件與移動停利),幫助交易者在獲利與風險管理之間找到平衡。
進場邏輯
做多:
當價格穿越布林帶下緣(Crossover Lower Band),或
價格觸及下緣下方後反彈(最低價 < 下緣 且 收盤價 > 下緣)。
做空:
當價格穿越布林帶上緣(Crossunder Upper Band),或
價格觸及上緣上方後回落(最高價 > 上緣 且 收盤價 < 上緣)。
出場邏輯
出場規則分為三層,同時支持做多與做空(條件相反):
條件 1:進場後第 X 根 K 線開始,若收盤價進入布林帶上緣與均線之間的前 1/3 區域(做空:Upper - (Upper - MA20) / 3;做多相反),則平倉。
條件 2:進場後第 Y 根 K 線開始,若收盤價穿越 20 期均線(MA20),則平倉。
移動停利:當價格突破布林帶另一側邊緣(做空:下緣;做多:上緣),啟動移動停利,獲利回吐 Z% 後出場。
可調整參數
布林帶設定:
BB Length(預設 20):布林帶的均線週期。
BB Multiplier(預設 2.0):標準差倍數,控制布林帶寬度。
出場設定:
X(預設 3):條件 1 的起始 K 線數。
Y(預設 10):條件 2 的起始 K 線數。
Z(預設 30%):移動停利的獲利回吐百分比。
特點與使用建議
靈活性:透過調整 X、Y 和 Z,可適應不同市場的波動性與交易風格。
視覺化:布林帶與均線直接繪製在圖表上,方便直觀分析。
建議:建議在回測中測試不同時間框架(如 15 分鐘、1 小時或日線),並根據市場特性調整參數。適合用於波動較大的市場(如加密貨幣或外匯)。
注意事項
此策略未包含停損條件,建議根據個人風險承受能力手動添加停損邏輯(例如使用 strategy.exit 的 stop 參數)。
移動停利的觸發倍數目前固定為 2 倍風險距離,若需調整,可聯繫作者獲取進階版本。
作者的話
這個策略是我對布林帶交易系統的實踐,旨在結合趨勢與反轉訊號,並提供穩健的出場管理。歡迎在回測與實盤中試用,並在評論區分享你的結果與建議!
Hourly Cycle High/Low by Brijwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcuwduwobubcu
Bull Market Support BandBull Market support band with adjustable time frames.
Default values reflect the accurate Bull Market support band
Backtest Sinyal Buy dan Sell dengan MA 7 dan MA 10Sebenernya, ini rahasia, tapi gak jadi rahasia. Kenapa? Karena
SAR Distance with TrendBy comparing the closing price to the SAR, the indicator visually distinguishes bullish (price above SAR) from bearish (price below SAR) conditions. This immediate visual cue helps traders quickly assess the prevailing market trend.
A sudden change in the distance, especially when accompanied by a change in the trend color (from green to red or vice versa), could alert traders to a potential reversal. This can be used as an early warning to tighten stop-loss orders or exit a position.
Relative Strength RatioWhen comparing a stock’s strength against NIFTY 50, the Relative Strength (RS) is calculated to measure how the stock is performing relative to the index. This is different from the RSI but is often used alongside it.
How It Works:
Relative Strength (RS) Calculation:
𝑅
𝑆
=
Stock Price
NIFTY 50 Price
RS=
NIFTY 50 Price
Stock Price
This shows how a stock is performing relative to the NIFTY 50 index.
Relative Strength Ratio Over Time:
If the RS value is increasing, the stock is outperforming NIFTY 50.
If the RS value is decreasing, the stock is underperforming NIFTY 50.
Mushir's Inside Candle IndicatorThis indicator detects inside candle formations on the chart’s current timeframe. It highlights when a candle’s range is fully engulfed by the previous candle’s range, provided the previous candle meets specific criteria.
How It Works ?
It shows the formation of inside candle on the charts to help in find trades.
Mother Candle Validation
The previous candle must be a “leg candle” with a strong body and minimal wicks relative to its body size, ensuring a robust structure.
Inside Candle Detection
The current candle qualifies as an inside candle if:
Its high is ≤ the previous candle’s high.
Its low is ≥ the previous candle’s low.
Why Use This Indicator?
Adapts to the chart’s current timeframe—no manual adjustments needed.
Easily gives you the identification of inside candles
Minimalistic Design
Better results in trending market
How to use it?
- when the inside candle is formed there are certain conditions:
1. if the next candle first crosses the high of inside candle, look for a potential buy trade with RR as 2:1 while stoploss being just below the low of inside candle.
2. if the next candle first crosses the low of inside candle, look for a potential sell trade with RR as 2:1 while stoploss being just above the high of inside candle.
3. if 2:1 is achieved, then increase the partial target to 3:1 while bringing the stoploss to the entry point.
4. if the high is crossed first and then the low is crossed or vice versa then the trade is invalidated.
Happy Trading!
Blaster Fx - first fvgتحديد الفجوة السعرية الاولة بعد افتتاح نيويورك
والتي ستكون بمثابة دعم ومقاومة للسعر
بعد ان نقوم بتحديد الاتجاه وتحيز اليوم
سوف نري ان السعر يرفض كسر 50% من الفجوة السعرية
وقف الخسارة يكون دائما اسفلها ب5 نقاط
في حال كسر الفجوة ننظر السعر العودة لها ونقوم بالدخول عند رؤية مقومة للسعر
نتشرف بالجميع في جروب Blaster Fx على التلجرام
ICT CCI ABC Signals EnhancedLa estrategia "ICT CCI ABC Signals Enhanced" es un indicador técnico diseñado para TradingView que combina conceptos inspirados en el enfoque ICT (Inner Circle Trader) con herramientas clásicas como el CCI (Commodity Channel Index) y un patrón correctivo ABC. Utiliza una media móvil exponencial (EMA) como filtro de tendencia para identificar oportunidades de compra y venta en el mercado. Este indicador está optimizado para Pine Script v6 y busca capturar reversiones o continuaciones de tendencia en puntos clave del precio.
MomentumBreakout V1.2 - DOGE/USDTMomentumBreakout V1.2 - DOGE/USDT 策略说明
概述
MomentumBreakout V1.2 是一种趋势跟踪突破策略,专为在 10 分钟图表上交易 DOGE/USDT 而设计(尽管适用于其他时间框架)。它将动量指标(EMA、RSI、MACD)与动态头寸规模和风险管理相结合,以捕捉有利可图的突破,同时最大限度地减少损失。该策略支持多头和空头交易,结合杠杆,并使用追踪止损和基于时间的退出来优化性能。
主要特点
多指标确认:在 1 小时数据上使用 EMA 交叉、RSI 和 MACD 来确认趋势并减少错误信号。
动态头寸调整:根据账户净值、风险百分比和 ATR 波动性调整交易规模,按杠杆进行缩放。
追踪止损:采用基于 ATR 的严格追踪止损来锁定利润并限制下行风险。
基于时间的退出:在用户定义的持有期后自动平仓(默认:72 根柱线,或 10 米图表上的 12 小时)。
费用考虑:在逻辑中包含交易费用以进行实际的绩效评估。
策略逻辑
多头入场:当价格越过快速 EMA(15 周期)时触发,由上升趋势(快速 EMA >慢速 EMA)、RSI (1H) > 50、MACD (1H) 看涨和价格> 20 周期 SMA 确认。
空头入场:当价格跌破慢速 EMA(40 周期)时触发,由下降趋势(快速 EMA <慢速 EMA)和 ATR 波动性上升确认。
退出条件:
追踪止损:长期止损以低于价格 0.5 倍 ATR 的价格追踪;短止损以高于 0.5 倍 ATR 的价格追踪。初始止损设置为入场后的 1.2 倍 ATR。
Time Exit: 在最大持有期 (默认: 72 根柱线) 后平仓以避免过度曝光。
头寸规模:计算为 (净值 * 风险%) / (1.2 * ATR),并通过动态杠杆进行缩放,以波动性为上限。
输入参数
EMA 快速长度 (15):用于突破检测的短时 EMA(10-50 范围)。
EMA 慢速长度 (40):用于确认趋势的长期 EMA(20-100 范围)。
ATR 周期 (14):止损和大小的波动率衡量(1-50 范围)。
每笔交易的风险 (0.5%):每笔交易的风险净值百分比 (0.1%-5%)。
基础杠杆 (5x):起始杠杆,动态调整 (1x-20x)。
费率 (0.1%):每边交易费 (0%-1%)。
Max Hold Bars (72):保持一个位置的最大条数 (1-1000)。
RSI 周期 (14):RSI 计算周期 (5-50)。
MACD 设置 (12, 26, 9):1 小时 MACD 的快速、慢速和信号长度(可定制)。
如何使用
将策略应用于 10 分钟图上的 DOGE/USDT(或任何货币对)。(个人回测发现这个版本30分钟的数据最高。)
根据您的风险承受能力和市场状况调整参数。
彻底回溯测试以优化您的首选时间范围和资产。
在波动的市场中监控追踪止损和时间退出行为。
笔记
最适合趋势市场;在波动条件下可能表现不佳。
在高波动性情景下,杠杆率会动态降低以管理风险。
为透明起见,费用按往返成本(入场 + 退出)计算。
归 因
该策略是由 Grok 3 生成的,Grok 3 是由 xAI 构建的 AI,与 您 合作。我很高兴与社区分享它,并期待进一步完善它!
欢迎反馈
请在下面的评论中分享您的反馈、回测结果或建议。我将与 Grok 3 同步以优化此版本或根据您的输入创建新策略。让我们一起构建伟大的东西!