Pin Bar Signal with SMA and Bollinger Bands FilterИндикатор выдаёт сигнал на вход в сделку, если появляется пин-бар. В зависимости от настроек, это будет бычий пин-бар от нижней границы полос Боллинджера или медвежий пин-бар - от верхней. Если вы выберете фильтр по SMA, то это будет бычий пин-бар, когда график над линией SMA, и медвежий пин-бар - под линией SMA. В настройках можно включить оба способа фильтрации или отдельно каждый.
Особенности индикатора:
1. Определяет пин-бары по критериям:
- Для бычьего пин-бара: нижняя тень > 2× верхней тени и тела
- Для медвежьего пин-бара: верхняя тень > 2× нижней тени и тела
2. Фильтрация:
- SMA (20 периодов по умолчанию)
- Полосы Боллинджера (20 периодов по умолчанию)
3. Настройки:
- Можно включать/выключать фильтры (SMA, полосы Боллинджера)
- Настраиваемые периоды и параметры
- Визуализация сигналов
Оптимизировано для 15M графика:
- Использует быстрые встроенные функции (ta.sma, ta.stdev)
- Минимизирует сложные вычисления
- Подходит для работы в реальном времени
Moving Averages
EMA & SMA by TTC1. EMA 9, 15, 21:
Short-term trends: These EMAs are typically used for analyzing short-term price movements and finding quick trend reversals.
Use cases:
EMA 9: Reacts quickly to price changes and is often used as a trigger line for entry or exit.
EMA 15 and EMA 21: Offer slightly less sensitivity, reducing false signals compared to EMA 9.
2. 200 EMA and 200 SMA:
Long-term trend indicators: These averages are widely used to identify overall market direction.
Differences:
200 EMA: Puts more weight on recent prices, making it more responsive to recent market movements.
200 SMA: Gives equal weight to all prices in the 200-period, showing a smoother long-term trend.
Use cases:
Price above 200 EMA/SMA: Bullish trend.
Price below 200 EMA/SMA: Bearish trend.
Both averages act as key support/resistance levels.
Strategies Combining These Averages:
Trend Confirmation:
If EMAs (9, 15, 21) are aligned above the 200 EMA/SMA, it confirms a strong bullish trend.
If aligned below the 200 EMA/SMA, it confirms a strong bearish trend.
Crossover Signals:
When EMA 9 crosses above EMA 21: Potential buy signal.
When EMA 9 crosses below EMA 21: Potential sell signal.
Price crossing the 200 EMA/SMA can signal long-term trend shifts.
Dynamic Support/Resistance:
Use the EMAs (especially 9 and 21) as dynamic support/resistance for trailing stop-losses in trending markets.
The 200 EMA/SMA serves as a critical level where price often reacts significantly.
EMA/SMA 9/20/50/200 + TrailStop4 wichtige EMA/SMA und der ATR TrailStop in einem Indikator zusammengefasst.
Der ATR Trailing Stops Indikator ist eine Kombination aus der ATR (Average True Range) und einem Trailing Stop. Die Average True Range ist eine Volatilitätsmessung und kann entweder über 14 Tage oder 21 Tage eingestellt werden.
Magic Strategy SabaBasic with engulf & EMA200 & RSI. chart above EMA200, RSI above 50% and every time see engulf you can buy
TKT - Alert Candle with RSI and MA ConditionsTKT Strategy PSX
This strategy will work on most of the PSX stocks.
Rules for this strategy are:
1, Price close above MA 45.
2, Price close above MA 200.
3, RSI cross 60 to upword ( RSI settings, Upper=60, Mid=50, Lower=40)
Once all these points are meet then you can buy that stock on next day if it cross last day high and sustain.
7 Trading Setups with Codesit uses 7 indicator breakouts for trading , RSI SMA ORB TRIPLE TOP AND BOTTOM
VWAP Suite by Augur - Multi PeriodOverview
The Multi-Timeframe VWAP Suite revolutionizes price analysis by combining institutional-grade volume-weighted pricing with multi-period deviation analytics. This professional toolkit simultaneously tracks VWAP across 5 time horizons (Daily to Yearly) with smart deviation bands, offering traders unparalleled insight into market structure and volatility dynamics.
Key Features
Multi-Timeframe VWAP Matrix
Simultaneous Daily/Weekly/Monthly/Quarterly/Yearly VWAP tracking
Institutional-level volume-weighted calculations
Independent timeframe toggles for focused analysis
Smart Deviation Architecture
Dual-layer standard deviation bands (1σ & 2σ)
Separate colors for upper/lower deviation zones
Adaptive 95% transparency fills for layered visualization
Professional Visual Design
Strategic color coding per timeframe (FIXED palette)
Dark Blue/Yellow/Purple/Pink/Red VWAP hierarchy
Orange-Green-Red-Blue deviation band system
Advanced Calculation Engine
HLC3 price source integration
Cumulative volume-weighting algorithm
Real-time standard deviation updates
EMA and Ichimoku Baseline StrategyBest for swing trading. this strategy is made up by Baseline of ichimoku indicator and moving averages of 5ema and 34ema. It is a crossover strategy.
Tight Consolidation With Contracting Volume1. Price is above EMA20 by 0-3%
2. EMA20 is above EMA50 by 1%-3%
3. Latest close is positive
4. Latest volume is lower than 20 day average by at least 30%
5. Show signal as an arrow below the candle
Multi-Timeframe EMA/MA SignalBuy when prices more above 9EMA, 20 EMA AND 50 MA IN, FIVE MINUTE, 15 MINUTES AND ONE MINUTE CHAT
OctradingFxDétection de la session asiatique :
La session asiatique est définie entre 23h00 et 08h00 UTC (à ajuster selon votre fuseau horaire).
La variable asianSessionStart est utilisée pour identifier cette plage horaire.
Calcul des hauts et bas de la session asiatique :
Les variables asianHigh et asianLow stockent les plus hauts et plus bas de la session asiatique.
Ces valeurs sont réinitialisées à chaque nouvelle session.
Affichage de la zone de range :
La zone de range est affichée en arrière-plan avec bgcolor pour mettre en évidence la session asiatique.
Les lignes horizontales asianHigh et asianLow sont tracées pour visualiser les niveaux de range.
Intégration avec les cassages de la MA50 :
Les cassages de la MA50 sur H1 et H4 sont toujours affichés avec des flèches et des alertes.
MA Price BandsSeveral bands based on a moving average, a simple way of marking risk levels of an asset. Comes with many options.
Systematic Savings Plan - Store of Value DCA v1.1.1 Systematic Savings Plan - Store of Value DCA v1.1
Hey there! 👋 I've created this tool to help with systematic saving during downtrends. While it can be used with any asset, it's primarily designed for Store of Value assets (like BTC, Gold, etc.).
Why Store of Value Focus?
- These assets tend to preserve wealth long-term
- Often perform well after significant downtrends
- Make sense for systematic, patient accumulation
- Great for long-term savings plans
What This Tool Does:
- Spots potential saving opportunities in downtrends
- NO selling signals - purely for accumulation
- Helps maintain saving discipline when markets look scary
- Tracks your saving progress
- Works with any Store of Value asset you choose
How It Works:
1. Trend Check (24/200 EMA):
- Watches for downtrend patterns
- Nothing fancy, just classic EMA crossover
2. Market Stress Check (MFI):
- Default: 14 periods, level 20
- Helps spot high selling pressure
- Daily chart: These defaults work fine
- Weekly chart: You might want to adjust MFI to 20-30 range
Buy Frequency Control:
- Default minimum gap: 7 periods between saves
- Helps manage your saving schedule
- Perfect for monthly salary saving
- Prevents too frequent entries when you have limited funds
- Adjustable to match your cash flow:
• Weekly paycheck? Try 7 days
• Monthly salary? Try 28-30 days
• Custom schedule? Set your own interval!
When It Suggests Saving:
- Must be in downtrend
- MFI shows high selling pressure
- Minimum gap reached since last save
Savings Dashboard Shows:
- How much you've saved total
- Number of times you've saved
- Total assets accumulated
- Your average saving price
- Progress tracking
Customize It:
- Saving amount per entry
- Time between saves
- Technical settings
- Pick your date range
- Choose your asset
Important Honest Notes:
- Just an experiment, not financial advice
- Won't catch bottoms - that's not the point
- Focused on steady, patient accumulation
- You might get multiple signals in big downtrends
- Please adjust settings to match your savings plan
- Feel free to modify the code - make it yours!
- Past patterns don't predict the future
สวัสดีครับ! 👋 ผมสร้างเครื่องมือนี้เพื่อช่วยในการออมอย่างเป็นระบบในช่วงตลาดขาลง แม้จะใช้ได้กับสินทรัพย์ทั่วไป แต่ออกแบบมาเพื่อสินทรัพย์ประเภทเก็บมูลค่า (Store of Value) เป็นหลัก (เช่น BTC, ทองคำ เป็นต้น)
ทำไมถึงเน้นสินทรัพย์เก็บมูลค่า:
- มักรักษามูลค่าได้ในระยะยาว
- มักฟื้นตัวได้ดีหลังผ่านช่วงขาลงหนักๆ
- เหมาะกับการสะสมอย่างเป็นระบบและใจเย็น
- เหมาะสำหรับแผนการออมระยะยาว
เครื่องมือนี้ทำอะไร:
- หาจุดที่น่าสะสมในช่วงขาลง
- ไม่มีจุดขาย - เน้นการสะสมอย่างเดียว
- ช่วยรักษาวินัยการออมเมื่อตลาดน่ากลัว
- ติดตามความคืบหน้าการออม
- ใช้ได้กับสินทรัพย์เก็บมูลค่าที่คุณเลือก
ทำงานยังไง:
1. เช็คเทรนด์ (EMA 24/200):
- ดูรูปแบบขาลง
- ใช้แค่การตัด EMA แบบพื้นฐาน
2. เช็คแรงขาย (MFI):
- ค่าเริ่มต้น: 14 คาบ, ระดับ 20
- ช่วยหาจุดที่มีแรงขายสูง
- กราฟรายวัน: ใช้ค่าเริ่มต้นได้เลย
- กราฟรายสัปดาห์: ลองปรับ MFI เป็น 20-30
การควบคุมความถี่ในการออม:
- ค่าเริ่มต้นขั้นต่ำ: เว้น 7 คาบระหว่างการออมแต่ละครั้ง
- ช่วยจัดการตารางการออมของคุณ
- เหมาะสำหรับการออมตามรอบเงินเดือน
- ป้องกันการออมถี่เกินไปเมื่อมีเงินจำกัด
- ปรับแต่งได้ตามกระแสเงินสด:
• รับเงินรายสัปดาห์? ลองตั้ง 7 วัน
• เงินเดือน? ลองตั้ง 28-30 วัน
• มีแผนเฉพาะตัว? ตั้งค่าเองได้เลย!
จะแนะนำให้ออมเมื่อ:
- อยู่ในช่วงขาลง
- MFI แสดงแรงขายสูง
- ถึงรอบเวลาออมตามที่ตั้งไว้
แดชบอร์ดแสดง:
- ออมไปเท่าไหร่แล้ว
- ออมกี่ครั้งแล้ว
- สะสมสินทรัพย์ได้เท่าไหร่
- ราคาเฉลี่ยที่ออม
- ติดตามความคืบหน้า
ปรับแต่งได้:
- จำนวนเงินออมต่อครั้ง
- ระยะห่างระหว่างออม
- ค่าทางเทคนิค
- เลือกช่วงวันที่ต้องการ
- เลือกสินทรัพย์ที่ต้องการออม
หมายเหตุสำคัญ (พูดกันตรงๆ):
- เป็นแค่การทดลอง ไม่ใช่คำแนะนำการลงทุน
- ไม่ได้จับจุดต่ำสุด - ไม่ใช่จุดประสงค์หลัก
- เน้นการสะสมอย่างสม่ำเสมอและใจเย็น
- อาจมีสัญญาณหลายครั้งในช่วงขาลงยาว
- ปรับค่าต่างๆ ให้เข้ากับแผนการออมของคุณ
- แก้ไขโค้ดได้ตามใจชอบ - ทำให้เป็นของคุณ!
- รูปแบบในอดีตไม่ได้การันตีอนาคต
KON SET By Sai"KON SET By Sai is a trend-following strategy that utilizes ATR-adjusted moving averages to determine entry and exit points. The strategy enters a long position when the price crosses above a custom moving average (adjusted by the ATR value) and exits at a defined target or stop-loss based on the ATR. Additionally, it incorporates re-entry logic, allowing the strategy to re-enter when the price reverses back to the entry point. This strategy is suitable for trend traders who want to manage risk with dynamically calculated stop-loss and target levels."
Tags:
Trend-following
ATR-based strategy
Entry and exit strategy
Stop-loss and target
Re-entry logic
Pine Script strategy
Algorithmic trading
Example Use Case:
"This strategy can be used to trade in trending markets. It provides clear entry and exit signals with automated risk management, making it ideal for traders who prefer systematic approaches to trade management. It works best on lower timeframes (like 5min) for capturing medium-term trends."
How It Works:
Entry Point: The strategy enters a long position when the price crosses above an ATR-adjusted moving average (set by the user).
Exit Points:
Stop-loss is set dynamically based on the ATR value.
Target is also based on the ATR, with an additional multiplier for customization.
Re-entry Logic: If the price retraces back to the entry level, the strategy re-enters the position.
Exit Conditions: The strategy exits when the price hits the stop-loss or target price.
Example:
If the current ATR is 2.0, the strategy will:
Stop-loss: 2x ATR below the entry price.
Target: 5 + user-defined multiplier x ATR above the entry price.
高胜率交易策略在TradingView上创建一个高胜率的交易指标需要结合多种技术分析工具,如均线、动量指标、成交量等。以下是一个基于**均线交叉 + RSI + 成交量过滤**的复合策略指标,适用于多种市场(如加密货币、股票、外汇等)。该指标会生成买入和卖出信号,并尽量提高胜率。
---
### **指标逻辑**
1. **均线交叉**:
- 短期均线(如9周期EMA)上穿长期均线(如21周期EMA)时,生成买入信号。
- 短期均线下穿长期均线时,生成卖出信号。
2. **RSI过滤**:
- 仅在RSI(相对强弱指数)处于30-70区间时触发信号,避免超买/超卖区域的假信号。
3. **成交量过滤**:
- 买入信号需伴随成交量放大(如成交量高于过去20周期的平均值)。
4. **止损与止盈**:
- 基于ATR(平均真实波幅)设置动态止损和止盈水平。
---
### **TradingView Pine Script代码**
以下是完整的Pine Script代码,可直接复制到TradingView中使用:
```pinescript
//@version=5
indicator("高胜率交易策略", overlay=true)
// 参数设置
shortLength = input.int(9, title="短期均线周期")
longLength = input.int(21, title="长期均线周期")
rsiLength = input.int(14, title="RSI周期")
volumeFilter = input.bool(true, title="启用成交量过滤")
atrLength = input.int(14, title="ATR周期")
takeProfitMultiplier = input.float(2.0, title="止盈倍数")
stopLossMultiplier = input.float(1.0, title="止损倍数")
// 计算均线
shortMA = ta.ema(close, shortLength)
longMA = ta.ema(close, longLength)
// 计算RSI
rsi = ta.rsi(close, rsiLength)
// 计算ATR
atr = ta.atr(atrLength)
// 成交量过滤
volumeAvg = ta.sma(volume, 20)
volumeCondition = volume > volumeAvg
// 生成信号
buySignal = ta.crossover(shortMA, longMA) and rsi > 30 and rsi < 70 and (volumeFilter ? volumeCondition : true)
sellSignal = ta.crossunder(shortMA, longMA)
// 止损与止盈
if (buySignal)
strategy.entry("Buy", strategy.long)
strategy.exit("Take Profit/Stop Loss", "Buy", limit=close + atr * takeProfitMultiplier, stop=close - atr * stopLossMultiplier)
if (sellSignal)
strategy.close("Buy")
// 绘制信号
plotshape(series=buySignal, title="买入信号", location=location.belowbar, color=color.green, style=shape.labelup, text="BUY")
plotshape(series=sellSignal, title="卖出信号", location=location.abovebar, color=color.red, style=shape.labeldown, text="SELL")
// 绘制均线
plot(shortMA, color=color.blue, title="短期均线")
plot(longMA, color=color.orange, title="长期均线")
```
---
### **使用方法**
1. 打开TradingView,进入任意图表。
2. 点击“Pine Script编辑器”,将上述代码粘贴并保存。
3. 返回图表,指标会自动加载,显示买入(BUY)和卖出(SELL)信号。
---
### **参数优化建议**
1. **均线周期**:
- 短期均线:9-12周期(适合短线交易)。
- 长期均线:21-50周期(适合中长线交易)。
2. **RSI参数**:
- 默认14周期,可调整为10-20周期以适应不同市场。
3. **ATR止损止盈**:
- 止损倍数:1.0-1.5(保守型)。
- 止盈倍数:2.0-3.0(激进型)。
4. **成交量过滤**:
- 在低波动市场(如外汇)可关闭,在高波动市场(如加密货币)建议开启。
---
### **策略优势**
1. **高胜率**:通过均线交叉 + RSI过滤,减少假信号。
2. **动态止损止盈**:基于ATR设置,适应市场波动。
3. **灵活性**:参数可调,适用于不同市场和交易风格。
---
### **注意事项**
1. **回测验证**:在实盘前,务必在TradingView中进行历史回测,验证策略表现。
2. **风险管理**:单笔交易风险控制在总资金的1%-2%。
3. **市场适应性**:该策略在趋势市场中表现较好,震荡市场中可能出现连续亏损。
---
如果对代码或策略有进一步问题,欢迎随时提问!
Internal Bar StrengthShort Description:
This indicator calculates the Internal Bar Strength (IBS) for each bar, which measures the close price’s relative position within that bar’s high-low range, and then optionally smooths that value with a selected moving average.
What Does It Measure?
Internal Bar Strength (IBS):
The IBS formula is (close-low)/(high-low)
. This ratio indicates where the closing price lies within a bar’s trading range:
A value near 0 means the close is near the bar’s low.
A value near 1 means the close is near the bar’s high.
A value of 0.5 means the close is exactly in the middle of the bar’s range.
Smoothing (Moving Averages):
You can choose to smooth the IBS value with one of five different moving average types: RMA, SMA, EMA, WMA, or VWMA. The default length for smoothing is 10, but this can be adjusted for more or less sensitivity.
Key Features
Multiple MA Options:
RMA: Also known as the Wilder’s moving average, it reacts slightly slower to changes than EMA.
SMA: Simple moving average, straightforward average of the last n values.
EMA: Exponential moving average, places more weight on recent data.
WMA: Weighted moving average, linear weighting from oldest to newest data.
VWMA: Volume-weighted moving average, weights price by trading volume.
Color Coding:
Green when IBS is greater than 0.5.
Red when IBS is less than or equal to 0.5.
MTF EMA Sentiment - SimplifiedThe MTF EMA Sentiment Indicator is a custom Pine Script tool designed to help traders assess market sentiment across multiple timeframes using Exponential Moving Averages (EMAs). It simplifies the process of identifying trends and potential trading opportunities by comparing short-term and long-term EMAs on hourly, daily, and weekly timeframes. Here's a detailed breakdown of the indicator:
Buy/Sell Indicator-SMA (5/8/21/50/200)Buy-Sell indicator: are tools or signals used in financial markets to help traders and investors identify potential entry (buy) and exit (sell) points for their trades. These indicators are typically derived from technical analysis and aim to simplify decision-making by providing visual or numerical cues based on price, volume, or momentum.
Buy-sell indicators often need confirmation from additional analysis or tools for reliable decision-making.
Note: No indicator is foolproof, and market conditions can result in misleading signals.
SMA: SMA (Simple Moving Average) indicators are among the most popular tools used in technical analysis to identify trends in the price of an asset. They smooth out price data by calculating the average price over a specified number of periods. Here's an overview:
The numbers 5, 8, 21, 50, and 200 refer to the number of periods used in the calculation of the SMA. Here's what each represents:
A short-term indicator:
SMA 5 (5-day Moving Average):
Tracks the average price over the last 5 periods. Often used to spot short-term trends.
SMA 8 (8-day Moving Average):
Similar to the 5-day SMA but smooths price action slightly more.
A mid-term indicator:
SMA 21 (21-day Moving Average):
Reflects a full trading month (approximately 21 trading days in a month).Helps to identify medium-term trend direction.
SMA 50 (50-day Moving Average):
Often used to assess the overall trend direction. A crossover with other SMAs, like the 200-day SMA, can indicate trend reversals.
A long-term indicator.
SMA 200 (200-day Moving Average): Commonly used to assess the overall market trend.
If the price is above the 200-day SMA, the security is considered in a long-term uptrend, and vice versa.
Note :
Crossovers: When shorter-term SMAs (e.g., 5 or 8) cross above longer-term SMAs (e.g., 50 or 200), it can signal a bullish trend. The opposite signals a bearish trend.