MA Cross Strategy with Confirmation買入條件:
快線從下往上穿越慢線(黃金交叉)
且連續三根K線的收盤價都在快線上方
賣出條件:
快線從上往下穿越慢線(死亡交叉)
且連續三根K線的收盤價都在快線下方
只有在快慢線間距大於1%時才會考慮交易
需要連續三天符合所有條件(包括間距要求)才會產生交易訊號
這樣可以有效避免在盤整期間產生過多的交易訊號
在發生黃金交叉後的10根K線內
只要出現連續三天符合條件(價格在快線上方且間距足夠)就可以進場
同理,在死亡交叉後的10根K線內
出現連續三天符合條件就可以平倉
Candlestick analysis
Overnight Gap FrequencyThis indicator calculates today's overnight gap (the percentage change from yesterday's close to today's open) and then scans the previous 60 daily candles to count how many times a similar or larger gap occurred. When today's gap is positive, it counts historical gap ups that were equal to or larger; when negative, it counts gap downs that were equal to or more extreme. The result is displayed as a label on the most recent bar, giving you a quick visual reference of how frequently such moves have happened in the past.
Ideal for daily charts, this tool helps you contextualize today's opening gap against historical market behavior, offering insight into the relative rarity of the move.
Renko Intraday Strategy- No REPAINTINGThe strategy uses renko blocks for trading and EMA for confirmation. Renko blocks can be plotted based on fixed values or ATR indicators.
综合趋势策略1. 策略的组成与信号
该策略结合了多个经典的技术指标和市场信号来生成交易信号,包括:
量能分析:利用成交量变化(放量与缩量)来判断市场的活跃度,进而推测市场的当前状态。量能变化通常可以帮助识别市场的潜在突破或反转点。
动能系统(EMA差值):使用两个不同周期的指数移动平均线(EMA),计算它们的差值来判断市场的动能。动能系统有助于识别趋势的强度以及潜在的趋势反转。
布林带突破:通过价格突破布林带的上下轨来识别市场的极端波动,这通常与强势的市场运动有关。
RSI超买超卖:RSI(相对强弱指标)用来检测市场是否进入超买(70以上)或超卖(30以下)区域,帮助确认市场的极端状态,预测市场的反转点。
2. 策略的特点与适用场景
趋势跟随型策略:该策略更多地依赖于趋势跟随和突破逻辑,特别是在使用EMA和布林带等趋势跟随指标时。该策略适合用于市场趋势明确且波动较大的时期。
适合波动性较大的市场:因为该策略使用了布林带和RSI来检测市场的极端波动点,因此在市场出现剧烈波动时,该策略可能会表现较好。波动性较大的市场(如外汇市场、大宗商品市场、某些个股)可能会给这个策略带来更多的机会。
信号确认依赖多个指标:该策略通过多个信号确认点来生成交易信号,包括量能突破、RSI突破、布林带突破等,因此它避免了仅依赖单一指标可能带来的信号误判问题。
3. 适合的市场环境
强趋势市场:该策略主要依赖动能指标(如EMA差值、RSI等)来判断市场趋势,特别是适用于那些有明确方向性趋势的市场,比如持续上涨或下跌的市场。
高波动市场:策略使用了布林带来识别市场的突破,因此它适合在波动性较大的市场中使用。如果市场处于震荡行情或者波动性极低的时期,策略可能会产生更多的错误信号,导致不必要的交易。
突破行情:如果市场存在明显的突破(突破支撑/阻力位、价格突破布林带上下轨等),该策略可能会表现出较高的成功率,因为它能够通过量能和趋势动能的确认来避免假突破。
4. 策略的胜率与风险控制
高胜率潜力:由于该策略综合了多个信号指标进行交易决策,能够有效减少假信号,并在趋势明确时捕捉到交易机会。因此,在趋势强烈且明确时,策略的胜率可能较高。
可能的亏损风险:在市场处于震荡区间时,由于策略使用了布林带和RSI等指标,这些指标可能会产生更多的错误信号(例如在震荡行情中频繁发生突破假信号),从而可能增加亏损的风险。因此,策略在震荡市场中的表现可能不如趋势明确的市场。
风险管理:策略使用了ATR(平均真实波动幅度)来动态调整止损和止盈,确保在市场波动剧烈时能够有效管理风险。这种动态止损止盈机制有助于提高策略在不确定市场条件下的生存能力,避免过早的止损。
5. 适合的人群
适合经验丰富的交易者:该策略依赖于多个技术指标进行交易决策,因此适合有一定技术分析背景的交易者。这些交易者能够理解并利用量能、动能、布林带、RSI等指标进行市场分析。
适合中长线交易者:由于该策略结合了动能指标和趋势跟随系统,更适合中长线的趋势交易者。在短期内,尤其是在快速变化的市场中,策略可能会产生较多的信号,但由于信号的确认机制,适合的持仓时间较长。
适合希望自动化交易的交易者:对于那些希望减少人工操作并自动化交易的交易者来说,这个策略是一个很好的选择。交易者可以通过调整参数(如RSI阈值、量能倍数等)来优化策略,并使其适应不同的市场条件。
TheSmartTradingGuy - Master Script 001TheSmartTradingGuy - Master Script 001 (Youtube: @thesmarttradingguy)
📌 Overview:
The Master Script 001 is an advanced trading indicator designed to help traders identify trends, key support & resistance levels, and momentum shifts. It integrates multiple technical indicators, including ADX, RSI, Moving Averages, VWAP, Pivot Points, and Supertrend, to provide a comprehensive trading strategy.
🔹 Key Features:
✔ ADX Trend Detection – Helps filter out weak trends and avoid no-trade zones.
✔ Supertrend-Based Buy/Sell Signals – Provides dynamic trend-following signals.
✔ Long-Term & Short-Term Moving Averages – Identifies market direction.
✔ RSI with Customizable Moving Average Smoothing – Detects overbought/oversold conditions.
✔ VWAP (Volume-Weighted Average Price) – Helps track institutional price levels.
✔ Pivot Points with Support & Resistance Levels – Identifies key price action zones.
📊 How to Use:
1️⃣ Trend Confirmation: Use ADX and Moving Averages to confirm strong trends.
2️⃣ Entry Signals: Buy when a bullish Supertrend signal appears & price is above VWAP. Sell when a bearish signal appears & price is below VWAP.
3️⃣ Momentum & Strength: Check RSI levels and ADX values to validate trade setups.
4️⃣ Support & Resistance: Use Pivot Points to identify potential reversal or breakout zones.
5️⃣ VWAP for Institutional Levels: Monitor VWAP positioning to gauge market sentiment.
⚙ Customization:
🔹 Adjust ADX, Supertrend Multiplier, RSI Length, and Moving Average Type to fit your trading style.
🔹 Enable/Disable Signals, VWAP, and Pivots as per your preference.
📌 Ideal for:
✅ Trend Traders
✅ Scalpers & Swing Traders
✅ Institutional & Retail Traders
🛑 Risk Disclaimer:
This script is for educational purposes only. Always perform your own analysis before taking any trade. Past performance does not guarantee future results.
🚀 Developed by: TheSmartTradingGuy
Wick Size in USD with 10-Bar AverageWick Size in USD with 10-Bar Average
Version: 1.0
Author: QCodeTrader
🔍 Overview
This indicator converts the price wicks of your candlestick chart into USD values based on ticks, providing both raw and smoothed data via a 10-bar simple moving average. It helps traders visualize the monetary impact of price extremes, making it easier to assess volatility, potential risk, and plan appropriate stop loss levels.
⚙️ Key Features
Tick-Based Calculation:
Converts wick sizes into ticks (using a fixed tick size of 0.01, typical for stocks) and then into USD using a customizable tick value.
10-Bar Moving Average:
Smooths out the wick values over the last 10 bars, giving you a clearer view of average wick behavior.
Bullish/Bearish Visual Cues:
The chart background automatically highlights bullish candles in green and bearish candles in red for quick visual assessment.
Stop Loss Optimization:
The indicator highlights long wick sizes, which can help you set more accurate stop loss levels. Even when the price moves in your favor, long wicks may indicate potential reversals—allowing you to account for this risk when planning your stop losses.
User-Friendly Customization:
Easily adjust the USD value per tick through the settings to tailor the indicator to your specific instrument.
📊 How It Works
Wick Calculation:
The indicator calculates the upper and lower wicks by measuring the distance between the candle’s high/low and its body (open/close).
Conversion to Ticks & USD:
These wick sizes are first converted from price points to ticks (dividing by a fixed tick size of 0.01) and then multiplied by the user-defined tick value to convert the measurement into USD.
Smoothing Data:
A 10-bar simple moving average is computed for both the upper and lower wick values, providing smoothed data that helps identify trends and deviations.
Visual Representation:
Columns display the raw wick sizes in USD.
Lines indicate the 10-bar moving averages.
Background Color shifts between green (bullish) and red (bearish) based on candle type.
⚡ How to Use
Add the Indicator:
Apply it to your chart to begin visualizing wick sizes in monetary terms.
Customize Settings:
Adjust the Tick Value in USD in the settings to match your instrument’s tick value.
(Note: The tick size is fixed at 0.01, which is standard for many stocks.)
Optimize Your Stop Loss:
Analyze the raw and averaged wick values to understand volatility. Long wicks—even when the price moves in your favor—may indicate potential reversals. This insight can help you set more accurate stop loss levels to protect your gains.
Analyze:
Use the indicator’s data to gauge market volatility and assess the significance of price movements, aiding in more informed trading decisions.
This indicator is perfect for traders looking to understand the impact of extreme price movements in monetary terms, optimize stop loss levels, and effectively manage risk across stocks and other instruments with similar tick structures.
Buy & Sell Zone IndicatorFeatures:
✅ Uses RSI, MACD, MA, EMA, BB, Fibonacci, and Support & Resistance
✅ Displays only Buy (Green) and Sell (Red) Zones
✅ No distractions – just clear zones for entry & exit
✅ Works on all time frames
Enhanced SPY Rhythm Formations Detector with Alerts//@version=6
indicator("Enhanced SPY Rhythm Formations Detector with Alerts", overlay=true)
// Inputs
maLength1 = input.int(50, title="EMA Length 1", minval=1)
maLength2 = input.int(200, title="EMA Length 2", minval=1)
shortMaLength1 = input.int(5, title="Short EMA Length 1", minval=1)
shortMaLength2 = input.int(10, title="Short EMA Length 2", minval=1)
shortMaLength3 = input.int(20, title="Short EMA Length 3", minval=1)
rsiLength = input.int(14, title="RSI Length", minval=1)
macdShort = input.int(12, title="MACD Short Length", minval=1)
macdLong = input.int(26, title="MACD Long Length", minval=1)
macdSignal = input.int(9, title="MACD Signal Length", minval=1)
atrLength = input.int(14, title="ATR Length", minval=1)
atrMultiplier = input.float(1.5, title="ATR Multiplier for Target Price", minval=0.1)
// Calculations
ma1 = ta.ema(close, maLength1)
ma2 = ta.ema(close, maLength2)
shortMa1 = ta.ema(close, shortMaLength1)
shortMa2 = ta.ema(close, shortMaLength2)
shortMa3 = ta.ema(close, shortMaLength3)
rsi = ta.rsi(close, rsiLength)
= ta.macd(close, macdShort, macdLong, macdSignal)
macdHist = macdLine - signalLine
atr = ta.atr(atrLength)
// Moving Average Crossovers
goldenCross = ta.crossover(ma1, ma2)
deathCross = ta.crossunder(ma1, ma2)
// Short MAs Crossovers
shortCross1 = ta.crossover(shortMa1, shortMa2)
shortCross2 = ta.crossover(shortMa2, shortMa3)
shortCross3 = ta.crossover(shortMa1, shortMa3)
shortCross1Down = ta.crossunder(shortMa1, shortMa2)
shortCross2Down = ta.crossunder(shortMa2, shortMa3)
shortCross3Down = ta.crossunder(shortMa1, shortMa3)
// RSI Divergence Detection
rsiHigh = ta.highest(rsi, 20)
rsiLow = ta.lowest(rsi, 20)
priceHigh = ta.highest(high, 20)
priceLow = ta.lowest(low, 20)
bearishDivergence = (high == priceHigh and rsi < rsiHigh)
bullishDivergence = (low == priceLow and rsi > rsiLow)
// MACD Histogram Zero Cross
macdZeroCrossUp = ta.crossover(macdHist, 0)
macdZeroCrossDown = ta.crossunder(macdHist, 0)
// Day Trading Signals
dayLongEntry = shortCross1 and rsi < 30
dayShortEntry = shortCross1Down and rsi > 70
// Swing Trading Signals
swingLongEntry = goldenCross and macdHist > 0
swingShortEntry = deathCross and macdHist < 0
// Next Bar Prediction
nextBarUp = close > open and close + (atr * atrMultiplier) > high
nextBarDown = close < open and close - (atr * atrMultiplier) < low
// Shaded Bar Shadow for Next Bar Prediction
bgcolor(nextBarUp ? color.new(color.green, 90) : na, title="Next Bar Up")
bgcolor(nextBarDown ? color.new(color.red, 90) : na, title="Next Bar Down")
// Blinking Alerts
var bool blink = false
blink := not blink
if (dayLongEntry)
label.new(bar_index, low, text="Day Long Entry", color=blink ? color.green : color.white, style=label.style_label_up, textcolor=color.black, size=size.small)
alert("Day Long Entry Signal Detected!", alert.freq_once_per_bar_close)
if (dayShortEntry)
label.new(bar_index, high, text="Day Short Entry", color=blink ? color.red : color.white, style=label.style_label_down, textcolor=color.black, size=size.small)
alert("Day Short Entry Signal Detected!", alert.freq_once_per_bar_close)
if (swingLongEntry)
label.new(bar_index, low, text="Swing Long Entry", color=blink ? color.blue : color.white, style=label.style_label_up, textcolor=color.black, size=size.small)
alert("Swing Long Entry Signal Detected!", alert.freq_once_per_bar_close)
if (swingShortEntry)
label.new(bar_index, high, text="Swing Short Entry", color=blink ? color.orange : color.white, style=label.style_label_down, textcolor=color.black, size=size.small)
alert("Swing Short Entry Signal Detected!", alert.freq_once_per_bar_close)
// Plotting
plot(ma1, color=color.blue, title="EMA Length 1 (50)")
plot(ma2, color=color.red, title="EMA Length 2 (200)")
plot(shortMa1, color=color.green, title="Short EMA Length 1 (5)")
plot(shortMa2, color=color.orange, title="Short EMA Length 2 (10)")
plot(shortMa3, color=color.purple, title="Short EMA Length 3 (20)")
Custom Bar Coloring_WKColor your bar display according to the relative positions comparing to SMA.
This is for WK layout.
Custom Bar Coloring_DailyColor your bar according to SMA. This is for daily layout.
Suggest to trade only when bar color=black or red.
High-Low Breakout StrategyIt enters a long position when the close price is greater than the previous high and enters a short position when the close price is lower than the previous low. It also includes exit conditions that close positions when the opposite condition is met.
Multi-Timeframe Heikin Ashi SMA5 LEDIndicator to show in a table if the Heikin Ashi bars of different timeframes are above or below the 5SMA (high or low). In case the HA bar is above the 5SMA (high, with 1 offset) the table is gonna show this timeframe in green, in case it's below the 5SMA (low, with 1 offset) the table is gonna show this timeframe in red, if it's between the two 5SMA it's gonna show the timeframe in white. Available timeframes: 1, 5, 15, 30, 60, 240, 1D, 1W, 1M.
Used for the Trading Made Easy strategy.
Bearish Engulfing on Swing High 5MIN - BY ARUN S WATWANIuse it on 5 min timeframe, after the alert you can go short, use it on swing top only not on bottom
Bullish Engulfing on Swing Low 5MIN - BY ARUN S WATWANIuse it on 5 min timeframe, after alert you can go long, use it on swing lows only not on top.
Dynamic 50% Indicator of the selected range!This is a indicator which shows you the 50% level of the selected timeframe range. This is a good tool because price tends to bounce of of 50% levels.
Introducing the 50% Range Level Indicator, designed for traders who seek accuracy and strategic insights in their market analysis. This tool calculates and visually displays the midpoint (50% level) of any selected price range, helping you identify key equilibrium zones where price action often reacts.
Why Use This Indicator?
Key Market Equilibrium – The 50% level is a crucial reference point where price often consolidates, reverses, or gathers momentum.
Custom Range Selection – Simply select your desired price range, and the indicator will dynamically plot the midpoint.
Enhance Your Trading Strategy – Use it for support & resistance confirmation, retracement analysis, or confluence with other indicators.
Works on All Timeframes & Assets – Suitable for stocks, forex, crypto, and indices.
Gain an Edge in the Market
Whether you’re a day trader, swing trader, or long-term investor, the 50% Range Level Indicator can enhance your technical analysis and decision-making.